Template:Infobox/Brand: Difference between revisions

From Inkipedia, the Splatoon wiki
m (ToGameCode -> GameShortened)
m (Migrating to full game names)
Line 2: Line 2:
<div class="infobox {{#if:{{{color|}}}|{{GameShortened|{{{color}}}|default=}}}}">
<div class="infobox {{#if:{{{color|}}}|{{GameShortened|{{{color}}}|default=}}}}">
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
<div class="infobox-image" style="padding: 12px 0;">[[File:{{{imagesource}}}_Brand_{{{name|{{PAGENAME}}}}}.png|64x64px|{{{name|{{PAGENAME}}}}}]]</div>
<div class="infobox-image" style="padding: 12px 0;">[[File:{{GameShortened|{{{imagesource}}}}}_Brand_{{{name|{{PAGENAME}}}}}.png|64x64px|{{{name|{{PAGENAME}}}}}]]</div>
<div class="infobox-table">{{
<div class="infobox-table">{{
#if:{{{game1|}}}|<div class="infobox-label-game">{{FromGameCode|{{{game1}}}}}</div>
#if:{{{game1|}}}|<div class="infobox-label-game">{{{game1}}}</div>
}}<div class="infobox-label">Likely ability</div><div>{{#if:{{{likely1|}}}|{{Ability|{{{game1|{{{imagesource}}}}}}|{{{likely1}}}}}|Neutral}}</div>
}}<div class="infobox-label">Likely ability</div><div>{{#if:{{{likely1|}}}|{{Ability|{{GameShortened|{{{game1|{{{imagesource}}}}}}}}|{{{likely1}}}}}|Neutral}}</div>
<div class="infobox-label">Unlikely ability</div><div>{{#if:{{{unlikely1|}}}|{{Ability|{{{game1|{{{imagesource}}}}}}|{{{unlikely1}}}}}|Neutral}}</div>{{
<div class="infobox-label">Unlikely ability</div><div>{{#if:{{{unlikely1|}}}|{{Ability|{{GameShortened|{{{game1|{{{imagesource}}}}}}}}|{{{unlikely1}}}}}|Neutral}}</div>{{
#if:{{{game2|}}}|<div class="infobox-label-game">{{FromGameCode|{{{game2}}}}}</div>{{
#if:{{{game2|}}}|<div class="infobox-label-game">{{{game2}}}</div>{{
#if:{{{likely2|}}}|<div class="infobox-label">Likely ability</div><div>{{Ability|{{{game2}}}|{{{likely2}}}}}</div>}}{{
#if:{{{likely2|}}}|<div class="infobox-label">Likely ability</div><div>{{Ability|{{GameShortened|{{{game2}}}}}|{{{likely2}}}}}</div>}}{{
#if:{{{unlikely2|}}}|<div class="infobox-label">Unlikely ability</div><div>{{Ability|{{{game2}}}|{{{unlikely2}}}}}</div>}}}}{{
#if:{{{unlikely2|}}}|<div class="infobox-label">Unlikely ability</div><div>{{Ability|{{GameShortened|{{{game2}}}}}|{{{unlikely2}}}}}</div>}}}}{{
#if:{{{game3|}}}|<div class="infobox-label-game">{{FromGameCode|{{{game3}}}}}</div>{{
#if:{{{game3|}}}|<div class="infobox-label-game">{{{game3}}}</div>{{
#if:{{{likely3|}}}|<div class="infobox-label">Likely ability</div><div>{{Ability|{{{game3}}}|{{{likely3}}}}}</div>}}{{
#if:{{{likely3|}}}|<div class="infobox-label">Likely ability</div><div>{{Ability|{{GameShortened|{{{game3}}}}}|{{{likely3}}}}}</div>}}{{
#if:{{{unlikely3|}}}|<div class="infobox-label">Unlikely ability</div><div>{{Ability|{{{game3}}}|{{{unlikely3}}}}}</div>}}}}
#if:{{{unlikely3|}}}|<div class="infobox-label">Unlikely ability</div><div>{{Ability|{{GameShortened|{{{game3}}}}}|{{{unlikely3}}}}}</div>}}}}
</div>
</div>
</div>
</div>
Line 21: Line 21:
{|
{|
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>color</code>||Optional.||The game the brand belongs to. The specified game is use to determine the base color for formatting. If absent, a generic blue color will be used.
|<code>color</code>||Optional.||The name of the game the brand belongs to. The specified game is use to determine the base color for formatting. If absent, a generic blue color will be used.
|- style="vertical-align: top;"
|<code>style</code>||Optional.||A list of CSS values to apply to the outermost container of the infobox.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>name</code>||Optional.||The English name of the brand. If absent, the page name will be used.
|<code>name</code>||Optional.||The English name of the brand. If absent, the page name will be used.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>imagesource</code>||Required.||The game code for the latest game that the brand appears in. Codes include "S" for ''Splatoon'', "S2" for ''Splatoon 2'', "S3" for ''Splatoon 3''. This will be used to display the latest versions of brand logos and ability icons.
|<code>imagesource</code>||Required.||The name of the latest game that the brand appears in. This will be used to display the latest versions of brand logos and ability icons.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>game1</code>||Required.||The game code for the first game that the brand appears in. Codes include "S" for ''Splatoon'', "S2" for ''Splatoon 2'', "S3" for ''Splatoon 3''. This will be used to display the ability icon associated with that game.
|<code>game1</code>||Optional.||The name of the first game that the brand appears in.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>likely1</code>||Optional.||Likely ability for this brand. If no ability exists, do not specify one, and "Neutral" will be displayed.
|<code>likely1</code>||Optional.||The name of the likely ability for this brand. If no ability exists, do not specify one, and "Neutral" will be displayed.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>unlikely1</code>||Optional.||Unlikely ability for this brand. If no ability exists, do not specify one, and "Neutral" will be displayed.
|<code>unlikely1</code>||Optional.||The name of the unlikely ability for this brand. If no ability exists, do not specify one, and "Neutral" will be displayed.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>game2</code>||Optional.||The game code for the second game that the brand appears in. Codes include "S" for ''Splatoon'', "S2" for ''Splatoon 2'', "S3" for ''Splatoon 3''. This will be used to display the ability icon associated with that game.
|<code>game2</code>||Optional.||The name of the second game that the brand appears in, if any.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>likely2</code>||Optional.||Likely ability for this brand in the second game it appears in. It is not necessary to use this parameter if the favored abilities are the same for both games the brand appears in.
|<code>likely2</code>||Optional.||The name of the likely ability for this brand in the second game it appears in.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>unlikely2</code>||Optional.||Unlikely ability for this brand in the second game it appears in. It is not necessary to use this parameter if the unfavored abilities are the same for both games the brand appears in.
|<code>unlikely2</code>||Optional.||The name of the unlikely ability for this brand in the second game it appears in.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>game3</code>||Optional.||The game code for the third game that the brand appears in. game2 must be specified for this to have an effect. Codes include "S3" for ''Splatoon 3''. This will be used to display the ability icon associated with that game.
|<code>game3</code>||Optional.||The name of the third game that the brand appears in, if any.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>likely3</code>||Optional.||Likely ability for this brand in the third game it appears in. It is not necessary to use this parameter if the favored abilities are the same for all games the brand appears in.
|<code>likely3</code>||Optional.||The name of the likely ability for this brand in the third game it appears in.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>unlikely3</code>||Optional.||Unlikely ability for this brand in the third game it appears in. It is not necessary to use this parameter if the unfavored abilities are the same for all games the brand appears in.
|<code>unlikely3</code>||Optional.||The name of the unlikely ability for this brand in the third game it appears in.
|}
|}


Line 52: Line 50:
{{InfoboxBrand
{{InfoboxBrand
|name        = Forge
|name        = Forge
|imagesource = S2
|imagesource = Splatoon 2
|game1      = S
|game1      = Splatoon
|likely1    = Special Duration Up
|likely1    = Special Duration Up
|unlikely1  = Ink Saver (Sub)
|unlikely1  = Ink Saver (Sub)
|game2      = S2
|game2      = Splatoon 2
|likely2    = Special Power Up
|likely2    = Special Power Up
|unlikely2  = Ink Saver (Sub)
|unlikely2  = Ink Saver (Sub)
|game3      = S3
|game3      = Splatoon 3
|likely3    = Ink Saver (Main)
|likely3    = Ink Saver (Main)
|unlikely3  = Ink Saver (Sub)
|unlikely3  = Ink Saver (Sub)
Line 66: Line 64:
<pre style="border: none; display: inline-block;"><nowiki>{{InfoboxBrand
<pre style="border: none; display: inline-block;"><nowiki>{{InfoboxBrand
|name        = Forge
|name        = Forge
|imagesource = S2
|imagesource = Splatoon 2
|game1      = S
|game1      = Splatoon
|likely1    = Special Duration Up
|likely1    = Special Duration Up
|unlikely1  = Ink Saver (Sub)
|unlikely1  = Ink Saver (Sub)
|game2      = S2
|game2      = Splatoon 2
|likely2    = Special Power Up
|likely2    = Special Power Up
|unlikely2  = Ink Saver (Sub)
|unlikely2  = Ink Saver (Sub)
|game3      = S3
|game3      = Splatoon 3
|likely3    = Ink Saver (Main)
|likely3    = Ink Saver (Main)
|unlikely3  = Ink Saver (Sub)
|unlikely3  = Ink Saver (Sub)
Line 82: Line 80:
{{InfoboxBrand
{{InfoboxBrand
|name        = Forge
|name        = Forge
|imagesource = S
|imagesource = Splatoon
|game1      = S
|game1      = Splatoon
|likely1    = Special Duration Up
|likely1    = Special Duration Up
|unlikely1  = Ink Saver (Sub)
|unlikely1  = Ink Saver (Sub)
|game2      = S3
|game2      = Splatoon 3
|likely2    = Special Power Up
|likely2    = Special Power Up
|unlikely2  = Ink Saver (Sub)
|unlikely2  = Ink Saver (Sub)
Line 93: Line 91:
<pre style="border: none; display: inline-block;"><nowiki>{{InfoboxBrand
<pre style="border: none; display: inline-block;"><nowiki>{{InfoboxBrand
|name        = Forge
|name        = Forge
|imagesource = S
|imagesource = Splatoon
|game1      = S
|game1      = Splatoon
|likely1    = Special Duration Up
|likely1    = Special Duration Up
|unlikely1  = Ink Saver (Sub)
|unlikely1  = Ink Saver (Sub)
|game2      = S3
|game2      = Splatoon 3
|likely2    = Special Power Up
|likely2    = Special Power Up
|unlikely2  = Ink Saver (Sub)
|unlikely2  = Ink Saver (Sub)
Line 106: Line 104:
{{InfoboxBrand
{{InfoboxBrand
|name        = Rockenberg
|name        = Rockenberg
|imagesource = S2
|imagesource = Splatoon 2
|likely1    = Run Speed Up
|likely1    = Run Speed Up
|unlikely1  = Swim Speed Up
|unlikely1  = Swim Speed Up
Line 113: Line 111:
<pre style="border: none; display: inline-block;"><nowiki>{{InfoboxBrand
<pre style="border: none; display: inline-block;"><nowiki>{{InfoboxBrand
|name        = Rockenberg
|name        = Rockenberg
|imagesource = S2
|imagesource = Splatoon 2
|likely1    = Run Speed Up
|likely1    = Run Speed Up
|unlikely1  = Swim Speed Up
|unlikely1  = Swim Speed Up
Line 123: Line 121:
|color      = Splatoon
|color      = Splatoon
|name        = Famitsu
|name        = Famitsu
|imagesource = S
|imagesource = Splatoon
}}
}}
A brand found only in ''Splatoon''.
A brand found only in ''Splatoon''.
Line 129: Line 127:
|color      = Splatoon
|color      = Splatoon
|name        = Famitsu
|name        = Famitsu
|imagesource = S
|imagesource = Splatoon
}}</nowiki></pre>
}}</nowiki></pre>
{{clr}}
{{clr}}
Line 137: Line 135:
|color      = Splatoon 2
|color      = Splatoon 2
|name        = Toni Kensa
|name        = Toni Kensa
|imagesource = S2
|imagesource = Splatoon 2
|likely1    = Cold-Blooded
|likely1    = Cold-Blooded
|unlikely1  = Sub Power Up
|unlikely1  = Sub Power Up
Line 145: Line 143:
|color      = Splatoon 2
|color      = Splatoon 2
|name        = Toni Kensa
|name        = Toni Kensa
|imagesource = S2
|imagesource = Splatoon 2
|likely1    = Cold-Blooded
|likely1    = Cold-Blooded
|unlikely1  = Sub Power Up
|unlikely1  = Sub Power Up
Line 155: Line 153:
|color      = Splatoon 3
|color      = Splatoon 3
|name        = Emberz
|name        = Emberz
|imagesource = S3
|imagesource = Splatoon 3
|likely1    = Intensify Action
|likely1    = Intensify Action
|unlikely1  = Special Charge Up
|unlikely1  = Special Charge Up
Line 163: Line 161:
|color      = Splatoon 3
|color      = Splatoon 3
|name        = Emberz
|name        = Emberz
|imagesource = S3
|imagesource = Splatoon 3
|likely1    = Intensify Action
|likely1    = Intensify Action
|unlikely1  = Special Charge Up
|unlikely1  = Special Charge Up

Revision as of 18:26, 7 September 2022

Displays an infobox for a brand.

Parameters

color Optional. The name of the game the brand belongs to. The specified game is use to determine the base color for formatting. If absent, a generic blue color will be used.
name Optional. The English name of the brand. If absent, the page name will be used.
imagesource Required. The name of the latest game that the brand appears in. This will be used to display the latest versions of brand logos and ability icons.
game1 Optional. The name of the first game that the brand appears in.
likely1 Optional. The name of the likely ability for this brand. If no ability exists, do not specify one, and "Neutral" will be displayed.
unlikely1 Optional. The name of the unlikely ability for this brand. If no ability exists, do not specify one, and "Neutral" will be displayed.
game2 Optional. The name of the second game that the brand appears in, if any.
likely2 Optional. The name of the likely ability for this brand in the second game it appears in.
unlikely2 Optional. The name of the unlikely ability for this brand in the second game it appears in.
game3 Optional. The name of the third game that the brand appears in, if any.
likely3 Optional. The name of the likely ability for this brand in the third game it appears in.
unlikely3 Optional. The name of the unlikely ability for this brand in the third game it appears in.

Examples

Example 1

Template:InfoboxBrand A brand found in three games that has a different ability configuration for each game.

{{InfoboxBrand
|name        = Forge
|imagesource = Splatoon 2
|game1       = Splatoon
|likely1     = Special Duration Up
|unlikely1   = Ink Saver (Sub)
|game2       = Splatoon 2
|likely2     = Special Power Up
|unlikely2   = Ink Saver (Sub)
|game3       = Splatoon 3
|likely3     = Ink Saver (Main)
|unlikely3   = Ink Saver (Sub)
}}

Example 2

Template:InfoboxBrand A brand found in Splatoon 1 and Splatoon 3 that has a different ability configuration for each game.

{{InfoboxBrand
|name        = Forge
|imagesource = Splatoon
|game1       = Splatoon
|likely1     = Special Duration Up
|unlikely1   = Ink Saver (Sub)
|game2       = Splatoon 3
|likely2     = Special Power Up
|unlikely2   = Ink Saver (Sub)
}}

Example 3

Template:InfoboxBrand A brand found in two games that has the same ability configuration in both games.

{{InfoboxBrand
|name        = Rockenberg
|imagesource = Splatoon 2
|likely1     = Run Speed Up
|unlikely1   = Swim Speed Up
}}

Example 4

Template:InfoboxBrand A brand found only in Splatoon.

{{InfoboxBrand
|color       = Splatoon
|name        = Famitsu
|imagesource = Splatoon
}}

Example 5

Template:InfoboxBrand A brand found only in Splatoon 2.

{{InfoboxBrand
|color       = Splatoon 2
|name        = Toni Kensa
|imagesource = Splatoon 2
|likely1     = Cold-Blooded
|unlikely1   = Sub Power Up
}}

Example 6

Template:InfoboxBrand A brand found only in Splatoon 3.

{{InfoboxBrand
|color       = Splatoon 3
|name        = Emberz
|imagesource = Splatoon 3
|likely1     = Intensify Action
|unlikely1   = Special Charge Up
}}