Template:Font color: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>SiBr4
(Safesubsting all parser functions)
w:en>John of Reading
(Fixed two problems, see talk page. (1) Misuse of parameter {{{2}}} in two lines, (2) Comments broke the logic when used in signatures)
Line 1: Line 1:
{{ {{{|safesubst:}}}#if: {{{3|}}}<!--
{{ {{{|safesubst:}}}#if: {{{3|}}}
-- Three parameters --
  | {{ {{{|safesubst:}}}#if: {{{link|}}}
--> | {{ {{{|safesubst:}}}#if: {{{link|}}}
       | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes
       | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes
       | [[{{{3|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{3|}}}</span>]]
       | [[{{{3|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{3|}}}</span>]]
Line 7: Line 6:
       }}
       }}
     | <span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{3|}}}</span>
     | <span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{3|}}}</span>
     }}<!--
     }}
-- Two parameters --
  | {{ {{{|safesubst:}}}#if: {{{link|}}}
--> | {{ {{{|safesubst:}}}#if: {{{link|}}}
       | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes
       | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes
       | [[{{{2|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{2|}}}</span>]]
       | [[{{{2|}}}|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>]]
       | [[{{{link|}}}|<span style="background-color:{{{2|inherit}}}; color:{{{1|inherit}}};">{{{2|}}}</span>]]
       | [[{{{link|}}}|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>]]
     }}
     }}
   | <span style="color:{{{1|inherit}}};">{{{2|}}}</span>
   | <span style="color:{{{1|inherit}}};">{{{2|}}}</span>

Revision as of 00:19, 16 December 2014

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