Difference between revisions of "Template:Navbox"

From UnderWiki
Jump to navigation Jump to search
(Created page with "<noinclude>{{tocright}} == Purpose == This template is the main template to be used on navigation boxes. == Usage == {| style="background:transparent; border:none;" |<pre> {...")
 
Line 61: Line 61:
 
|}
 
|}
 
[[Category:Navigation templates]]
 
[[Category:Navigation templates]]
</noinclude><includeonly>{| class="navbox collapsible nowraplinks"
+
</noinclude><includeonly>{| class="wikitable navbox collapsible nowraplinks"
|+ {{{title}}}
+
|+ align="center" | '''{{{title}}}'''
 
|-
 
|-
 
{{#if: {{{group1|}}}
 
{{#if: {{{group1|}}}

Revision as of 12:48, 9 April 2015

Purpose

This template is the main template to be used on navigation boxes.

Usage

{{Navbox
|title=
|group1=
|list1=
|group2=
|list2=
...
|group10=
|list10=
}}

Parameters

Parameter Explanation
title Text that appears centered in the top row of the describing the body contents or template's topic.
groupn Text that appears in a cell left of listn.
listn A list of links grouped by groupn.


Example

{{Navbox
|title=[[UnderWiki]] Help
|group1= [[UnderWiki:Getting Started|Getting Started]]
|list1= [[UnderWiki:Getting Started#How to edit a page|How to edit a page]] · [[UnderWiki:Getting Started#Creating your first article|Creating your first article]] · [[UnderWiki:Getting Started#Things to avoid|Things to avoid]]
|group2= [[UnderWiki:User Pages|User Pages]]
|list2= [[UnderWiki:User Pages#User talk pages|User talk pages]] · [[UnderWiki:User Pages#Userboxes|Userboxes]]
|group3= [[UnderWiki:Citations|Citations]]
|list3= [[UnderWiki:Citations#When to cite sources|When to cite sources]] · [[UnderWiki:Citations#How to cite sources|How to cite sources]] · [[UnderWiki:Citations#Adding external links|Adding external links]]
}}