Difference between revisions of "Template:Navbar (AL)/doc"

From Exiled Kingdoms Wiki
Jump to: navigation, search
(Created page with "== Description == This template generates various elements of a navigation bar (intended to be displayed at the top of a page). == Usage == <pre> {{Navbar (AL)|<element>|<par...")
 
 
Line 13: Line 13:
 
<tr><td>Section</td><td>Displays a navbar element with the name of a section.</td><td><parameter 1> = section name (does not link)</td><td>{{Navbar (AL)|Section|Quests}}</td></tr>
 
<tr><td>Section</td><td>Displays a navbar element with the name of a section.</td><td><parameter 1> = section name (does not link)</td><td>{{Navbar (AL)|Section|Quests}}</td></tr>
 
<tr><td>Page</td><td>Displays a navbar element with a link to an internal page.</td><td><parameter 1> = pagename (links automatically); <parameter 2> = link text (optional, otherwise pagename is displayed)</td><td>{{Navbar (AL)|Page|Quests by Type (AL)|Quests by Type}}</td></tr>
 
<tr><td>Page</td><td>Displays a navbar element with a link to an internal page.</td><td><parameter 1> = pagename (links automatically); <parameter 2> = link text (optional, otherwise pagename is displayed)</td><td>{{Navbar (AL)|Page|Quests by Type (AL)|Quests by Type}}</td></tr>
<tr><td>End</td><td>Displays a closing navbar element.</td><td>none</td><td>{{Navbar (AL)|End}}</td></tr>
+
<tr><td>Divider</td><td>Displays a dividing element to visually separate individual page links.</td><td>none</td><td>{{Navbar (AL)|Divider}}</td></tr>
 
</table>
 
</table>

Latest revision as of 20:22, 13 February 2020

Description

This template generates various elements of a navigation bar (intended to be displayed at the top of a page).

Usage

{{Navbar (AL)|<element>|<parameter 1>|<parameter 2>}}

Element types

ElementDescriptionParametersExample output
GameDisplays a navbar element with just the name of the game.noneArchaelund
SectionDisplays a navbar element with the name of a section.<parameter 1> = section name (does not link)Quests ❯
PageDisplays a navbar element with a link to an internal page.<parameter 1> = pagename (links automatically); <parameter 2> = link text (optional, otherwise pagename is displayed)Quests by Type
DividerDisplays a dividing element to visually separate individual page links.none