YellowWarningTriangle.png 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
(Removed 'Currently used in'(...) - all those pages have been proposed for deletion.)
 
(2 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}}}'''
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]]
 
 
==Usage==
 
==Usage==
 
<pre>{{Listbox|#339900|Allies|
 
<pre>{{Listbox|#339900|Allies|

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
  • Error creating thumbnail: Unable to save thumbnail to destination
    VIPs
  • Error creating thumbnail: Unable to save thumbnail to destination
    Food Rations
  • Error creating thumbnail: Unable to save thumbnail to destination
    Pharmaceuticals