User:Xaymar/Templates/Navigation
From Guild Wars 2 Wiki
< User:Xaymar | Templates
Jump to navigationJump to search
The 'Navigation' Template allows you to create your own sub menus for pages you own or edit. It works by using the ParserFunctions Extension and consists currently out of three parts that have to be combine to make a menu. While mainly aimed to be used within the namespace User:Xaymar, you may use these for your own page, as the GNU License states.
Parts[edit]
Open[edit]
This opens the menu bar and if not closed by the Close template will severely break the page.
{{:User:Xaymar/Templates/Navigation/Open}}
Close[edit]
This closes the menu bar, to stop the opened elements from crashing the style for the page.
{{:User:Xaymar/Templates/Navigation/Close}}
Tab[edit]
Represents a tab in the menu bar and has two parameters, the url you are linking to - Page - and the name of the url - Name -.
{{:User:Xaymar/Templates/Navigation/Tab|Page=|Name=}}
Examples[edit]
Linking to sub pages of you[edit]
{{:User:Xaymar/Templates/Navigation/Open}} {{:User:Xaymar/Templates/Navigation/Tab|User:Xaymar|Home}} {{:User:Xaymar/Templates/Navigation/Tab|User_Talk:Xaymar|Talk}} {{:User:Xaymar/Templates/Navigation/Tab|Special:Contributions/Xaymar|Contributions}} {{:User:Xaymar/Templates/Navigation/Close}}