[dismiss]
Welcome to SmashWiki! Log in or create an account and join the community, and don't forget to read this first! |
Notices |
---|
The Skill parameter has been removed from Smasher infoboxes, and in its place are the new "Best historical ranking" and "Best tournament result" parameters. SmashWiki needs help adding these new parameters to Smasher infoboxes, refer to the guidelines here for what should be included in these new parameters. |
When adding results to Smasher pages, include each tournament's entrant number in addition to the player's placement, and use the {{Trn}} template with the matching game specified. Please also fix old results on Smasher pages that do not abide to this standard. Refer to our Smasher article guidelines to see how results tables should be formatted. |
Check out our project page for ongoing projects that SmashWiki needs help with. |
Template:Color: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span {{#if:{{{class|}}}|class="{{{class}}}"}} style="color:{{{1}}}">{{{2}}}</span><noinclude> | <span {{#if:{{{class|}}}|class="{{{class}}}"}} style="color:{{{1|unset}}};{{#if:{{{dark|}}}|--darkcolor:{{{dark}}};}}">{{{2|}}}</span><noinclude> | ||
This template is to be used to make colored text. For example, <code><nowiki>{{Color|red|Do not vandalize pages, please.}}</nowiki></code> results in {{Color|red|Do not vandalize pages, please.}} | This template is to be used to make colored text. For example, <code><nowiki>{{Color|red|Do not vandalize pages, please.}}</nowiki></code> results in {{Color|red|Do not vandalize pages, please.}} | ||
An optional <code>dark</code> parameter can be used to define the text color in dark mode (if different), and an optional <code>class</code> parameter can be used to apply one or more CSS classes to the span element. | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 18:45, March 11, 2025
This template is to be used to make colored text. For example, {{Color|red|Do not vandalize pages, please.}}
results in Do not vandalize pages, please.
An optional dark
parameter can be used to define the text color in dark mode (if different), and an optional class
parameter can be used to apply one or more CSS classes to the span element.