Template:Trainedskill

From LSWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:53, 23 April 2016 (edit)
Valere (Talk | contribs)
(Added example)
← Previous diff
Current revision (03:55, 30 November 2017) (edit)
Sukie (Talk | contribs)
(manually added template category whee)
 
Line 18: Line 18:
;Syntax ;Syntax
:<nowiki>{{trainedskill|Capitalized Skill Name|(optional) notes or limitations}}</nowiki> :<nowiki>{{trainedskill|Capitalized Skill Name|(optional) notes or limitations}}</nowiki>
 +[[Category:Templates]]
</noinclude> </noinclude>

Current revision

Skill Template for Skill Trainers

Description
  • Current Functions:
    • Adds a lower-case link to the skill in the traditional 'quoted from the game' style.
    • Displays any notes or limitations next to the skill link.
    • Adds 'Category: <Skillname> Trainer' to the page.
  • Future Ideas:
    • Add section definitions to allow individual sections to be pulled into other pages. LSWiki cannot currently do this, but it would allow things like displaying skill limitations for a trainer on the skill's page.
    • Maybe add special handling for languages -- initial capitalization and such. LSWiki also cannot currently do this afaict.
Looks Like
This -> {{trainedskill|Abjuration|nothing to see here}}
Creates this:
 abjuration nothing to see here
As well as adding Category: Abjuration Trainer to the page.
Syntax
{{trainedskill|Capitalized Skill Name|(optional) notes or limitations}}
Personal tools