Talk:Climbing skill

From Elanthipedia
Jump to navigation Jump to search

"What to climb" tables

I made a few adjustments to the ClimbTable and ClimbItem templates, to make the tables sortable and clean up excess line breaks. --Farman 12:54, 4 November 2007 (CST)

Hey! Nice work! I was driving myself crazy trying to get rid of that extra line break on the last column of the tables. --Kraelyst 17:37, 4 November 2007 (CST)

Yeah, it was the difference between this:

</noinclude>
<includeonly>

and this:

</noinclude><includeonly>

in the code for ClimbItem and ClimbTable. At first I thought it was a bug, but after thinking about it, it makes perfect sense. Anything not enclosed in <noinclude> tags will be part of the code, so that line break after </noinclude> was part of the template. Wikicode can be damned maddening at times :P --Farman 22:55, 4 November 2007 (CST)

ClimbItem and ClimbTable templates have been combined into the {{ListHeader}} and {tlink|ListItem}} templates. These work identically to the old climbing/swimming templates, except that they work equally well for Swimming and Escaping (once we set up a list for that skill, that is.) Also got rid of that annoying newline bug once and for all, which was caused by the noinclude/includeonly tags between the two templates.