Template talk:TrophyTableRow: Difference between revisions

 
(21 intermediate revisions by 9 users not shown)
Line 49: Line 49:
::::::::It's really more like "AB, A, B". [[User:Miles of SmashWiki|<font color="dodgerblue"><span style="font-family:Comic Sans MS;">'''Miles''']] <font color="silver">([[User talk:Miles of SmashWiki|<font color="silver">talk]])</font></font></span></font> 13:23, 17 December 2014 (EST)
::::::::It's really more like "AB, A, B". [[User:Miles of SmashWiki|<font color="dodgerblue"><span style="font-family:Comic Sans MS;">'''Miles''']] <font color="silver">([[User talk:Miles of SmashWiki|<font color="silver">talk]])</font></font></span></font> 13:23, 17 December 2014 (EST)
:::::::::You misunderstood. If a user wants to know what trophies they have and are missing, they'll attempt to compare a list they find on the internet with the list they have in-game. The list they have in game will be in the order "1, 2, 3, 4". The list we're currently providing is (potentially) in the order "1, 3; null, null; 2, 4", where "null" means "is not in this game". I know if I was looking for such a list and found this, I'd leave and find something else that provides the in-game sort. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Producer 13:40, 17 December 2014 (EST)
:::::::::You misunderstood. If a user wants to know what trophies they have and are missing, they'll attempt to compare a list they find on the internet with the list they have in-game. The list they have in game will be in the order "1, 2, 3, 4". The list we're currently providing is (potentially) in the order "1, 3; null, null; 2, 4", where "null" means "is not in this game". I know if I was looking for such a list and found this, I'd leave and find something else that provides the in-game sort. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Producer 13:40, 17 December 2014 (EST)
::::::::::What you're proposing is even worse in that regard, though, so I'm not really understanding your point. [[User:Miles of SmashWiki|<font color="dodgerblue"><span style="font-family:Comic Sans MS;">'''Miles''']] <font color="silver">([[User talk:Miles of SmashWiki|<font color="silver">talk]])</font></font></span></font> 13:41, 17 December 2014 (EST)
Okay resetting indent just to be clear: For various reasons, I no longer think the one-list path is viable. My current opinion is that we must split the pages, resulting in two lists (one per page). [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Metroid 13:45, 17 December 2014 (EST)
:That's less problematic, but it still seems like an unnecessary duplication of content and makes it harder to compare between versions. For example, the different "Character (Alt.)" trophies have the same description between versions but different colors and poses. [[User:Miles of SmashWiki|<font color="dodgerblue"><span style="font-family:Comic Sans MS;">'''Miles''']] <font color="silver">([[User talk:Miles of SmashWiki|<font color="silver">talk]])</font></font></span></font> 13:48, 17 December 2014 (EST)
:I agree with this. If I had Smash 3DS and wanted to kow what trophies I was missing, I would prefer a page that lists all trophies in that specific game, not a page with three lists or a page with a single list that includes trophies that aren't even in the game I have. [[File:TepigSprite.png]][[User:Tepig|Tepig]] ([[User talk:Tepig|talk]]) 13:51, 17 December 2014 (EST)
::I agree that it's not perfect, but there is no perfect solution. There is however a potential migitator for the duplication issue - transclusion. We could store the duplicated descriptions in a subpage and simply include them in both pages, like how Pikipedia does Olimar's logs. If having one page per description doesn't work out, we could have a template per series, which inputs the trophy name and outputs the description; it'd be harder to edit, but it may never need to be. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Sharp 13:58, 17 December 2014 (EST)
:::Okay, let me examine this and think while typing thus making for a very confusing message followed by a TL;DR.
:::If I only own the 3DS version, I probably don't care what trophies are in the Wii U version. Having to look at two different sections to find what I'm looking for might be rather irritating to me. At the same, looking at one list that contains both with no clear way of finding just the 3DS would be just as irritating. Thus, for people who only own one version, having split pages would be the best thing. It would be like combining all of the trophy lists to the people who have no intention of owning the other version.
:::If I own both versions (which I do), I want to see every trophy. Looking at three different lists is pretty useful, because then I can see which trophies are in the 3DS version that I need to collect and also which trophies are in the Wii U that I need to collect, and know which ones are in each version (that way I don't try to find Tempo's trophy on the Wii U). Looking at one list probably still accomplishes this, but not as well. Going to two different pages might be a little more difficult, but it would be the same as going to the Melee page for my Melee trophies and the Brawl for my Brawl. You'd just have to consider each games their own game.
:::I '''support''' a split, I'm '''neutral''' to three lists, and I '''strongly oppose''' one list. <small>---Preceding unsigned comment added by [[Special:MyPage|you]]. Or maybe [[User:Nutta Butta|Nutta.]] </small> 16:10, 17 December 2014 (EST)
::::What's the decision? <span style="color:red">LOOK ITS RED</span> ([[User:Nutta Butta|hi im nutta]]) 18:25, 30 December 2014 (EST)


== Differences between Wii U and 3DS trophy descriptions ==
== Differences between Wii U and 3DS trophy descriptions ==
Line 54: Line 65:
Some characters have slightly different trophy descriptions between games (such as [[Sheik]] and [[Luigi]]). Should this template be changed to reflect that? In the two I listed, Sheik's Wii U trophy says spoiler alert and Luigi's says "100% Weegee". {{s|user|PikaSamus}} ([[User talk:PikaSamus|talk]]) [[File:PikaSamusSig.png|12px|link=Special:Contributions/PikaSamus|PikaSamus]] 11:21, 17 December 2014 (EST)
Some characters have slightly different trophy descriptions between games (such as [[Sheik]] and [[Luigi]]). Should this template be changed to reflect that? In the two I listed, Sheik's Wii U trophy says spoiler alert and Luigi's says "100% Weegee". {{s|user|PikaSamus}} ([[User talk:PikaSamus|talk]]) [[File:PikaSamusSig.png|12px|link=Special:Contributions/PikaSamus|PikaSamus]] 11:21, 17 December 2014 (EST)
:We need to figure if we're splitting the pages first; if so, we won't need to do so. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Pan-Galactic 13:15, 17 December 2014 (EST)
:We need to figure if we're splitting the pages first; if so, we won't need to do so. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Pan-Galactic 13:15, 17 December 2014 (EST)
== bg color ==
Could the code be modified to take the background color into effect for both trophy images if two are specified? I attempted it myself but I always have a tendency to butcher table code, let alone table code with if statements. [[User:Miles of SmashWiki|<font color="dodgerblue"><span style="font-family:Comic Sans MS;">'''Miles''']] <font color="silver">([[User talk:Miles of SmashWiki|<font color="silver">talk]])</font></font></span></font> 03:13, 2 March 2015 (EST)
== It's too complicated for me to do it... ==
But this should include a trophy box paramater. [[User:Serpent_King|<span style="color:#008833; text-shadow:-1px -1px #00bb77;">'''Serpent King'''</span>]] [[User talk:Serpent_King|(<span style="color: blue;">talk</span>)]] 21:59, 14 July 2015 (EDT)
== N/A for price ==
I've been adding some of the missing prices to the SSB4 trophy tables. But there are some trophies that can't be bought, so it would be nice to have something for the "price" parameters that will display "N/A". I'm familiar enough with wikicode to add that, but I don't know how to make it '''''not''''' display the Play Coin icon as well. For now I will just put a question mark for the non-purchased trophies, but that kind of implies they ''have'' a price but we don't know what it is. [[User:HelpTheWretched|HelpTheWretched]] ([[User talk:HelpTheWretched|talk]]) 18:47, March 4, 2021 (EST)
:I think I made it to do what you asked. Just set either ssb4-wiiu-price or ssb4-3ds-price to N/A (only one though, setting the other breaks it) and it will show N/A with no icon. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 19:14, March 4, 2021 (EST)
::That is great, but it seems to have messed up any tables that don't have a '''Price''' column. I'd rather not just add that column to every table since there may be cases where it's not wanted? [[User:HelpTheWretched|HelpTheWretched]] ([[User talk:HelpTheWretched|talk]]) 19:27, March 4, 2021 (EST)
:::Heck. Are there any cases where 3ds-price is N/A and there is a wiiu-price? If not I can just move the ifeq to only the 3ds-price part and it seems to work with other tables. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 19:39, March 4, 2021 (EST)
:::Yep, fighters' (Alt.) trophies are N/A on 3DS and bought in the shop on Wii U. There might be other cases but I don't know of any. [[User:HelpTheWretched|HelpTheWretched]] ([[User talk:HelpTheWretched|talk]]) 22:10, March 4, 2021 (EST)
::::I think the change I made should allow for N/A on 3DS and amount on Wii U. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 22:32, March 4, 2021 (EST)
:::::Thanks for looking into this, and I'm sorry to keep bugging about it, but there are a couple issues. You can see on [[List of SSB4 trophies (Super Mario Bros. series)]], I've added the column of empty prices to the Both Versions table, then tried using N/A on the two Mario trophies at the top.
:::::*If there prices for both versions, the 3DS icon still doesn't appear.
:::::*If the price for Wii U is N/A, it still adds " G".
:::::*Not shown, but if we only enter a Wii U price, then not only does it still show a blank 3DS price, but the Wii U icon is missing!
:::::I think it may be easier to re-write this portion of the code from scratch than to try fixing each case. And again, I wish I could do that; I have a lot of programming experience but am still learning the wiki code syntax. If it can store and modify strings before writing them, then it should be easy, but if it can't write strings then the logic should go like:
:::::#If both price parameters are present, place the 3DS icon and colon.
:::::#If a 3DS price is present, write it.
:::::#If the 3DS price is ''NOT'' "N/A", then add " G" and the corresponding Play Coins, plus line break.
:::::#If both parameters are present, place the Wii U icon and colon.
:::::#If a Wii U price is present, write it.
:::::#If the Wii U price is not "N/A", then add " G".
:::::[[User:HelpTheWretched|HelpTheWretched]] ([[User talk:HelpTheWretched|talk]]) 00:46, March 6, 2021 (EST)
::::::I made a mock-up [[Special:PermanentLink/1543732|here in my sandbox]], does that do everything that is needed? I also added some pseudo-code comments into it to help both of us make sense of it. I also removed uses of non-breaking spaces because they are effectively ignored when next to images; replaced it with a CSS style that works. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 07:28, March 6, 2021 (EST)
:::::::That's excellent! Thanks again. [[User:HelpTheWretched|HelpTheWretched]] ([[User talk:HelpTheWretched|talk]]) 21:37, March 7, 2021 (EST)