More actions
No edit summary |
Add TemplateData. |
||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
This template creates the beautiful skill overview boxes used on the [ | ; description | ||
: This template creates the beautiful skill overview boxes used on the [[Special:PrefixIndex/Skills:|skill category pages]]. | |||
; Dependencies | |||
:; Uses | |||
:: {{T|GetSkillPrice}} - Look up skillbook price | |||
:: {{T|GetSkillMult}} - Look up training time multiplier | |||
:: {{T|GetSkillAlpha}} - Look up max level available to alpha pilots | |||
:: {{T|SkillPriceInfo}} - Creates tool-tip for price | |||
:: {{T|SkillTimeInfo}} - Creates tool-tip for training time multiplier | |||
:: {{T|SkillAlphaInfo}} - Create tool-tip for and format level available to alpha pilots | |||
:: Skill attribute images: [[:File:Charisma.png|Charisma.png]], [[:File:Intelligence.png|Intelligence.png]], [[:File:Memory.png|Memory.png]], [[:File:Perception.png|Perception.png]], [[:File:Willpower.png|Willpower.png]] | |||
; | ; Syntax | ||
<pre style="margin-left: 2em;"><nowiki>{{Skill | |||
|skill= | |||
; | |desc= | ||
|1= | |||
|2= | |||
|pre= | |||
|reqI= | |||
|reqII= | |||
|reqIII= | |||
|reqIV= | |||
|reqV= | |||
|notes= | |||
}}</nowiki></pre> | |||
:; Parameters | |||
::; skill : The name of the skill. Please use spaces (no underscores), and capitalize it in the same way as in the game. So, for instance, <code>skill= Pyroxeres Processing</code>. | |||
::; desc : The description of what the skill does (copied directly from the game). | |||
::; 1 and 2 : The primary(1) and secondary(2) [[Skill_training#Attributes|character attributes]] which determine how quickly the skill is trained. Possible values: <code>Charisma</code>, <code>Intelligence</code>, <code>Memory</code>, <code>Perception</code>, and <code>Willpower</code> (please capitalize). Defaults to Intelligence for 1 and Memory for 2. | |||
::; pre : The prerequisite skill(s). Use the {{Tl|Sk}} template with a skill name and rank, as follows: <pre><nowiki>pre= {{Sk|CPU Management|I}}</nowiki></pre> If there is more than one prerequisite, create a separate link for each one, and separate them by commas: <pre><nowiki>pre= {{Sk|Refining|IV}}, {{Sk|Mass Production|I}}</nowiki></pre> | |||
::: If the skill has no prerequisites, leave this blank. | |||
::; reqI, reqII, reqIII, reqIV and reqV : Any skills, modules, charges, implants etc which require this skill at that level (I, II, III, IV, V). Use {{Tl|Sk|skillname|3= icon= yes}} for skills. If more than one item, separate them by semicolons. | |||
::: Leave blank or omit if not needed. | |||
::; notes : Any notes or comments about skill which don't fit anywhere else (for instance, if the skillbook is only available from LP stores, this would be a good place to note this). | |||
; | ; Usage notes | ||
: | : As {{Tl|GetSkillMult}}, {{Tl|GetSkillAlpha}} and {{Tl|GetSkillPrice}} have a list of all the skills in the game, when CCP changes this information, it is not updated on the skills category pages, but only in those templates. | ||
: If skills are removed, added or change names, update the skills category pages, the three templates above and {{Tl|GetSkillLink}}. | |||
: If skills are removed or names change, then any pages with obsolete skill names will be listed in [[:Category:Obsolete Skills]], so that you can easily find and correct them. | |||
; < | ; Template data | ||
:Any notes or comments about skill which don't fit anywhere else (for instance, if the skillbook is only available from LP stores, this would be a good place to note this). | : This is the [[mediawikiwiki:Help:TemplateData|TemplateData]] documentation for this template used by [[mediawikiwiki:VisualEditor|VisualEditor]] and other tools. | ||
:: <templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Primary character attribute", | |||
"description": "When not yet know use TBD", | |||
"example": "Perception", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Charisma", | |||
"Intelligence", | |||
"Memory", | |||
"Perception", | |||
"Willpower " | |||
], | |||
"default": "Intelligence", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Secondary character attribute", | |||
"description": "When not yet known use TBD", | |||
"example": "Willpower", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Charisma", | |||
"Intelligence", | |||
"Memory", | |||
"Perception", | |||
"Willpower " | |||
], | |||
"default": "Memory", | |||
"required": true | |||
}, | |||
"skill": { | |||
"label": "Skill name", | |||
"description": "The name of the skill spelled and capitalized as in-game", | |||
"example": "Advanced Spaceship Command", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"desc": { | |||
"label": "Description", | |||
"description": "Description of what the skill does. Copy from in-game", | |||
"example": "The advanced operation of spaceships. Grants a 5% Bonus per skill level to the agility of ships requiring Advanced Spaceship Command.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"pre": { | |||
"label": "Prerequisite skill(s)", | |||
"description": "Use the {{Sk}} template, when multiple separate by comma.. Leave empty when no required skill", | |||
"example": "{{Sk|Spaceship Command|V}}", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"reqI": { | |||
"label": "Level I required for", | |||
"description": "Any skills, modules, charges, implants etc which require the skill at level I. Use {{Sk|skillname|icon= yes}} for skills. If the item has a wiki article consider linking it. If more than one item, separate them by semicolons. Leave blank if not needed.", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"reqII": { | |||
"label": "Level II required for", | |||
"description": "Any skills, modules, charges, implants etc which require the skill at level II. Use {{Sk|skillname|icon= yes}} for skills. If the item has a wiki article consider linking it. If more than one item, separate them by semicolons. Leave blank if not needed.", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"reqIII": { | |||
"label": "level III required for", | |||
"description": "Any skills, modules, charges, implants etc which require the skill at level III. Use {{Sk|skillname|icon= yes}} for skills. If the item has a wiki article consider linking it. If more than one item, separate them by semicolons. Leave blank if not needed.", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"reqIV": { | |||
"label": "Level IV required for", | |||
"description": "Any skills, modules, charges, implants etc which require the skill at level IV. Use {{Sk|skillname|icon= yes}} for skills. If the item has a wiki article consider linking it. If more than one item, separate them by semicolons. Leave blank if not needed.", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"reqV": { | |||
"label": "Level V required for", | |||
"description": "Any skills, modules, charges, implants etc which require the skill at level V. Use {{Sk|skillname|icon= yes}} for skills. If the item has a wiki article consider linking it. If more than one item, separate them by semicolons. Leave blank if not needed.", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"notes": { | |||
"description": "Any notes or comments about the skill which don't fit anywhere else (for instance, if the skillbook is only available from LP stores, this would be a good place to note this).", | |||
"type": "content" | |||
} | |||
}, | |||
"description": "Skill information box for the Skill: pages. When skills are added, removed or change name also update {{GetSkillLink}}, {{GetSkillMult}}, {{GetSkillPrice}} and {{GetSkillAlpha}} as required.", | |||
"paramOrder": [ | |||
"skill", | |||
"desc", | |||
"1", | |||
"2", | |||
"pre", | |||
"reqI", | |||
"reqII", | |||
"reqIII", | |||
"reqIV", | |||
"reqV", | |||
"notes" | |||
], | |||
"format": "{{_\n| _= _\n}}" | |||
} | |||
</templatedata> | |||
<includeonly>[[Category: | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation | <noinclude>[[Category:Template documentation]]</noinclude> | ||