Template talk:InfoKeyKHUX: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 40: Line 40:
{{!}}width="18%" style="background:#666666; vertical-align:middle"{{!}}{{#switch:{{{SlotE0|}}}|Power=[[File:Power icon KHX.png|30px|Power]]|Speed=[[File:Speed icon KHX.png|30px|Speed]]|Magic=[[File:Magic icon KHX.png|30px|Magic]]|All=[[File:Power, Speed & Magic icon KHX.png|30px|Power]]|#default=<font color=white>'''No Bonus'''</font>}}
{{!}}width="18%" style="background:#666666; vertical-align:middle"{{!}}{{#switch:{{{SlotE0|}}}|Power=[[File:Power icon KHX.png|30px|Power]]|Speed=[[File:Speed icon KHX.png|30px|Speed]]|Magic=[[File:Magic icon KHX.png|30px|Magic]]|All=[[File:Power, Speed & Magic icon KHX.png|30px|Power]]|#default=<font color=white>'''No Bonus'''</font>}}
</pre>
</pre>
::Come up with a different option, based on khunchainedxwiki: [[User:KrytenKoro/KHXKeyblade]]. Basically, ejecting the long stat tables from the infobox, and putting them instead next to the recipes, which they are so closely tied with anyway. I know we usually put all the stats in the infobox, but considering that KHX is such a different system and we've struggled to fit it into our normal paradigm, I think looking outside the box is reasonable.{{User:KrytenKoro/Sig}} 13:12, 6 May 2016 (UTC)

Revision as of 13:12, 6 May 2016

How's this for resolving the disparity between image and stats?"We're werewolves, not swearwolves." (KrytenKoro) 19:09, 11 April 2016 (UTC)

I tried the same thing at first, but I think it doesn't look good. The stat table is smaller than the infobox itself, and this makes the infobox bigger than the other ones, which causes text shifting when changing tabs. TheSilentHero 20:34, 11 April 2016 (UTC)
We could easily revise the widths to prevent text shifting, though, and this resolves having conflicting keychain images and the weirdness of having the base image within the +21 tab."We're werewolves, not swearwolves." (KrytenKoro) 21:48, 11 April 2016 (UTC)
I modified the template so you can choose which and how many images to display per tab. This way we can only show the upgrades that match the stats. Does that make it better? TheSilentHero 17:06, 12 April 2016 (UTC)
It helps a little bit, but one of the problems I was trying to fix was the Keychain disparity."We're werewolves, not swearwolves." (KrytenKoro) 20:09, 12 April 2016 (UTC)
The Keychains don't bother me that much. They're not really adding anything to the infobox, so we could also remove them. I would like to hear what others think, though. TheSilentHero 20:31, 12 April 2016 (UTC)
It looks better now. I don't care that much about the Keychains either, avoiding that every stat stable of every Keyblade has a different length is more important to me. --ShardofTruth 20:58, 12 April 2016 (UTC)
Whatever porple did makes my version look better as well. Take a look at it in the edit preview and tell me what you think. If we're not going to separate it, then I'd prefer that we modify the keyblade infoboxes so that keychains are either tabbed with the keyblade as in image (like we do with khx enemy sprites), or removed from it entirely and put in the gallery."We're werewolves, not swearwolves." (KrytenKoro) 00:40, 13 April 2016 (UTC)
It does look better, though it still looks a bit "weird" to me. I moved the Keychains into the image tab. If that doesn't look good either, I think we should just remove them from the infobox. I don't think we need to put them in a gallery, since they're still used in the KHX tab. TheSilentHero 12:16, 13 April 2016 (UTC)
It really doesn't. How about this -- especially since the special attack gauges and slots available are so closely linked to the form of the Keyblade, would it be possible to have everything in the table between one upgrade and the next be conditional for the Keyblade's name? The special gauges bit definitely seems like it should be done attached to the upgrade, above the stats by level, unless those mechanics change drastically later. (If so, shouldn't it be on the row with each level?)"We're werewolves, not swearwolves." (KrytenKoro) 20:06, 23 April 2016 (UTC)

Basically, putting this with modifications as a switch parser in the appropriate locations for each Keyblade:

</div><div class="tabbertab" title="Base">
{| class="infobox" style="float: right; border:solid 2px #000080; border-radius: 10px; text-align:center; margin-left:10px;" align="center" width="250px"
|-
|colspan="7" style="background:gold; border-top-right-radius:0.5em; border-top-left-radius:0.5em;"|{{#ifexist:File:{{{name|}}} Keychain (Base) KHX.png|<nowiki/>[[File:{{{name|}}} Keychain (Base) KHX.png|left|{{{chainsize|50x50px}}}]]}}{{#if:{{{keychain|}}}|[[File:{{{keychain|}}}|left|{{{chainsize|50x50px}}}]]}}<small>'''''[[Kingdom Hearts Unchained χ]]'''''</small>{{#ifexist:File:{{{name|}}} Keychain (Base) KHX.png|<nowiki/>[[File:{{{name|}}} Keychain (Base) KHX.png|right|{{{chainsize|50x50px}}}]]}}{{#if:{{{keychain|}}}|[[File:{{{keychain|}}}|right|{{{chainsize|50x50px}}}]]}}<br>'''{{{name|}}}'''
|-
|colspan="7"|[[File:{{{image|{{{name}}} (Base) KHX.png}}}|{{{size| }}}|{{PAGENAME}}]]{{#if:{{{desc|}}}|<br><small>''"{{{desc|}}}"''</small>}}
|-
{{#if:{{{katakana|}}}|<nowiki/>
{{!}}colspan="3" style="background:#666666"{{!}}<font color=white>'''Katakana'''</font>
{{!}}colspan="4" style="background:#ECECEC"{{!}}{{{katakana|}}}}}
|-
{{#if:{{{romaji|}}}|<nowiki/>
{{!}}colspan="3" style="background:#666666"{{!}}<font color=white>'''Rōmaji'''</font>
{{!}}colspan="4" style="background:#ECECEC"{{!}}''{{{romaji|}}}''}}
|-
{{#if:{{{japname|}}}|<nowiki/>
{{!}}colspan="3" style="background:#666666"{{!}}<font color=white>'''Japanese'''</font>
{{!}}colspan="4" style="background:#ECECEC"{{!}}{{{japname|}}}}}
{{!}}-
{{!}}colspan="7" style="background:#666666"{{!}}<font color=white>'''Base Stats'''</font>
{{!}}-
{{!}}width="10%" style="background:#666666"{{!}}
{{!}}colspan="2" width="18%" style="background:#666666; vertical-align:middle"{{!}}{{#switch:{{{SlotA0|}}}|Power=[[File:Power icon KHX.png|30px|Power]]|Speed=[[File:Speed icon KHX.png|30px|Speed]]|Magic=[[File:Magic icon KHX.png|30px|Magic]]|All=[[File:Power, Speed & Magic icon KHX.png|30px|Power]]|#default=<font color=white>'''No Bonus'''</font>}}
{{!}}width="18%" style="background:#666666; vertical-align:middle"{{!}}{{#switch:{{{SlotB0|}}}|Power=[[File:Power icon KHX.png|30px|Power]]|Speed=[[File:Speed icon KHX.png|30px|Speed]]|Magic=[[File:Magic icon KHX.png|30px|Magic]]|All=[[File:Power, Speed & Magic icon KHX.png|30px|Power]]|#default=<font color=white>'''No Bonus'''</font>}}
{{!}}width="18%" style="background:#666666; vertical-align:middle"{{!}}{{#switch:{{{SlotC0|}}}|Power=[[File:Power icon KHX.png|30px|Power]]|Speed=[[File:Speed icon KHX.png|30px|Speed]]|Magic=[[File:Magic icon KHX.png|30px|Magic]]|All=[[File:Power, Speed & Magic icon KHX.png|30px|Power]]|#default=<font color=white>'''No Bonus'''</font>}}
{{!}}width="18%" style="background:#666666; vertical-align:middle"{{!}}{{#switch:{{{SlotD0|}}}|Power=[[File:Power icon KHX.png|30px|Power]]|Speed=[[File:Speed icon KHX.png|30px|Speed]]|Magic=[[File:Magic icon KHX.png|30px|Magic]]|All=[[File:Power, Speed & Magic icon KHX.png|30px|Power]]|#default=<font color=white>'''No Bonus'''</font>}}
{{!}}width="18%" style="background:#666666; vertical-align:middle"{{!}}{{#switch:{{{SlotE0|}}}|Power=[[File:Power icon KHX.png|30px|Power]]|Speed=[[File:Speed icon KHX.png|30px|Speed]]|Magic=[[File:Magic icon KHX.png|30px|Magic]]|All=[[File:Power, Speed & Magic icon KHX.png|30px|Power]]|#default=<font color=white>'''No Bonus'''</font>}}


Come up with a different option, based on khunchainedxwiki: User:KrytenKoro/KHXKeyblade. Basically, ejecting the long stat tables from the infobox, and putting them instead next to the recipes, which they are so closely tied with anyway. I know we usually put all the stats in the infobox, but considering that KHX is such a different system and we've struggled to fit it into our normal paradigm, I think looking outside the box is reasonable."We're werewolves, not swearwolves." (KrytenKoro) 13:12, 6 May 2016 (UTC)