Template:Font color: Difference between revisions
Jump to navigation
Jump to search
w:en>Cpiral (named parameters fg= bg= (like X11), and text=; remove spurious pipe in string {{{2||}}}; see /testcases) |
m (66 revisions imported) |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 2: | Line 2: | ||
| {{ {{{|safesubst:}}}#if: {{{link|}}} | | {{ {{{|safesubst:}}}#if: {{{link|}}} | ||
| {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | ||
| [[{{{text|{{{3|}}}}}}|<span style="background-color:{{{bg|{{{2|inherit}}}}}}; color:{{{fg|{{{1|inherit}}}}}};">{{{text|{{{3|}}}}}}</span>]] | | [[ {{ {{{|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:{{{bg|{{{2|inherit}}}}}}; color:{{{fg|{{{1|inherit}}}}}};">{{{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:{{{bg|{{{2|inherit}}}}}}; color:{{{fg|{{{1|inherit}}}}}};">{{{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:}}}#if: {{{link|}}} | ||
| {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | ||
| [[{{{bg|{{{2|}}}}}}|<span style="color:{{{fg|{{{1|inherit}}}}}};">{{{bg|{{{2|}}}}}}</span>]] | | [[ {{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }} |<span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span>]] | ||
| [[{{{link|}}}|<span style="color:{{{fg|{{{1|inherit}}}}}};">{{{bg|{{{2|}}}}}}</span>]] | | [[ {{ {{{|safesubst:}}}trim | {{{link|}}} }} |<span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span>]] | ||
}} | }} | ||
| <span style="color:{{{fg|{{{1|inherit}}}}}};">{{{bg|{{{2|}}}}}}</span> | | <span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span> | ||
}} | }} | ||
}} | }}<noinclude> | ||
<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:52, 25 June 2020
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}