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