Template:NavNamed
From UIT
(Difference between revisions)
(→Usage) |
(→Usage) |
||
Line 3: | Line 3: | ||
Copy following code and replace the text in ''italic'' with your desired wiki pages. If you don't declare one of the parameters, it will be replaced by a default link to the [[Main_Page|Main Page]]. | Copy following code and replace the text in ''italic'' with your desired wiki pages. If you don't declare one of the parameters, it will be replaced by a default link to the [[Main_Page|Main Page]]. | ||
− | <nowiki>{{navNamed|left=</nowiki>''page/to/the/left''<nowiki>|left_name=</nowiki>''name of the page/to/the/left''<nowiki>|up=</nowiki>''parent''<nowiki>|up_name=</nowiki>''parent name''<nowiki>|right=</nowiki>'' | + | <nowiki>{{navNamed|left=</nowiki>''page/to/the/left''<nowiki>|left_name=</nowiki>''name of the page/to/the/left''<nowiki>|up=</nowiki>''parent''<nowiki>|up_name=</nowiki>''parent name''<nowiki>|right=</nowiki>''page/to/the/right''<nowiki>|right_name=</nowiki>''name of the page/to/the/right''<nowiki>}}</nowiki> |
This will result in a navigation frame like this: | This will result in a navigation frame like this: |
Latest revision as of 11:07, 3 December 2012
Usage
Copy following code and replace the text in italic with your desired wiki pages. If you don't declare one of the parameters, it will be replaced by a default link to the Main Page.
{{navNamed|left=page/to/the/left|left_name=name of the page/to/the/left|up=parent|up_name=parent name|right=page/to/the/right|right_name=name of the page/to/the/right}}
This will result in a navigation frame like this: