Difference between revisions of "Template:Skill/doc"

From EVE University Wiki
Jump to: navigation, search
m (No TOC)
(Rewrite doc.)
 
(6 intermediate revisions by 4 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)
 
| reqI = Skills or modules which require this skill at level I
 
| reqII = Skills or modules which require this skill at level II
 
| reqIII = Skills or modules which require this skill at level III
 
| reqIV = Skills or modules which require this skill at level IV
 
| reqV = Skills or modules which require this skill at level V
 
| notes = Notes
 
}}</nowiki></pre>
 
  
== Parameters ==
+
; 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]]
  
; <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>
<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 the skill has no prerequisites, leave this blank.  
+
: 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>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>
+
<includeonly>[[Category:Formatting templates]]</includeonly>
: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). 
+
<noinclude>[[Category:Template documentation]]</noinclude>
__NOTOC__
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</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.