Template:Font color: Difference between revisions
Jump to navigation
Jump to search
wp>Plastikspork TFD closed as do not merge (using TFDcloser) |
imported>GKFX Use #if:trim rather than trim for WP:PEIS, and use <includeonly> rather than the {{{|safesubst:}}} trick for readability. |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly>{{ safesubst:#if: {{{text|{{{3|}}}}}} | ||
| {{ | | {{ safesubst:#if: {{{link|}}} | ||
| {{ | | {{ safesubst:#ifeq: {{{link|}}} | yes | ||
| [[ {{ | | [[ {{ safesubst:#if:trim | {{{text|{{{3|}}}}}} }}|<span style="background-color:{{ safesubst:#if:trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ safesubst:#if:trim | {{{fg|{{{1|inherit}}}}}} }};">{{ safesubst:#if:trim | {{{text|{{{3|}}}}}} }}</span>]] | ||
| [[{{{link|}}}|<span style="background-color:{{ | | [[{{{link|}}}|<span style="background-color:{{ safesubst:#if:trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ safesubst:#if:trim | {{{fg|{{{1|inherit}}}}}} }};">{{ safesubst:#if:trim | {{{text|{{{3|}}}}}} }}</span>]] | ||
}} | }} | ||
| <span style="background-color:{{ | | <span style="background-color:{{ safesubst:#if:trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ safesubst:#if:trim | {{{fg|{{{1|inherit}}}}}} }};">{{ safesubst:#if:trim | {{{text|{{{3|}}}}}} }}</span> | ||
}} | }} | ||
| {{ | | {{ safesubst:#if: {{{link|}}} | ||
| {{ | | {{ safesubst:#ifeq: {{{link|}}} | yes | ||
| [[ {{ | | [[ {{ safesubst:#if:trim | {{{bg|{{{2|}}}}}} }} |<span style="color:{{ safesubst:#if:trim | {{{fg|{{{1|inherit}}}}}} }};">{{ safesubst:#if:trim | {{{bg|{{{2|}}}}}} }}</span>]] | ||
| [[ {{ | | [[ {{ safesubst:#if:trim | {{{link|}}} }} |<span style="color:{{ safesubst:#if:trim | {{{fg|{{{1|inherit}}}}}} }};">{{ safesubst:#if:trim | {{{bg|{{{2|}}}}}} }}</span>]] | ||
}} | }} | ||
| <span style="color:{{ | | <span style="color:{{ safesubst:#if:trim | {{{fg|{{{1|inherit}}}}}} }};">{{ safesubst:#if:trim | {{{bg|{{{2|}}}}}} }}</span> | ||
}} | }} | ||
}}<noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |