Template talk:Attributes: Difference between revisions

Line 58: Line 58:
:I think if this version is used there should be a "game" parameter. The idea is that this could be used in a switch statement that would then assign a variable with the number of fighters in that game. This would remove the need for the "cast" parameter and prevent the need to edit 80+ pages when a new fighter is released. Something along the lines of <code><nowiki>{{#vardefine:cast|#switch: {{{game|}}}|SSB|64=12|SSBM|Melee=26|SSBB|Brawl=39|...}}</nowiki></code>. Fighter pages would still need to be updated with new fighter additions, however only those whose rank changed would need it instead of every fighter. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 10:49, February 6, 2021 (EST)
:I think if this version is used there should be a "game" parameter. The idea is that this could be used in a switch statement that would then assign a variable with the number of fighters in that game. This would remove the need for the "cast" parameter and prevent the need to edit 80+ pages when a new fighter is released. Something along the lines of <code><nowiki>{{#vardefine:cast|#switch: {{{game|}}}|SSB|64=12|SSBM|Melee=26|SSBB|Brawl=39|...}}</nowiki></code>. Fighter pages would still need to be updated with new fighter additions, however only those whose rank changed would need it instead of every fighter. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 10:49, February 6, 2021 (EST)
::I just noticed that Serpent King's version does just that. I'm a little confused on why a subpage was agreed upon. Looking at the Bulbapedia argument, the information on their subpages are still on the mainpage. I can easily see Nymbare's being slotted at the top of a fighter's attribute section. I think if SK's had the headers for "character (SSBX)" and "ground attributes" it would be a lot thinner and would also fit in an attribute section. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 12:54, February 6, 2021 (EST)
::I just noticed that Serpent King's version does just that. I'm a little confused on why a subpage was agreed upon. Looking at the Bulbapedia argument, the information on their subpages are still on the mainpage. I can easily see Nymbare's being slotted at the top of a fighter's attribute section. I think if SK's had the headers for "character (SSBX)" and "ground attributes" it would be a lot thinner and would also fit in an attribute section. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 12:54, February 6, 2021 (EST)
:::I put together a [https://cdn.discordapp.com/attachments/432023433287696395/807674494079991858/attrTempTest.png preview of what I was thinking]. Top two are simply at the top of the section with a modification to SK's design, displayed on a 1024-wide monitor. Next two are on a 1920-wide monitor with an additional <code>float:right</code> attribute. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 13:15, February 6, 2021 (EST)
32,570

edits