More actions
mNo edit summary |
Add TemplateData. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
This template creates the beautiful skill overview boxes used on the [[Special:PrefixIndex/Skills:|skill category pages]]. | ; description | ||
: This template creates the beautiful skill overview boxes used on the [[Special:PrefixIndex/Skills:|skill category pages]]. | |||
; Dependencies | |||
<pre><nowiki>{{Skill | :; Uses | ||
| skill = | :: {{T|GetSkillPrice}} - Look up skillbook price | ||
| desc = | :: {{T|GetSkillMult}} - Look up training time multiplier | ||
| 1 = | :: {{T|GetSkillAlpha}} - Look up max level available to alpha pilots | ||
| 2 = | :: {{T|SkillPriceInfo}} - Creates tool-tip for price | ||
| pre = | :: {{T|SkillTimeInfo}} - Creates tool-tip for training time multiplier | ||
| reqI = | :: {{T|SkillAlphaInfo}} - Create tool-tip for and format level available to alpha pilots | ||
| reqII = | :: 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]] | ||
| reqIII = | |||
| reqIV = | ; Syntax | ||
| reqV = | <pre style="margin-left: 2em;"><nowiki>{{Skill | ||
| notes = | |skill= | ||
|desc= | |||
|1= | |||
|2= | |||
|pre= | |||
|reqI= | |||
|reqII= | |||
|reqIII= | |||
|reqIV= | |||
|reqV= | |||
|notes= | |||
}}</nowiki></pre> | }}</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). | ||
:The name of the skill. Please use spaces (no underscores), and | ::; 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. | ||
:The description of what the skill does (copied directly from the game). | ::; 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). | ||
:The primary and secondary [[Skill_training#Attributes|character attributes]] which determine how quickly the skill is trained. Possible values: <code> | |||
; | |||
:The prerequisite skill(s). | |||
:If the skill has no prerequisites, leave this blank. | |||
; | |||
:Any skills, modules, charges, implants etc which require this skill at level I. If | |||
; | |||
: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 | ||
: 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:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Latest revision as of 13:45, 27 June 2025
- description
- This template creates the beautiful skill overview boxes used on the skill category pages.
- Dependencies
-
- Uses
- {{GetSkillPrice}} - Look up skillbook price
- {{GetSkillMult}} - Look up training time multiplier
- {{GetSkillAlpha}} - Look up max level available to alpha pilots
- {{SkillPriceInfo}} - Creates tool-tip for price
- {{SkillTimeInfo}} - Creates tool-tip for training time multiplier
- {{SkillAlphaInfo}} - Create tool-tip for and format level available to alpha pilots
- Skill attribute images: Charisma.png, Intelligence.png, Memory.png, Perception.png, Willpower.png
- Syntax
{{Skill
|skill=
|desc=
|1=
|2=
|pre=
|reqI=
|reqII=
|reqIII=
|reqIV=
|reqV=
|notes=
}}
- 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,
skill= Pyroxeres Processing. - desc
- The description of what the skill does (copied directly from the game).
- 1 and 2
- The primary(1) and secondary(2) character attributes which determine how quickly the skill is trained. Possible values:
Charisma,Intelligence,Memory,Perception, andWillpower(please capitalize). Defaults to Intelligence for 1 and Memory for 2. - pre
- The prerequisite skill(s). Use the
{{Sk}}template with a skill name and rank, as follows:pre= {{Sk|CPU Management|I}}If there is more than one prerequisite, create a separate link for each one, and separate them by commas:pre= {{Sk|Refining|IV}}, {{Sk|Mass Production|I}} - 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
{{Sk|skillname|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
{{GetSkillMult}},{{GetSkillAlpha}}and{{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
{{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
- This is the TemplateData documentation for this template used by VisualEditor and other tools.
Skill information box for the Skill: pages. When skills are added, removed or change name also update {{GetSkillLink}}, {{GetSkillMult}}, {{GetSkillPrice}} and {{GetSkillAlpha}} as required.
Template parameters
This template has custom formatting.
Parameter Description Type Status Skill name skillThe name of the skill spelled and capitalized as in-game
- Example
- Advanced Spaceship Command
String required Description descDescription 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.
Content required Primary character attribute 1When not yet know use TBD
- Suggested values
CharismaIntelligenceMemoryPerceptionWillpower- Default
- Intelligence
- Example
- Perception
String required Secondary character attribute 2When not yet known use TBD
- Suggested values
CharismaIntelligenceMemoryPerceptionWillpower- Default
- Memory
- Example
- Willpower
String required Prerequisite skill(s) preUse the {{Sk}} template, when multiple separate by comma.. Leave empty when no required skill
- Example
- {{Sk|Spaceship Command|V}}
Content suggested Level I required for reqIAny 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.
Content suggested Level II required for reqIIAny 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.
Content suggested level III required for reqIIIAny 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.
Content suggested Level IV required for reqIVAny 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.
Content suggested Level V required for reqVAny 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.
Content suggested notes notesAny 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).
Content optional