Template:FontColor: Difference between revisions

From Atomix
mNo edit summary
mNo edit summary
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
'''fg:''' {{{fg|}}}
'''bg:''' {{{bg|}}}
'''text:''' {{{text|}}}
{{#if: {{{fg|}}} | | {{{fg|black}}}}}
{{#if: {{{fg|}}} | | {{{fg|black}}}}}
<span style="color:{{{fg|}}}; background:{{{bg|}}}">{{{text|}}}</span>
<span style="color:{{{fg|}}}; background:{{{bg|}}}">{{{text|}}}</span>

Revision as of 15:32, 15 December 2021

This is the "FontColor" template. It should be called in the following format:

{{FontColor
|fg=
|bg=
|text=
}}

Edit the page to see the template text.