Template:Trainedskill

From LSWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 12:24, 22 April 2016 (edit)
Valere (Talk | contribs)

← Previous diff
Current revision (03:55, 30 November 2017) (edit)
Sukie (Talk | contribs)
(manually added template category whee)
 
Line 2: Line 2:
== Skill Template for Skill Trainers == == Skill Template for Skill Trainers ==
;Description ;Description
-:Displays a link to the skill and any limitations (group-specific, numerical limits) and adds the skill trainer category to the page. May eventually implement section transclusion hooks for things like pulling skill limitations into the skill page if LSWiki gets the ability.+*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 -> <nowiki>{{trainedskill|Abjuration|nothing to see here}}</nowiki>
 +:Creates this:
 + [[Abjuration|abjuration]] nothing to see here
 +:As well as adding Category: Abjuration Trainer to the page.
;Syntax ;Syntax
-:<nowiki>{{trainedskill|Capitalized Skill Name|training limitations if any}}</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