Template:Font color: Difference between revisions

update from sandbox
w:en>DeltaQuad
(Reverted to revision 488795760 by AGK (talk): Rv per bug: http://imgur.com/IumaFfx. (TW))
w:en>Gadget850
(update from sandbox)
Line 1: Line 1:
{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<noinclude>
{{ {{{|safesubst:}}}#if: {{{3|}}}<!--
 
--  Three parameters --
<!-- Add categories and interwikis to the /doc subpage, not here! -->
--> | {{#if: {{{link|}}}
{{Documentation}}</noinclude>
      | {{#ifeq: {{{link|}}} | yes
      | [[{{{3|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{3|}}}</span>]]
      | [[{{{link|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{3|}}}</span>]]
      }}
    | <span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{3|}}}</span>
    }}<!--
--  Two parameters --
--> | {{#if: {{{link|}}}
      | {{#ifeq: {{{link|}}} | yes
      | [[{{{2|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{2|}}}</span>]]
      | [[{{{link|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{2|}}}</span>]]
    }}
  | <span style="color:{{{1|inherit}}};">{{{2|}}}</span>
  }}
}}
Anonymous user