This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Listbox"
From Discovery Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
<noinclude><!--</noinclude> | <noinclude><!--</noinclude> | ||
− | {| style="float: left; margin-bottom: 10px; margin-left: 1em; width: 25%; border: 1px solid {{{1}}};" cellpadding="3" | + | {| style="float: {{#if: {{{4|}}} | {{{4}}} | left }}; margin-bottom: 10px; margin-left: 1em; width: 25%; border: 1px solid {{{1}}};" cellpadding="3" |
|- | |- | ||
| style="text-align: center; font-size: larger; background: {{{1}}}; color: #ffffff;" |'''{{{2}}}''' | | style="text-align: center; font-size: larger; background: {{{1}}}; color: #ffffff;" |'''{{{2}}}''' | ||
Line 12: | Line 12: | ||
*specify a color in any form; #hex, color, rgb. | *specify a color in any form; #hex, color, rgb. | ||
*specify a title | *specify a title | ||
− | <pre>{{Listbox|color|title|information}}</pre> | + | <pre>{{Listbox|color|title|information|float [optional]}}</pre> |
Currently used in [[Template:Allies]], [[Template:Enemies]], [[Template:Bought]], [[Template:Sold]] | Currently used in [[Template:Allies]], [[Template:Enemies]], [[Template:Bought]], [[Template:Sold]] | ||
==Usage== | ==Usage== |
Revision as of 10:11, 4 February 2010
This template allows you to
- specify a color in any form; #hex, color, rgb.
- specify a title
{{Listbox|color|title|information|float [optional]}}
Currently used in Template:Allies, Template:Enemies, Template:Bought, Template:Sold
Usage
{{Listbox|#339900|Allies| *[[Liberty Police]] *[[Liberty Navy]] *Civilians }}{{Listbox|#990000|Enemies| *[[Outcasts]] *[[Lane Hackers]] *[[Liberty Rogues]] }}{{Listbox|#FF8000|Bought| *[[Image:BCgreen.jpg]] [[VIPs]] *[[Image:BCyellow.jpg]] [[Food Rations]] *[[Image:BCred.jpg]] [[Pharmaceuticals]] }} <br clear="left">
Result
Allies |
|
Enemies |
Bought |
|