Difference between revisions of "Template:Font color"

From media_wiki
Jump to: navigation, search
(Created page with "<includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly><noinclude> <!-- Add categories and interwikis to the /doc subpage, not here! --> {...")
 
 
Line 1: Line 1:
<includeonly><span style="color: {{#if:{{{1|}}}|{{{1}}}|red}};">{{{2}}}</span></includeonly><noinclude>
+
{{ {{{|safesubst:}}}#if: {{{text|{{{3|}}}}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
| {{ {{{|safesubst:}}}#if: {{{link|}}}
{{Documentation}}</noinclude>
+
      | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes
 +
      | [[ {{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}|<span style="background-color:{{ {{{|safesubst:}}}trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}</span>]]
 +
      | [[{{{link|}}}|<span style="background-color:{{ {{{|safesubst:}}}trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}</span>]]
 +
      }}
 +
    | <span style="background-color:{{ {{{|safesubst:}}}trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}</span>
 +
    }}
 +
| {{ {{{|safesubst:}}}#if: {{{link|}}}
 +
      | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes
 +
      | [[ {{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }} |<span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span>]]
 +
      | [[ {{ {{{|safesubst:}}}trim | {{{link|}}} }} |<span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span>]]
 +
    }}
 +
  | <span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span>
 +
  }}
 +
}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 03:32, 22 March 2019

{{ safesubst:#if:

| {{ safesubst:#if: 
     | {{ safesubst:#ifeq:  | yes
     | [[ {{ safesubst:#if:1|  }}|{{ safesubst:#if:1|  }}]]
     | [[|{{ safesubst:#if:1|  }}]]
     }}
   | {{ safesubst:#if:1|  }}
   }}
| {{ safesubst:#if: 
     | {{ safesubst:#ifeq:  | yes
     | [[ {{ safesubst:#if:1|  }} |{{ safesubst:#if:1|  }}]]
     | [[ {{ safesubst:#if:1|  }} |{{ safesubst:#if:1|  }}]]
   }}
 | {{ safesubst:#if:1|  }}
 }}

}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}