Template:Navbox: Difference between revisions
mNo edit summary |
|||
Line 4: | Line 4: | ||
{{!}} style="width:200px;font-weight:bold; background-color: {{{titlebg|#eee}}}; padding-left: 1em; padding-right: 1em;" {{!}} {{{title|title}}} | {{!}} style="width:200px;font-weight:bold; background-color: {{{titlebg|#eee}}}; padding-left: 1em; padding-right: 1em;" {{!}} {{{title|title}}} | ||
{{!}} {{{content|content}}} | {{!}} {{{content|content}}} | ||
{{{extra| | {{{extra| | ||
{{!}}} | {{!}}} | ||
Line 14: | Line 11: | ||
{{!}} style="width:200px;font-weight:bold; background-color: {{{titlebg|#eee}}}; padding-left: 1em; padding-right: 1em;" {{!}} {{{title|title}}} | {{!}} style="width:200px;font-weight:bold; background-color: {{{titlebg|#eee}}}; padding-left: 1em; padding-right: 1em;" {{!}} {{{title|title}}} | ||
{{!}} {{{content|content}}} | {{!}} {{{content|content}}} | ||
{{{extra| | {{{extra| | ||
{{!}}} | {{!}}} | ||
Line 25: | Line 19: | ||
|titlebg=#00f | |titlebg=#00f | ||
|title=1 | |title=1 | ||
|content=This works fine for | |content=This works fine for one row, but if you.. | ||
|extra={{Navbox|0|titlebg=#f00|title=2|content=..add another navbox template in with '0' for the first parameter.. | |||
|extra={{Navbox|0|titlebg=#0f0|title=3|content=it allows you to add more.}}}}}}</pre><br><br>{{Navbox|1 | |||
|extra={{Navbox|0|titlebg=#f00|title= | |||
|name=Navbox | |name=Navbox | ||
|mainbg=#ccf | |mainbg=#ccf | ||
|main=test navbox | |main=test navbox | ||
|titlebg=#00f | |titlebg=#00f | ||
|title= | |title=test1 | ||
|content=This works fine for | |content=This works fine for one row, but if you.. | ||
|extra={{Navbox|0|titlebg=#f00|title=test2|content=..add another navbox template in with '0' for the first parameter.. | |||
|extra={{Navbox|0|titlebg=#0f0|title=test3|content=it allows you to add more.}}}}}}<br><br><br><br>Navbox templates:<br> | |||
|extra={{Navbox|0|titlebg=#f00|title= | |||
* [[Template:Navbox/Consumables]] | * [[Template:Navbox/Consumables]] | ||
* [[Template:Navbox/Weapons]] | * [[Template:Navbox/Weapons]] |
Revision as of 18:27, 15 June 2011
{{Navbox|1 |name=Navbox |mainbg=#ccf |main=test navbox |titlebg=#00f |title=1 |content=This works fine for one row, but if you.. |extra={{Navbox|0|titlebg=#f00|title=2|content=..add another navbox template in with '0' for the first parameter.. |extra={{Navbox|0|titlebg=#0f0|title=3|content=it allows you to add more.}}}}}}
v • d • etest navbox | |
---|---|
test1 | This works fine for one row, but if you.. |
test2 | ..add another navbox template in with '0' for the first parameter.. |
test3 | it allows you to add more. |
Navbox templates: