Template:Footer: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="footer" style="display:flex;flex-wrap:wrap;justify-content:space-evenly">{{#fornumargs:key|value|<div style="margin:0 5px">{{#var:value}}</div>}}</div></includeonly><noinclude>
<includeonly><div class="footer" style="display:flex;flex-wrap:wrap;justify-content:space-evenly">{{#fornumargs:key|value|{{#ifexpr:{{#var:key}} mod 2|<div style="margin:0 5px"><span style="font-weight:bold">{{#switch:{{#var:value}}
This template is used to format navigation template footers. Each numbered parameter is a footnote.
|*=<nowiki>*</nowiki>
|**=<nowiki>**</nowiki>
|***=<nowiki>***</nowiki>
|****=<nowiki>****</nowiki>
|*****=<nowiki>*****</nowiki>
|#####=<nowiki>#####</nowiki>
|####=<nowiki>####</nowiki>
|###=<nowiki>###</nowiki>
|##=<nowiki>##</nowiki>
|#=<nowiki>#</nowiki>
|{{#var:value}}
}}</span> {{{{{#expr:{{#var:key}}+1}}|}}}</div>}}}}</div></includeonly><noinclude>
This template is used to format [[MarioWiki:Navigation templates|navbox template]] footer notes.


[[Category:Navigation templates| ]]</noinclude>
The first parameter is the symbol and the second is the text. This pattern can be repeated for any number of items.
 
To make a note without a symbol, just leave the preceding parameter blank, e.g. <code><nowiki>{{footer||Note goes here}}</nowiki></code>.
 
[[Category:Navbox subtemplates]]</noinclude>