Site notice |
---|
Welcome! Please check To-Do List to see what pages need help, who is working on what, etc.
|
Difference between revisions of "Template:Weapon cell"
From Mega Man Wiki
Vellidragon (talk | contribs) (This should probably have a default value so it doesn't just retain the previous instance's colours.) |
Vellidragon (talk | contribs) m (Wild Coil, not Spring Coil.) |
||
Line 74: | Line 74: | ||
| Junk Shield = {{#vardefine:bg|525A94}} {{#vardefine:text|9CC6DE}} | | Junk Shield = {{#vardefine:bg|525A94}} {{#vardefine:text|9CC6DE}} | ||
| Danger Wrap = {{#vardefine:bg|BD6B18}} {{#vardefine:text|E7E7D6}} | | Danger Wrap = {{#vardefine:bg|BD6B18}} {{#vardefine:text|E7E7D6}} | ||
| | | Wild Coil = {{#vardefine:bg|CE5ACE}} {{#vardefine:text|31D642}} | ||
| Slash Claw = {{#vardefine:bg|29B521}} {{#vardefine:text|EFBD39}} | | Slash Claw = {{#vardefine:bg|29B521}} {{#vardefine:text|EFBD39}} | ||
| Scorch Wheel = {{#vardefine:bg|CE2118}} {{#vardefine:text|A5A5A5}} | | Scorch Wheel = {{#vardefine:bg|CE2118}} {{#vardefine:text|A5A5A5}} | ||
Line 112: | Line 112: | ||
| N/A | | N/A | ||
| #default = {{#vardefine:bg|EEEEEE}} {{#vardefine:text| | | #default = {{#vardefine:bg|EEEEEE}} {{#vardefine:text|333333}} | ||
}} | }} | ||
|{{#if:{{{2|}}}|rowspan="{{{2|}}}"}} style="background-color:#{{#var:bg}}"|[[{{{1|{{FULLPAGENAME}}}}}|<span style="color:#{{#var:text}}">'''{{{1|N/A}}}'''</span>]]<noinclude>{{doc}}[[Category:Classic era templates]][[Category:X era templates]][[Category:Cell templates]]</noinclude> | |{{#if:{{{2|}}}|rowspan="{{{2|}}}"}} style="background-color:#{{#var:bg}}"|[[{{{1|{{FULLPAGENAME}}}}}|<span style="color:#{{#var:text}}">'''{{{1|N/A}}}'''</span>]]<noinclude>{{doc}}[[Category:Classic era templates]][[Category:X era templates]][[Category:Cell templates]]</noinclude> |
Revision as of 22:03, 12 June 2021
| style="background-color:#EEEEEE"|N/A
Documentation
Creates a pre-formatted table cell that contains a bold link to a weapon article and uses that weapon's colours for the cell background and text colour. Note that the first | is included.
Has two parameters: the name of the weapon, followed by an optional rowspan value.
{| class="wikitable" {{Weapon cell|Leaf Shield}} |}
Results in
Leaf Shield |
With rowspan:
{| class="wikitable" {{Weapon cell|Leaf Shield|2}} |Row 1 |- |Row 2 |}
Results in
Leaf Shield | Row 1 |
Row 2 |