Difference between revisions of "Template:Navbox small"
Jump to navigation
Jump to search
(small navbox template) |
m |
||
Line 1: | Line 1: | ||
− | ; {{{title|Navigation}}}: | + | <includeonly> |
− | : {{if|test={{{page1|}}}|then=[[{{{ | + | ; {{{title|Navigation}}}<nowiki>:</nowiki> |
− | }} | + | : {{if|test={{{page1|}}}|then=[[{{{parent|{{PAGENAME}}}}}/{{{page1}}}{{if|test={{{title1|}}}|then={{!}}{{{title1}}}}}]] |
− | }} | + | }}{{if|test={{{page2|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page2}}}{{if|test={{{title2|}}}|then={{!}}{{{title2}}}}}]] |
− | }} | + | }}{{if|test={{{page3|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page3}}}{{if|test={{{title3|}}}|then={{!}}{{{title3}}}}}]] |
− | }} | + | }}{{if|test={{{page4|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page4}}}{{if|test={{{title4|}}}|then={{!}}{{{title4}}}}}]] |
− | }} | + | }}{{if|test={{{page5|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page5}}}{{if|test={{{title5|}}}|then={{!}}{{{title5}}}}}]] |
− | }} | + | }}{{if|test={{{page6|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page6}}}{{if|test={{{title6|}}}|then={{!}}{{{title6}}}}}]] |
− | }} | + | }}{{if|test={{{page7|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page7}}}{{if|test={{{title7|}}}|then={{!}}{{{title7}}}}}]] |
− | }} | + | }}{{if|test={{{page8|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page8}}}{{if|test={{{title8|}}}|then={{!}}{{{title8}}}}}]] |
+ | }}{{if|test={{{page9|}}}|then= - [[{{{parent|{{PAGENAME}}}}}/{{{page9}}}{{if|test={{{title9|}}}|then={{!}}{{{title9}}}}}]] | ||
}} | }} | ||
+ | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | Small navigation bar. | + | Small navigation bar. Create from style [[Voidious]] use in sub-pages link. Currently support up to 9 links. |
+ | |||
+ | <br style="clear:both" /> | ||
+ | <div style="padding: 0px 5px 0px 5px; border: 1px solid #aaa; margin-bottom: 1ex; background-color: #EFE"> | ||
+ | <div style="line-height: 0px; font-size: 140%; border-bottom: 1px solid black; padding: 0 0 0 0; margin-bottom: 0 0 0 0;"> | ||
+ | '''Documentation''' | ||
+ | </div> | ||
+ | === 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. | ||
+ | |||
+ | <div style="width:250px; background:#dddddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;"> | ||
+ | <pre>{{Infobox Robot | ||
+ | | title = | ||
+ | | parent = | ||
+ | | page1 = | ||
+ | | title1 = | ||
+ | | page2 = | ||
+ | | title2 = | ||
+ | ... | ||
+ | }}</pre> | ||
+ | </div> | ||
+ | |||
+ | === Parameters === | ||
+ | {| style="font-size: 80%; border-collapse: collapse; border-left: 10px solid white; border-right: 10px solid white; outline: 1px solid #aaa; margin-bottom: 5px;" | ||
+ | |- | ||
+ | | style="width: 18%" | 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).'' | ||
+ | </div> | ||
</noinclude> | </noinclude> |
Revision as of 13:31, 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).