Template:Infobox/TeamEx: Difference between revisions
From Inkipedia, the Splatoon wiki
Wmyttmlimvty (talk | contribs) (Updated for ''Splatoon 3''. Verified on my sandbox before updating) |
Wmyttmlimvty (talk | contribs) (Added "|image = disable" parameter to hide the default red link in case a team doesn't / doesn't want to have an image. Verified on my sandbox before updating) |
||
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}}}}}​</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}}}}}​</span> | ||
{{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} | {{InfoboxTitle|color={{{color}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} | ||
[[File:{{#if:{{{image|}}}|{{{image}}}|{{#switch:{{{game|}}} | {{#if:{{{image|disable}}}|<div style="text-align: center; margin: 8px;"></div>|[[File:{{#if:{{{image|}}}|{{{image}}}|{{#switch:{{{game|}}} | ||
|Splatoon = S | |Splatoon = S | ||
|Splatoon 2 = S2 | |Splatoon 2 = S2 | ||
|Splatoon 3 = S3 | |Splatoon 3 = S3 | ||
|#default = S | |#default = S | ||
}}_Team_{{{name}}}.png}}|200px|{{{name}}}]] | }}_Team_{{{name}}}.png}}|200px|{{{name}}}]]}} | ||
{| style="border-spacing: 4px; text-align: left;" | {| style="border-spacing: 4px; text-align: left;" | ||
{{Infobox/Property|color={{{color|}}}|Location|{{{location}}}}} | {{Infobox/Property|color={{{color|}}}|Location|{{{location}}}}} |
Revision as of 14:24, 6 April 2024
Displays an infobox for a team. This template is a proxy that pre-evaluates parameters for Infobox/Team.