Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Quotebox"

From Paragon Wiki Archive
Jump to: navigation, search
(need to explicitly use parameter 1= on {{small}} since its value may include an equals sign)
(reworking #if to #switch for easier future extension; also moving rest of related styling inside for clarity)
Line 1: Line 1:
{|style="background: #{{#ifeq:{{{style}}}|dev|F4DADA; border: 1px solid #000000;|F4F4F4; border: 1px solid #000000;}} width:100%; text-align: left; margin: 0.5em;"
+
{|style="{{#switch:{{{style}}}
 +
|dev=background: #F4DADA; border: 1px solid #000000;
 +
|#default=background: #F4F4F4; border: 1px solid #000000;
 +
}} width:100%; text-align: left; margin: 0.5em;"
 
|- align=left
 
|- align=left
 
|style="width: 45px;" valign=top|{{#ifeq:{{{style}}}|dev|[[File:Chatballoon-Dev.png]]|[[File:Chatballoon.png]]}}
 
|style="width: 45px;" valign=top|{{#ifeq:{{{style}}}|dev|[[File:Chatballoon-Dev.png]]|[[File:Chatballoon.png]]}}
 
|'''{{{name}}}''' ''{{small|1={{{source}}}}}'':<br />{{{text}}}
 
|'''{{{name}}}''' ''{{small|1={{{source}}}}}'':<br />{{{text}}}
 
|}<noinclude>[[Category:Editors Tags Templates]]</noinclude>
 
|}<noinclude>[[Category:Editors Tags Templates]]</noinclude>

Revision as of 14:15, 24 July 2012

Chatballoon.png {{{name}}} {{{source}}}:
{{{text}}}