Difference between revisions of "Template:TT"

From AlliedModders Wiki
Jump to: navigation, search
(Created page with "<includeonly><code style="color: #444; background-color: #f8f9fa; border: 1px solid #eaecf0; border-radius: 2px; padding: 1px 4px;">{{{1}}}</code></includeonly>")
 
m
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><code style="color: #444; background-color: #f8f9fa; border: 1px solid #eaecf0; border-radius: 2px; padding: 1px 4px;">{{{1}}}</code></includeonly>
+
<code style="color: {{{color|#444}}};
 +
            background-color: {{ #ifeq: {{{2}}} | nobg | inherit; | {{ #switch:{{{opt}}} | nobg = inherit; | #default = {{ #switch:{{{bgcolor}}} | none = inherit; | #default = {{{bgcolor|#f8f9fa}}}; }} }} }}
 +
            border: {{{border|1px solid #eaecf0}}};  
 +
            border-radius: {{{radius|2px}}};  
 +
            display: inline-block;
 +
            line-height: normal;
 +
            white-space: pre;
 +
            padding: {{ #switch:{{{opt}}} | large = 10px; | #default = {{ #switch:{{{boxsize}}} | large = 10px; | #default = {{{boxsize|0px 4px}}}; }} }}
 +
            ">{{ {{{|safesubst:}}}#if:{{{1|}}} | {{{1}}} | {{{text}}} }}</code>

Latest revision as of 09:12, 23 August 2018

{{{text}}}