Difference between revisions of "Template:Navbox"

From UnderWiki
Jump to navigation Jump to search
Line 61: Line 61:
 
|}
 
|}
 
[[Category:Navigation templates]]
 
[[Category:Navigation templates]]
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>{| class="wikitable" style="width:100%"
 
|+ {{{title}}}
 
|+ {{{title}}}
 
|-
 
|-

Revision as of 12:50, 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]]
}}
UnderWiki Help
Getting Started

How to edit a page · Creating your first article · Things to avoid

User Pages

User talk pages · Userboxes

Citations

When to cite sources · How to cite sources · Adding external links