Difference between revisions of "Template:Skill"
From A Wiki in the Desert
(Removed references to levels and lessons) |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| − | | ibclass = {{#switch: {{{discipline|}}} | Architecture = ib-architecture | Art and Music = ib-art-and-music | Harmony = ib-harmony | Leadership = ib-leadership | The Human Body = ib-the-human-body | Thought = ib-thought | Worship = ib-worship }} | + | | ibclass = {{#switch: {{{discipline|}}} | Architecture = ib-architecture | Art and Music = ib-art-and-music | Harmony = ib-harmony | Leadership = ib-leadership | Natural Philosophy = ib-natural-philosophy | The Human Body = ib-the-human-body | Thought = ib-thought | Worship = ib-worship }} |
| ibname = {{{name|{{PAGENAME}}}}} | | ibname = {{{name|{{PAGENAME}}}}} | ||
| ibtype = {{#if: {{{discipline|}}} | {{#ifeq: {{{discipline|}}} | Special | Skill - Special | Skill - {{{discipline}}} }} }} | | ibtype = {{#if: {{{discipline|}}} | {{#ifeq: {{{discipline|}}} | Special | Skill - Special | Skill - {{{discipline}}} }} }} | ||
| + | | icon = {{#if: {{{icon|}}} | {{{icon|}}}{{#set: Has image=File:{{{icon}}}}} }} | ||
| content = | | content = | ||
| − | {{ #if:{{{source}}} | | + | {{ #if:{{{source|}}} | |
{{#invoke:Infobox|stacked|Learned From| | {{#invoke:Infobox|stacked|Learned From| | ||
| − | {{{source}}} | + | {{{source|}}} |
}} | }} | ||
}} | }} | ||
{{ #if:{{{requirements|}}} | | {{ #if:{{{requirements|}}} | | ||
| − | {{#invoke:Infobox|stacked| | + | {{#invoke:Infobox|stacked|Requirements| |
{{{requirements|}}} | {{{requirements|}}} | ||
}} | }} | ||
Latest revision as of 19:01, 22 May 2021
Template documentation (for the above template, sometimes hidden or invisible)
{{Skill}} is for use in any article about an in-game "skill". All parameters are optional and can be left blank, though it is preferred to include as many as possible; if undefined, these optional parameters will not appear as part of the template.
Template
{{Skill
| name =
| discipline =
| icon =
| source =
| requirements =
| tuition1 =
| qty1 =
| tuition2 =
| qty2 =
...
}}
Usage
- name
- The name of the skill.
- discipline (optional)
- The discipline associated with the skill (e.g. Architecture, Thought, etc.). For skills not learned at a school such as Milking Techniques, use "Special".
- icon (optional)
- The icon used to represent the skill in-game.
- source (optional)
- The location where the skill can be learned. Should typically be a School of the relevant discipline. For skills not learned at a school such as Milking Techniques, leave this parameter blank.
- requirements (optional)
- Requirements for the skill such as Perception or Faction Rank. Best displayed using an unordered list starting immediately below the
requirements =line (see below example).
Tuition Cost Data
- tuitionn
- The name of the item required as tuition to learn the skill. Each item required to learn a skill should list a tuition parameter and corresponding qty parameter. Increment n for each such item and cost.
- qtyn
- The amount of the item required as tuition to learn the skill. Each item required to learn a skill should list a tuition parameter and corresponding qty parameter. Increment n for each such item and cost.
Example
| Cheese Making | ||||||
|---|---|---|---|---|---|---|
| (Skill - Worship) | ||||||
| Learned From | ||||||
| School of Worship | ||||||
| Other Requirements | ||||||
|
||||||
{{Skill
| name = Cheese Making
| discipline = Worship
| icon =
| source = [[School of Worship]]
| requirements =
* [[Milking Techniques]]
| tuition1 = [[Jugs of Cows Milk]]
| qty1 = 10
| tuition2 = [[Salt]]
| qty2 = 10
}}
Visit Template:Skill/doc to edit this text! (How does this work?)