Template:Quotebox: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(need to explicitly use parameter 1= on {{small}} since its value may include an equals sign)
imported>Sekoia (historical)
(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}}}