Template talk:Special Moves: Difference between revisions
Line 38: | Line 38: | ||
:::::#Okay, I wasn't quite sure whether boolean logic was supported or not. If not, you're right, not worth it. | :::::#Okay, I wasn't quite sure whether boolean logic was supported or not. If not, you're right, not worth it. | ||
:::::#Well, this would just be an <nowiki>{{#if:...}}</nowiki>, right? If so, I think enough characters were dropped for ''Brawl'' to make this one worth changing. - [[User:Reboot|Reboot]] ([[User talk:Reboot|talk]]) 22:08, 22 November 2010 (EST) | :::::#Well, this would just be an <nowiki>{{#if:...}}</nowiki>, right? If so, I think enough characters were dropped for ''Brawl'' to make this one worth changing. - [[User:Reboot|Reboot]] ([[User talk:Reboot|talk]]) 22:08, 22 November 2010 (EST) | ||
===Filled out=== | |||
[http://www.ssbwiki.com/index.php?title=User:Reboot/Sandbox&oldid=334236 Filled out a copy of Toomai's version of the template]. Any obvious problems before I copy it over? - [[User:Reboot|Reboot]] ([[User talk:Reboot|talk]]) 00:06, 25 November 2010 (EST) |
Revision as of 00:06, November 25, 2010
Can someone with more experience in making templates that include if statements help me fix this? – EP (Talk • Edits) 07:40, January 20, 2008 (EST)
Ask King M ~Crystal_Lucario 09:21, January 20, 2008 (EST)
"why did you do that? This is fine"
- Moved from User talk:Megatron1, re: [1]
Approximately six reasons:
- Things are a mess right now with some {{Special Moves}}, some {{Specialmoves}} and some hardcoded "(Character) Special Moves" templates.
- Notice how {{Link Special Moves}} and {{Meta Knight Special moves}} currently have {{delete}}s on them as redundant with {{Special Moves}} [neither of which was tagged by me]. Clearly others don't consider stuff fine as-is.
- I had to hack together {{Multiple Special Moves}} earlier because the hardcoded templates simply don't stack by themselves. That's not a permanent solution.
- All of the (character) Special Moves templates have redirects in them. Fixing those redirects will take yoinks. Changing to a central version (which already exists!) will both fix that for now and make fixing them trivial in future if it comes up again.
- Notes on "Final Smashes are Brawl-only" and "Side special moves aren't in SSB64" are implemented in a godawfully-ugly way in the hardcoded templates just now, and fixing those will also be easier with a central template. [I picked R.O.B. for the first go because he's simpler - {{Special Moves}} will need to be tweaked to incorporate those notes]
- It's something of an interim step - later, I'd like to move to {{Special Moves|character=(X)|game=(optional)}}. Again, that becomes easier to do if everything's already pointed at {{Special Moves}}.
- Reboot (talk) 19:00, 22 November 2010 (EST)
- I'll currently stop my capitalization purge. However, have you recieved any support or oppose for something like this?--MegaTron1XD 19:01, 22 November 2010 (EST)
- Given that an admin had plonked {{delete}}s on {{Specialmoves}}, {{Link Special Moves}} and {{Meta Knight Special moves}}, I presumed this had all been had out already and it was just waiting for someone to get round to actually doing it given the Wikia mess. - Reboot (talk) 19:11, 22 November 2010 (EST)
I was planning on replacing all the templates with {{Special Moves}} (for the reasons given above) but got sidetracked with all my other stuff. If people start replacing the individual templates with this one, then we can get rid of them and everything will be just better. Toomai Glittershine 19:40, 22 November 2010 (EST)
- The reason I was reluctant to jump straight to plonking down {{Special Moves}} on each page is that you move the "data drift" from the labels (Side special move, etc) to the actual data - for instance, {{Link Special Moves}} is transcluded on eight separate pages [including each individual move listed]. It doesn't make that much sense to have to edit those later on in eight separate pages - which end up rendered in slightly different ways or linking to different redirects! - if you can enter them once and once only. Entering {{Special Moves|each=individual|move=and so on}} on {{Link Special Moves}} standardises both sets of data at centralised locations until a major rewrite of {{Special Moves}} to incorporate that data into the template itself can be countenanced. - Reboot (talk) 20:01, 22 November 2010 (EST)
- Part of the reason I made this in the first place was so we could have the required dissonance to put Boomerang as Link's neutral special on Link (SSB), but as his side special on Link (SSBM) and Link (SSBB), and as both on the Boomerang page itself; without having to do shoehorns like "Brawl only". Toomai Glittershine 20:26, 22 November 2010 (EST)
Wait, you want to put all the special move data into a single template? So you'd put in a name and a game and get out all the moves? I can do that in an hour or two. Toomai Glittershine 20:59, 22 November 2010 (EST)
- Pretty much. (Here's the example page I was working on, subst'ed and manually tweaked to show what I meant.).
- And if you can do it, then please would you :). - Reboot (talk) 21:24, 22 November 2010 (EST)
- Nice timing, got a highly-functional version set up here. Toomai Glittershine 21:26, 22 November 2010 (EST)
- Looks pretty good :). The only points I can pick up on are:
- Probably render which game it is in the header (plug in SSBM, get "Mario's Melee Special Moves" rather than "Mario's Special Moves"
- How you can plug in {{User:Toomai/Garage|char=Dr. Mario|game=SSB}} & {{User:Toomai/Garage|char=Dr. Mario|game=SSBB}} and have stuff pop up - it should probably either not render at all, or give some sort of "Doesn't appear in this game" message;
- Related, {{User:Toomai/Garage|char=Dr. Mario}} probably shouldn't render a Final Smash line, since there's no data for that field; and
- How the (SSB)/(SSBM)/(SSBB) notes are displayed for {{User:Toomai/Garage|char=Mario}} (I'd prefer unbolded and small to bold/superscript), but this one is pretty trivial :).
- And that's about it! - Reboot (talk) 21:43, 22 November 2010 (EST)
- That's easy, although I don't think it'd be necessary, since in theory the template would only appear on special move pages (therefore covering all games) or on the character pages (therefore having the relevant game already obvious by the time you scroll down to it).
- That would be annoying - we can't use "and" or "or" logic, so we'd have to apply a switch that works on one of char or game and then do it again for each of them (i.e. big o' mess). On the other hand it's a very weak problem (it can't be used without being wrong and removed anyway) that I don't really consider worth fixing.
- True, and it'd be easier to fix than #2, but again I'm not sure it's worth fixing. We can always tell it to go into SSBM mode and it'll hide it with no side effects (which wouldn't be possible if we fixed #1).
- Tried it and I agree it looks better; changed. Toomai Glittershine 21:54, 22 November 2010 (EST)
- Fair enough.
- Okay, I wasn't quite sure whether boolean logic was supported or not. If not, you're right, not worth it.
- Well, this would just be an {{#if:...}}, right? If so, I think enough characters were dropped for Brawl to make this one worth changing. - Reboot (talk) 22:08, 22 November 2010 (EST)
- Looks pretty good :). The only points I can pick up on are:
- Nice timing, got a highly-functional version set up here. Toomai Glittershine 21:26, 22 November 2010 (EST)
Filled out
Filled out a copy of Toomai's version of the template. Any obvious problems before I copy it over? - Reboot (talk) 00:06, 25 November 2010 (EST)