Template talk:Weapon set table

From Guild Wars 2 Wiki
Jump to: navigation, 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)

Improvements[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)