Template:BuffNerfCellBg: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Protected "Template:BuffNerfCellBg": Protecting high-use templates ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
m (Text replacement - "== ([^=])" to "== $1")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}|buff=background:rgba(0,255,0,0.25);|nerf=background:rgba(255,0,0,0.25);|change=background:rgba(0,0,255,0.25);}}<noinclude>==Usage==
{{#switch:{{{1|}}}|buff=background:rgba(0,255,0,0.25);|nerf=background:rgba(255,0,0,0.25);|change=background:rgba(0,0,255,0.25);}}<noinclude>
 
==Usage==
This template is for colouring table cells based on the {{t|buff}}/{{t|nerf}}/{{t|change}} paradigm. Feed it one of those three words and it supplies a background element of matching colour for placing inside a <code>style=""</code>.
This template is for colouring table cells based on the {{t|buff}}/{{t|nerf}}/{{t|change}} paradigm. Feed it one of those three words and it supplies a background element of matching colour for placing inside a <code>style=""</code>.


[[Category:Meta-templates]]</noinclude>
[[Category:Meta-templates]]</noinclude>

Latest revision as of 02:22, April 13, 2022

Usage

This template is for colouring table cells based on the {{buff}}/{{nerf}}/{{change}} paradigm. Feed it one of those three words and it supplies a background element of matching colour for placing inside a style="".