Template talk:Weapon set table

From Guild Wars 2 Wiki
Jump to navigationJump to search

Use a row template...--Relyk ~ talk > 22:25, 3 May 2013 (UTC)

(Yeah its a taunt) - I still need to declare the number of occurances overall so I can calculate the correct rowspans/colspans and which sections to appear though. -Chieftain AlexUser Chieftain Alex sig.png 22:46, 3 May 2013 (UTC)
also, mine works on weaponsets with wierd names (e.g. Pirate weapons), which was the main objective ^_^ -Chieftain AlexUser Chieftain Alex sig.png 22:49, 3 May 2013 (UTC)
It's called incremental coding. Which doesn't work if someone breaks your template while you work on it.--Relyk ~ talk > 23:21, 3 May 2013 (UTC)
As for omitting certain weapons like aquatic (which I hope the counting is for), I'd rather have a boolean as it's half likely the pages just haven't been made.--Relyk ~ talk > 23:23, 3 May 2013 (UTC)
I thought that was hilarious. my ineptitude </3 -Chieftain AlexUser Chieftain Alex sig.png 23:24, 3 May 2013 (UTC)
I never liked the table itself though. Terrestial and Aquatic is not a "Hand"--Relyk ~ talk > 23:37, 3 May 2013 (UTC)

We could do n/a if the weapons don't exist instead of omitting the section too. Keeps all the tables consistent and avoid extra work--Relyk ~ talk > 23:41, 3 May 2013 (UTC)

OR we could just use the template I made over an hour ago.. :P -Chieftain AlexUser Chieftain Alex sig.png 00:04, 4 May 2013 (UTC)

Improvement[edit]

I'm looking at improving this template a bit to be able to use it across all the weapon set pages, instead of the normal table being used now. One question though, is there any way to do an array.size with semantic forms? Never worked with them before. One of the things I don't like about the current version is that it doesn't use rows properly, which yields no color distinction between the rows (And I guess that's why it isn't used across the weapon set pages). I need some kind of count/size/length to adjust the rowspan, but finding documentation about this is a pain.--Lon-ami (talk) 12:57, 25 December 2014 (UTC)

Add global price[edit]

Could anyone with the right knowledge add a final row to skins to add all prices from TP to get an average price for all collection? ~Abbygaëlle (talk) 00:28, 29 September 2020 (UTC)

Done. --Tolkyria (talk) 11:45, 29 September 2020 (UTC)
Sir, you are awesome ! ~Abbygaëlle (talk) 22:49, 29 September 2020 (UTC)
You did great, but there is a problem, if you have multiple tables on a page they all add together (example Aetherized weapons) ~Abbygaëlle (talk) 22:56, 29 September 2020 (UTC)
Thanks for the report, it should work now after hitting the "purge" button on top. As always, I forgot to clear the variable before re-using it, I literally added a variable clear to another template five minutes ago. --Tolkyria (talk) 23:02, 29 September 2020 (UTC)
Once again, nice job, you did fine work ! ~Abbygaëlle (talk) 23:37, 30 September 2020 (UTC)