Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!

Template:Navbox: Difference between revisions

From SotA Wiki
Jump to navigation Jump to search
Gordias (talk | contribs)
mNo edit summary
Gordias (talk | contribs)
m removing cascading background, can be added in the future
Line 71: Line 71:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group2}}}
! style="white-space:nowrap;" {{!}} {{{group2}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list2}}}
{{{list2}}}
{{#if: {{{group3|}}}
{{#if: {{{group3|}}}
Line 81: Line 81:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group4}}}
! style="white-space:nowrap;" {{!}} {{{group4}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list4}}}
{{{list4}}}
{{#if: {{{group5|}}}
{{#if: {{{group5|}}}
Line 91: Line 91:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group6}}}
! style="white-space:nowrap;" {{!}} {{{group6}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list6}}}
{{{list6}}}
{{#if: {{{group7|}}}
{{#if: {{{group7|}}}
Line 101: Line 101:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group8}}}
! style="white-space:nowrap;" {{!}} {{{group8}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list8}}}
{{{list8}}}
{{#if: {{{group9|}}}
{{#if: {{{group9|}}}
Line 111: Line 111:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group10}}}
! style="white-space:nowrap;" {{!}} {{{group10}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list10}}}
{{{list10}}}
{{#if: {{{group11|}}}
{{#if: {{{group11|}}}
Line 121: Line 121:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group12}}}
! style="white-space:nowrap;" {{!}} {{{group12}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list12}}}
{{{list12}}}
{{#if: {{{group13|}}}
{{#if: {{{group13|}}}
Line 131: Line 131:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group14}}}
! style="white-space:nowrap;" {{!}} {{{group14}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list14}}}
{{{list14}}}
{{#if: {{{group15|}}}
{{#if: {{{group15|}}}
Line 141: Line 141:
| {{!}}-
| {{!}}-
! style="white-space:nowrap;" {{!}} {{{group16}}}
! style="white-space:nowrap;" {{!}} {{{group16}}}
{{!}} style="width:100%; background-color:#F2F2F2;" {{!}}
{{!}} style="width:100%;" {{!}}
{{{list16}}}
{{{list16}}}
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
|}</includeonly>
|}</includeonly>

Revision as of 09:07, 3 January 2014

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=[[SotA Wiki]] Help
|group1= [[SotAWiki:Getting Started|Getting Started]]
|list1= [[SotAWiki:Getting Started#How to edit a page|How to edit a page]] · [[SotAWiki:Getting Started#Creating your first article|Creating your first article]] · [[SotAWiki:Getting Started#Things to avoid|Things to avoid]]
|group2= [[SotAWiki:User Pages|User Pages]]
|list2= [[SotAWiki:User Pages#User talk pages|User talk pages]] · [[SotAWiki:User Pages#Userboxes|Userboxes]]
|group3= [[SotAWiki:Citations|Citations]]
|list3= [[SotAWiki:Citations#When to cite sources|When to cite sources]] · [[SotAWiki:Citations#How to cite sources|How to cite sources]] · [[SotAWiki:Citations#Adding external links|Adding external links]]
}}