Template talk:Infobox Trait

From Lotro-Wiki.com
Jump to navigation Jump to search

Discussion

  • Looks nice! I'm not quite sure how you want to use it, but when I make/edit templates, it's usually trial and error until I find what works ;)
  • I went ahead and added a 'default' line to the 'switch' functions, which I've been adding to other templates. This forces the code to create "categories" for anything entered - if the entry was incorrect, misspelled etc. a red-linked category would hopefully alert the editor. Otherwise, misspellings and such are ignored by the #switch command and the template will go uncategorized in that field.
  • Cataloging rule # 1 ¶385d: don't use big categories like Category:Traits and Category:Monster Play, when you have specific categories that are included in the big category's tree. Otherwise you'll have everything under the sun under the supercategory, which will make it fairly useless as a category.
  • IIRC the parameters for #switch functions are case-sensitive, so you'll want to add lower-case parameters as well.
  • I'd suggest adding Creep races to the race choices, like the Creep Classes under classes.
  • Uloria 23:18, 5 April 2009 (UTC)
    • I just brought the categories over from the old Infobox Skill template, but I agree that the big ones are relatively useless. They should only be used as metacategories holding subcategories.
    • There are no creep races, only creep classes, and consequently there are no creep racial traits, hence why they are listed as classes and not races.

--Gaerlin 18:53, 6 April 2009 (UTC)

I don't know if this is out of date, but there appear to be Creep Racial Traits, such as this Orc page:Orc Racial Traits. Presumably they apply to both Orc Classes? Uloria 00:59, 7 April 2009 (UTC)
Ah yes I missed that - thanks Uloria. I will change the template to add the creep races as well. --Gaerlin 13:26, 20 April 2009 (UTC)



Spirit Stones

The spirit stones code needs to be fixed as we cannot see it in the actual template. Check Deeds before Words to see what I mean. Rogue 23:39, 8 October 2009 (UTC)

Spirit stones should only show up on creep racial traits. I think it's working as intended. --Gaerlin 01:39, 9 October 2009 (UTC)


Code error somewhere

Hey if someone could find what went wrong and why the code is showing here: Advanced_Skill:_Born_of_Shadow that'd be great. Please fix! Rogue 12:49, 1 February 2011 (EST)


The Trait Information does not display correctly if there are more than 1 class listed as shown here: Armour Boost. I can't figure out why it's not working! Rogue 13:29, 1 February 2011 (EST)

Found and fixed! :) Rogue 13:21, 2 February 2011 (EST)