Template:Infobox/TeamEx: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
(Updated to replace "|imageless = 1" with "|image = none" parameter)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
}}<span class="tagTab" style="display: none; padding: 2px; margin-right: 2px; cursor: default; border-width: 1px 3px 1px 3px; border-style: solid; border-radius: 4px; font-size: 12px; border-color: rgba({{{color}}}, 0.5); background-color: rgba({{{color}}}, 0.2); outline-color: rgba({{{color}}}, 0.3); ">{{#if:{{{title|}}}|{{{title}}}|{{{game}}}}}&#8203;</span>
}}<span class="tagTab" style="display: none; padding: 2px; margin-right: 2px; cursor: default; border-width: 1px 3px 1px 3px; border-style: solid; border-radius: 4px; font-size: 12px; border-color: rgba({{{color}}}, 0.5); background-color: rgba({{{color}}}, 0.2); outline-color: rgba({{{color}}}, 0.3); ">{{#if:{{{title|}}}|{{{title}}}|{{{game}}}}}&#8203;</span>
{{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
{{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
{{#if:{{{imageless}}}|<div style="text-align: center; margin: 8px;"></div>|[[File:{{#if:{{{image|}}}|{{{image}}}|{{#switch:{{{game|}}}
{{#ifeq:{{{image|}}}|none|<div style="text-align: center; margin: 8px;"></div>|[[File:{{#if:{{{image|}}}|{{{image}}}|{{#switch:{{{game|}}}
|Splatoon  = S
|Splatoon  = S
|Splatoon 2 = S2
|Splatoon 2 = S2

Latest revision as of 15:04, 9 April 2024

Displays an infobox for a team. This template is a proxy that pre-evaluates parameters for Infobox/Team.