Difference between revisions of "Template:Navbox small"
Jump to navigation
Jump to search
m |
m |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
; {{{title|Navigation}}}<nowiki>:</nowiki> | ; {{{title|Navigation}}}<nowiki>:</nowiki> | ||
| − | : {{if|test={{{page1|}}}|then=[[{{{parent|{{PAGENAME}}}}}/{{{page1}}} | + | :<!-- |
| − | }}{{if|test={{{page2|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page2}}} | + | -->{{if|test={{{page1|}}}|then=[[{{{parent|{{PAGENAME}}}}}/{{{page1}}}{{!}}{{{title1|page1}}}]]}}<!-- |
| − | }}{{if|test={{{page3|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page3}}} | + | -->{{if|test={{{page2|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page2}}}{{!}}{{{title2|page2}}}]]}}<!-- |
| − | }}{{if|test={{{page4|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page4}}} | + | -->{{if|test={{{page3|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page3}}}{{!}}{{{title3|page3}}}]]}}<!-- |
| − | }}{{if|test={{{page5|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page5}}} | + | -->{{if|test={{{page4|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page4}}}{{!}}{{{title4|page4}}}]]}}<!-- |
| − | }}{{if|test={{{page6|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page6}}} | + | -->{{if|test={{{page5|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page5}}}{{!}}{{{title5|page5}}}]]}}<!-- |
| − | }}{{if|test={{{page7|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page7}}} | + | -->{{if|test={{{page6|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page6}}}{{!}}{{{title6|page6}}}]]}}<!-- |
| − | }}{{if|test={{{page8|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page8}}} | + | -->{{if|test={{{page7|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page7}}}{{!}}{{{title7|page7}}}]]}}<!-- |
| − | }}{{if|test={{{page9|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page9}}} | + | -->{{if|test={{{page8|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page8}}}{{!}}{{{title8|page8}}}]]}}<!-- |
| − | }} | + | -->{{if|test={{{page9|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page9}}}{{!}}{{{title9|page9}}}]]}}<!-- |
| − | </includeonly> | + | --></includeonly> |
<noinclude> | <noinclude> | ||
Small navigation bar. Create from style [[Voidious]] use in sub-pages link. Currently support up to 9 links. | Small navigation bar. Create from style [[Voidious]] use in sub-pages link. Currently support up to 9 links. | ||
Revision as of 13:36, 25 April 2009
Small navigation bar. Create from style Voidious use in sub-pages link. Currently support up to 9 links.
Documentation
Usage
The infobox may be added by pasting the template as shown below into an article. None of the Parameters are required as of yet.
{{Infobox Robot
| title =
| parent =
| page1 =
| title1 =
| page2 =
| title2 =
...
}}
Parameters
| title | Title of navigation, default as 'Navigation'. |
| parent | Parent page, omit for current page |
| pageN | Suppage name, do not put the parrent page prefix. |
| titleN | Text to show for each suppage link. |
Please if anyone can write better documentation, current one is really really un-understandable (not very clear).