Difference between revisions of "Template:Quotebox"
From Paragon Wiki Archive
(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=" | + | {|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
{{{name}}} {{{source}}}: {{{text}}} |