Difference between revisions of "Template:Font color"

From LFS Manual
Jump to navigationJump to search
(a font color template taken from https://en.wikipedia.org/wiki/Template:Font_color - see there for how to use it)
 
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ {{{|safesubst:}}}#if: {{{text|{{{3|}}}}}}
+
[[Category:Deprecated templates]]
| {{ {{{|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}}}}}} }};">{{ trim | {{{text|{{{3|}}}}}} }}</span>]]
 
      }}
 
    | <span style="background-color:{{ trim | {{{bg|{{{2|inherit}}}}}} }}; color:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{text|{{{3|}}}}}} }}</span>
 
    }}
 
| {{ {{{|safesubst:}}}#if: {{{link|}}}
 
      | {{ {{{|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:{{ trim | {{{fg|{{{1|inherit}}}}}} }};">{{ trim | {{{bg|{{{2|}}}}}} }}</span>
 
  }}
 
}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 10:23, 24 January 2024