Template:Font color: Difference between revisions
Enwikipedia>Sl No edit summary |
m (65 revisions imported: fixing lua errors) |
||
(61 intermediate revisions by 31 users not shown) | |||
Line 1: | Line 1: | ||
{{ {{{|safesubst:}}}#if: {{{text|{{{3|}}}}}} |
|||
{{#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}<noinclude> |
|||
| {{ {{{|safesubst:}}}#if: {{{link|}}} |
|||
Example of use: |
|||
| {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes |
|||
*<nowiki>{{fontcolor|green|green text}}</nowiki>:{{fontcolor|green|green text}} |
|||
| [[ {{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}|<span style="background-color:{{ {{{|safesubst:}}}trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}</span>]] |
|||
*<nowiki>{{fontcolor||red|red background}}</nowiki>:{{fontcolor||red|red background}} |
|||
| [[{{{link|}}}|<span style="background-color:{{ {{{|safesubst:}}}trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}</span>]] |
|||
*<nowiki>{{fontcolor|blue|yellow|blue text with yellow background}}</nowiki>:{{fontcolor|blue|yellow|blue text with yellow background}} |
|||
}} |
|||
[[Category:Wikipedia templates|Fontcolor]] |
|||
| <span style="background-color:{{ {{{|safesubst:}}}trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{text|{{{3|}}}}}} }}</span> |
|||
[[zh:Template:Fontcolor]] |
|||
}} |
|||
| {{ {{{|safesubst:}}}#if: {{{link|}}} |
|||
| {{ {{{|safesubst:}}}#ifeq: {{{link|}}} | yes |
|||
| [[ {{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }} |<span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span>]] |
|||
| [[ {{ {{{|safesubst:}}}trim | {{{link|}}} }} |<span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span>]] |
|||
}} |
|||
| <span style="color:{{ {{{|safesubst:}}}trim | {{{fg|{{{1|inherit}}}}}} }};">{{ {{{|safesubst:}}}trim | {{{bg|{{{2|}}}}}} }}</span> |
|||
}} |
|||
}}<noinclude> |
|||
{{documentation}} |
|||
</noinclude> |
</noinclude> |