Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Skill/doc: Difference between revisions

Template page
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 [http://wiki.eveuniversity.org/w/index.php?title=Special%3APrefixIndex&prefix=Skills%3A&namespace=0 skill category pages].
; description
== Syntax ==
: This template creates the beautiful skill overview boxes used on the [[Special:PrefixIndex/Skills:|skill category pages]].
<pre><nowiki>{{Skill
| skill = Skill name
| desc = Description of skill
| 1 = Major attribute 
| 2 = Minor attribute
| mult = Skill training multiplier
| price = Skill book price
| pre = Prerequisite skill(s)
| notes = Notes
}}</nowiki></pre>


== Parameters ==
; Dependencies
All parameters are required.  
:; 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]]


; <code>skill</code>
; Syntax
:The name of the skill. Please use spaces (no underscores), and capitalise it in the same way as in the game. So, for instance, <code>skill=Pyroxeres Processing</code>.
<pre style="margin-left: 2em;"><nowiki>{{Skill
 
|skill=
; <code>desc</code>
|desc=
:The description of what the skill does (copied directly from the game).
|1=
 
|2=
; <code>1</code> and <code>2</code>
|pre=
:The primary and secondary [[Skill_training#Attributes|character attributes]] which determine how quickly the skill is trained. Possible values: <code>Intelligence</code>, <code>Perception</code>, <code>Charisma</code>, <code>Willpower</code>, and <code>Memory</code> (please capitalise).
|reqI=
 
|reqII=
; <code>mult</code>
|reqIII=
:The skill's [[Skill_training#Training_Time_Multipliers|training time multiplier]]. Write the number and add an ''x'' (without a space); for instance: <code>mult=2x</code>.
|reqIV=
 
|reqV=  
; <code>price</code>
|notes=
:How much the skillbook costs. There is no need to put "ISK" after the price, as it is added automatically. Larger numbers should be abbreviated with ''K'' for thousand, ''M'' for million, and ''B'' for billion. If you don't have the exact price, then an approximation is acceptable (no need to put "~").  If there's a value range, put "-" between the two numbers (without spaces), and add the K, M, or B after the last number. Lastly, the correct fraction denominator is "." and not ",".
}}</nowiki></pre>
::''Example''
<pre>price=32K <- Correct
price=32.5M <- Correct
price=20-25.5B <- Correct


price=32,000 <- Incorrect
:; Parameters
price=32,5M <- Incorrect
::; 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>.
price=~20-25.5B <- Incorrect
::; desc : The description of what the skill does (copied directly from the game).
price=20 - 25.5B <- Incorrect
::; 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.
price=20B-25.5B <- Incorrect
::; 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>
price=32K ISK <- Incorrect</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). 


; <code>pre</code>
; Usage notes
:The prerequisite skill(s). These should link to the skill description pages, and include the skill rank (in Roman numerals) within the link, as follows: <pre><nowiki>pre=[[Skills:Engineering#CPU_Management|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=[[Skills:Industry#Refining|Refining IV]], [[Skills:Industry#Mass_Production|Mass Production I]]</nowiki></pre>
: 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.


; <code>notes</code>
; 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:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
<includeonly>[[Category:Formatting templates]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>