A Wiki in the Desert
Log in

Difference between revisions of "Template:SkillGroup"

From A Wiki in the Desert
 
Line 3: Line 3:
 
   |discipline={{trim|{{{discipline|Unknown}}}}}
 
   |discipline={{trim|{{{discipline|Unknown}}}}}
 
   |icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}}
 
   |icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}}
}}{{#set: Is grouping=True}}{{#set: Is school={{#if: {{{school|}}}|{{{school}}}|false}}}}</includeonly>
+
}}{{#set: Is grouping=True}}{{#set: Is school={{#if: {{{school|}}}|{{{school}}}|false}}}}{{#set: Is given={{#if: {{{given|}}}|{{{given}}}|false}}}}</includeonly>
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>
Line 36: Line 36:
 
"autovalue": "false",
 
"autovalue": "false",
 
"suggested": true
 
"suggested": true
 +
},
 +
"given": {
 +
"label": "Given",
 +
"description": "Used to specify skills that are granted to the player",
 +
"type": "boolean",
 +
"default": "false"
 
}
 
}
 
},
 
},

Latest revision as of 13:36, 24 June 2021


This template adds a skill infobox to the page and marks it as a group semantically.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the skill

Example
Knapping
Stringrequired
Disciplinediscipline

The discipline this skill is associated with

Example
Architecture
Stringsuggested
Iconicon

The icon to show on the infobox

Example
Icon - Knapping.png
Stringsuggested
Schoolschool

Set if this skill is leart by paying tution at a school

Default
false
Auto value
false
Booleansuggested
Givengiven

Used to specify skills that are granted to the player

Default
false
Booleanoptional