Template talk:Infobox perk

Could you make the game name link to the corresponding perk lists? Mirar (Talk) 06:32, 15 January 2009 (UTC)
 * Hmm, not easily I think. At least not without inflating the template to gigantic size and/or losing the ability to combine multiple games in one section. If you can think of a way how to do it, feel free to share :) // Porter21 U 10:26, 15 January 2009 (UTC)

How about like this:

And I think Mirar means something like this, simply with links to perk lists replacing links to games:

Ausir 10:57, 15 January 2009 (UTC)

Yeah, I understand what Mirar and you want :-) The question is more how to do it technically in a way that would not require the contributor to manually enter the perk list link.

Let's take the example: if the user enters "Fallout 3" you can easily do something like perks. Now if he/she enters " Fallout 3 " you're already in trouble, not to mention if he enters something like "Fallout, Fallout 2, Fallout Tactics". At least I'm not aware of any string manipulation techniques for the wiki parser - I'm still pretty new to it though. // Porter21 U 10:55, 15 January 2009 (UTC)
 * Can't we just do it manually? :) Ausir 10:57, 15 January 2009 (UTC)
 * Of course you could (it's already possible now as you just demonstrated :-) ). I think Mirar wants to have it done automatically though. // Porter21 U 11:02, 15 January 2009 (UTC)

How about putting the perk lists at the bottom as a kind of "See also"? Made an example at the sandbox page. // Porter21 U 22:17, 15 January 2009 (UTC) --- The first variant is too talky, I think. And I also don't like a "see also". You probably want to switch quickly between the perk list and the perk itself (from both pages), and more or less never to the page about the game, so I and Ausir are on the same spot here. Mirar (Talk) 20:53, 16 January 2009 (UTC)

Well, the only alternatives I see is either having seperate perk templates or requiring only one entry per game, removing the ability to combine games if the perk is the same in those games (like FO/FO2/FOT in the example).

I'm not in favour of the first because most of the perk pages have very little text and multiple infoboxes would just increase page size. The second also adds unnecessary clutter in my opinion. In the example, you'd have to have 4 sections instead of only two.

The third alternative is not making the requirement etc fields mandatory. Then you could have 3 headers on top of each other (with perk lists possibly) and then one requirement, benefit etc section. Wouldn't look good though imo. // Porter21 U 21:20, 16 January 2009 (UTC)

Sometimes you don't see the wood for all the trees. New showcase up at Template:Perk/sandbox. Automatically retrieves perk list for user entry; supports FO, FO2, FO3, FOT, VB, Lionheart and TORN currently - couldn't find perk lists for other games. It falls back to the main perk list if it can't find an entry.

You can combine games by specifying game#b, game#c etc - for example, game1, game1a and game1b are on one header line and use require1, benefit1 and so on whereas game2 will be on the next header line with its own set of parameters.

Hope this is now to your liking ;-) // Porter21 U 10:17, 17 January 2009 (UTC)

Well, if nobody objects I'm going to assume that it's alright now ;-) Updated main template. // Porter21 U 09:48, 20 January 2009 (UTC)