A Wiki in the Desert
Log in

Difference between revisions of "Template:Skill"

From A Wiki in the Desert
 
(3 intermediate revisions by the same user 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 | Natural Philosophy = ib-natural-philosophy | The Human Body = ib-the-human-body | Thought = ib-thought | Worship = ib-worship }}{{#set: Is discipline={{{discipline|}}}}}
+
| 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 }}{{#set: Has discipline={{#if: {{trim|{{{discipline|Unknown}}} }}|{{trim|{{{discipline}}}}}|Unknown}}}}
 
| 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}}} }} }}

Latest revision as of 20:19, 26 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
Tuition
Jugs of Cows Milk 10
Salt 10
{{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?)