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 search (New template Idea) |
(Removed 'Currently used in'(...) - all those pages have been proposed for deletion.) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 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}}}''' | ||
|- | |- | ||
− | | | + | | style="padding-bottom: 7px;" | |
{{{3}}} | {{{3}}} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
--> | --> | ||
− | + | This template allows you to | |
+ | *specify a color in any form; #hex, color, rgb. | ||
+ | *specify a title | ||
+ | <pre>{{Listbox|color|title|information|float [optional]}}</pre> | ||
==Usage== | ==Usage== | ||
<pre>{{Listbox|#339900|Allies| | <pre>{{Listbox|#339900|Allies| | ||
*[[Liberty Police]] | *[[Liberty Police]] | ||
*[[Liberty Navy]] | *[[Liberty Navy]] | ||
− | *Civilians | + | *Civilians |
− | }} | + | }}{{Listbox|#990000|Enemies| |
− | {{Listbox|#990000|Enemies| | ||
*[[Outcasts]] | *[[Outcasts]] | ||
*[[Lane Hackers]] | *[[Lane Hackers]] | ||
*[[Liberty Rogues]] | *[[Liberty Rogues]] | ||
− | }} | + | }}{{Listbox|#FF8000|Bought| |
− | {{Listbox|#FF8000|Bought| | ||
*[[Image:BCgreen.jpg]] [[VIPs]] | *[[Image:BCgreen.jpg]] [[VIPs]] | ||
*[[Image:BCyellow.jpg]] [[Food Rations]] | *[[Image:BCyellow.jpg]] [[Food Rations]] | ||
*[[Image:BCred.jpg]] [[Pharmaceuticals]] | *[[Image:BCred.jpg]] [[Pharmaceuticals]] | ||
}} | }} | ||
− | + | <br clear="left"></pre> | |
− | |||
− | |||
− | |||
− | |||
==Result== | ==Result== | ||
Line 36: | Line 33: | ||
*[[Liberty Police]] | *[[Liberty Police]] | ||
*[[Liberty Navy]] | *[[Liberty Navy]] | ||
− | *Civilians | + | *Civilians |
− | }} | + | }}{{Listbox|#990000|Enemies| |
− | {{Listbox|#990000|Enemies| | ||
*[[Outcasts]] | *[[Outcasts]] | ||
*[[Lane Hackers]] | *[[Lane Hackers]] | ||
*[[Liberty Rogues]] | *[[Liberty Rogues]] | ||
− | }} | + | }}{{Listbox|#FF8000|Bought| |
− | {{Listbox|#FF8000|Bought| | ||
*[[Image:BCgreen.jpg]] [[VIPs]] | *[[Image:BCgreen.jpg]] [[VIPs]] | ||
*[[Image:BCyellow.jpg]] [[Food Rations]] | *[[Image:BCyellow.jpg]] [[Food Rations]] | ||
*[[Image:BCred.jpg]] [[Pharmaceuticals]] | *[[Image:BCred.jpg]] [[Pharmaceuticals]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
<br clear="left"> | <br clear="left"> |
Latest revision as of 04:08, 17 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]}}
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 |
|