Template:Font color: Difference between revisions
No edit summary |
(Created page with "{{ {{{|safesubst:}}}#if: {{{text|{{{3|}}}}}} | {{ {{{|safesubst:}}}#if: {{{link|}}} | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | [[ {{ trim | {{{text|{{{3|}}}}}} }}|<span style="background-color:{{ trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{text|{{{3|}}}}}} }}</span>]] | {{{link|}}}|<span style="background-color:{{ trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};"...") |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
| {{ {{{|safesubst:}}}#if: {{{link|}}} | | {{ {{{|safesubst:}}}#if: {{{link|}}} | ||
| {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | ||
| [[ {{ | | [[ {{ trim | {{{text|{{{3|}}}}}} }}|<span style="background-color:{{ trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{text|{{{3|}}}}}} }}</span>]] | ||
| [[{{{link|}}}|<span style="background-color:{{ | | [[{{{link|}}}|<span style="background-color:{{ trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{text|{{{3|}}}}}} }}</span>]] | ||
}} | }} | ||
| <span style="background-color:{{ | | <span style="background-color:{{ trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{text|{{{3|}}}}}} }}</span> | ||
}} | }} | ||
| {{ {{{|safesubst:}}}#if: {{{link|}}} | | {{ {{{|safesubst:}}}#if: {{{link|}}} | ||
| {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | | {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes | ||
| [[ {{ | | [[ {{ trim | {{{bg|{{{2|}}}}}} }} |<span style="color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{bg|{{{2|}}}}}} }}</span>]] | ||
| [[ {{ | | [[ {{ trim | {{{link|}}} }} |<span style="color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{bg|{{{2|}}}}}} }}</span>]] | ||
}} | }} | ||
| <span style="color:{{ | | <span style="color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{bg|{{{2|}}}}}} }}</span> | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
| Line 31: | Line 31: | ||
</nowiki></code> | </nowiki></code> | ||
#: {{Font color|blue|yellow|This is blue text with yellow highlighting.}} | #: {{Font color|blue|yellow|This is blue text with yellow highlighting.}} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:15, 25 March 2025
Usage[edit source]
- Text color:
{{Font color|blue|This is blue text.}}- This is blue text.
- Highlighting:
{{Font color||yellow|This is text with yellow highlighting.}}- This is text with yellow highlighting.
- Text color with highlighting:
{{Font color|blue|yellow|This is blue text with yellow highlighting.}}- This is blue text with yellow highlighting.