Difference between revisions of "Template:Skill/doc"

From EVE University Wiki
Jump to: navigation, search
(Update documentation)
(Rewrite doc.)
 
(2 intermediate revisions by 2 users 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]].
  
== Syntax ==
+
; Dependencies
<pre><nowiki>{{Skill
+
:; Uses
| skill = Skill name
+
:: {{T|GetSkillPrice}} - Look up skillbook price
| desc = Description of skill
+
:: {{T|GetSkillMult}} - Look up training time multiplier
| 1 = Major attribute 
+
:: {{T|GetSkillAlpha}} - Look up max level available to alpha pilots
| 2 = Minor attribute
+
:: {{T|SkillPriceInfo}} - Creates tool-tip for price
| pre = Prerequisite skill(s)
+
:: {{T|SkillTimeInfo}} - Creates tool-tip for training time multiplier
| reqI = Skills or modules which require this skill at level I
+
:: {{T|SkillAlphaInfo}} - Create tool-tip for and format level available to alpha pilots
| reqII = Skills or modules which require this skill at level II
+
:: 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 = Skills or modules which require this skill at level III
+
 
| reqIV = Skills or modules which require this skill at level IV
+
; Syntax
| reqV = Skills or modules which require this skill at level V
+
<pre style="margin-left: 2em;"><nowiki>{{Skill
| notes = Notes
+
|skill=  
 +
|desc=  
 +
|1=  
 +
|2=  
 +
|pre=  
 +
|reqI=  
 +
|reqII=  
 +
|reqIII=  
 +
|reqIV=  
 +
|reqV=  
 +
|notes=  
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
== Parameters ==
+
:; 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>.
; <code>skill</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 capitalise it in the same way as in the game. So, for instance, <code>skill=Pyroxeres Processing</code>.
+
::; 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>
; <code>desc</code>
+
::: 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.
; <code>1</code> and <code>2</code>
+
::; 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>Intelligence</code>, <code>Perception</code>, <code>Charisma</code>, <code>Willpower</code>, and <code>Memory</code> (please capitalise).
 
 
 
; <code>pre</code>
 
:The prerequisite skill(s). These should use the <code>{{t|sk}}</code> template with a skill 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.  
 
 
 
; <code>reqI</code>
 
:Any skills, modules, charges, implants etc which require this skill at level I. If you would like to list more than one, separate them by semicolons, and link skills as with <code>pre</code> (see above). Leave blank if you don't need it. <code>reqII</code> through <code>reqV</code> work in a similar fashion.
 
 
 
; <code>notes</code>
 
: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).   
 
 
 
== Dependencies ==
 
 
 
:This template uses the {{t|GetSkillMult}} and {{t|GetSkillPrice}} templates to display the skill's training time multiplier and skillbook price. It also uses {{t|SkillTimeInfo}} and {{t|SkillPriceInfo}} to format these two values with tooltips (shown when the mouse cursor is moved over the text).
 
  
== Usage notes ==
+
; 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.
  
:As {{t|GetSkillLink}}, {{t|GetSkillMult}} and {{t|GetSkillPrice}} have a list of all the skills in the game, when CCP changes/add/removes skills in a future expansion, it's no longer necessary to update this information on the skills category pages, but only in those three templates. If skill 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.
 
  
__NOTOC__
+
<includeonly>[[Category:Formatting templates]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 13:42, 3 March 2024

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, and Willpower (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.