Template:Skill
[[File:{{Data|{{PAGENAME}}|image|nopic2.gif}}|{{Data|{{PAGENAME}}|name|undefined skill name}}|30px]] '''{{Data|{{PAGENAME}}|name|undefined skill name}}''' '''Type:''' {{#switch:{{{type}}}|Bookshelf|bookshelf=[[Your Mystical Bookshelf|Mystical Bookshelf]]|Combat|combat=Combat|Noncombat|noncombat=Noncombat|Passive|passive=Passive|Buff|buff=Buff|Combat Spell|combat spell=Combat Spell|#default=''unrecognized skill type''{{#switch:{{NAMESPACE}}|Template=|Category=|[[Category:Incomplete]]}}}}{{#if:{{{type2|}}}| / {{#switch:{{{type2}}}|Bookshelf|bookshelf=[[Your Mystical Bookshelf|Mystical Bookshelf]]|Combat|combat=Combat|Noncombat|noncombat=Noncombat|Passive|passive=Passive|Buff|buff=Buff|Combat Spell|combat spell=Combat Spell|''?''}}|}}<br />'''{{{costtype|MP}}} Cost:''' {{#if:{{{mpcost|}}}|{{{mpcost}}}|N/A}}{{#if:{{{once|}}}|<br />''usable {{#if:{{{times|}}}|{{{times}}}|once}} per {{{once|}}}''}}</center> {{{description}}} <center> {{#if:{{{gives|}}}|Gives Effect: '''[[{{{gives}}}|{{Data|{{{gives}}}|name|{{{gives}}}}}]]'''{{#if:{{{duration|}}}|<br>({{{duration}}} Adventure{{#ifeq:{{{duration|}}}|1||s}})}}}} {{#if:{{{effect|}}}|<p style="color:blue; font-weight:bold;">{{{effect}}}</p>}} </center></td><td style="vertical-align:top;" width="1%"><div class="infobox" style="font-size:80%;text-align:right;white-space:nowrap;">{{#ifexist:Data:{{PAGENAME}}|[[Data:{{PAGENAME}}|View metadata]]|'''<span class="plainlinks">[{{fullurle:Data:{{PAGENAME}}|action=edit&preload=Template:Skill/data&preloadparams%5b%5d={{PAGENAMEE}}}} Create metadata]</span>'''<span style="display:none">[[Data:{{PAGENAME}}]]</span>{{#ifeq:{{{autocat|yes}}}|yes|[[Category:Missing Metadata]]}}}}<br />{{#if:{{{skillid|}}}|'''[[Skills by number|Skill number]]:''' {{{skillid}}}<div style="padding-bottom:2px;">{{#ifeq:{{{ingamelink|1}}}|1|'''View in-game:''' {{ingame link|path=desc_skill.php?whichskill={{{skillid}}}}}}}</div><div style="font-size:smaller;"><span class="plainlinks" style="float:left;">[{{fullurl:{{FULLPAGENAMEE}}|action=purge}} refresh]</span><span class="plainlinks" style="float:right;">[{{fullurl:Data:{{FULLPAGENAMEE}}|action=edit}} edit data]</span></div>|Skill ID not known!{{#switch:{{NAMESPACE}}|Template=|Category=|[[Category:Incomplete]]}}}}</div></td></tr></table> {| cellpadding="0" cellspacing="4" border="0" |- style="text-align: left; vertical-align: top" | '''Source:''' || {{#if:{{{source|}}}|{{{source}}}|''This skill needs its source specified.''{{#switch:{{NAMESPACE}}|Template=|Category=|[[Category:Incomplete]]}}}} |- style="text-align: left" valign="top" | '''Price:''' || {{#if:{{{price|}}}|{{{price}}}|N/A}} |- style="text-align: left" valign="top" | '''Class:''' || {{#if:{{{class|}}}|{{{class}}}|N/A}} |- style="text-align: left" valign="top" | '''Level:''' || {{#if:{{{level|}}}|{{{level}}}|N/A}} |- style="text-align: left" valign="top" {{#if:{{{explain|}}}{{#if:{{{effect|}}}||1}}| {{!}} '''Effect:''' {{!}} {{#if:{{{explain|}}}|{{{explain}}}|''This skill needs its effect described.''{{#switch:{{NAMESPACE}}|Template=|Category=|[[Category:Incomplete]]}}}}}} |- {{#if:{{{usemsg|}}}|{{#ifeq:{{{usemsg|}}}|N/A|| {{!}}'''When Used:'''}}}} |}{{#if:{{{usemsg|}}}|{{#ifeq:{{{usemsg}}}|N/A|| <table style="text-align: center; margin: auto;" width="100%"> <tr><td style="line-height: 1.5;">{{{usemsg}}}</td></tr> </table>}}|{{#ifexpr:{{#ifeq:{{{type}}}|Passive|0|1}} and {{#ifeq:{{{type}}}|passive|0|1}} and {{#ifeq:{{{usemsg}}}|N/A|0|1}}|''This skill needs its in-game message specified via the "usemsg" parameter; see {{tl|Skill}} for more details.''{{#switch:{{NAMESPACE}}|Template=|Category=|[[Category:Incomplete]]}}}}}}{{#ifeq:{{{autocat|yes}}}|no||{{ #ifeq:{{FULLPAGENAME}}|Template:Skill|[[Category:Skills| {{FULLPAGENAME}}]]|{{#ifeq:{{FULLPAGENAME}}|Established Standards: Skill Pages|[[Category:Skills| {{PAGENAME}}]]|{{#ifeq:{{NAMESPACE}}|Category||{{#if:{{{type|}}}|{{#switch:{{{type}}}|Buff|buff=[[Category:Buffs]]|Bookshelf|bookshelf=[[Category:Noncombat Skills]]|Combat|combat=[[Category:Combat Skills]]|Noncombat|noncombat=[[Category:Noncombat Skills]]|Passive|passive=[[Category:Passive Skills]]|Combat Spell|combat spell=[[Category:Combat Spells]]|#default=[[Category:Skills]]}}{{#switch: {{{permable|1}}}| 0 = [[Category:Skills Which Cannot Be Permed]] | 1 = [[Category:Skills Which Can Be Permed]] | a = [[Category:Skills Which Are Automatically Hardcore Permed]] | #default=[[Category:Skills Which Can Be Permed]]}}|[[Category:Incomplete]]}}}}}}}}{{ #if:{{{type2|}}}|{{#ifeq:{{FULLPAGENAME}}|Template:Skill||{{#ifeq:{{FULLPAGENAME}}|Established Standards: Skill Pages||{{#ifeq:{{NAMESPACE}}|Category||{{#switch:{{{type2}}}|Buff|buff=[[Category:Buffs]]|Bookshelf|bookshelf=[[Category:Noncombat Skills]]|Combat|combat=[[Category:Combat Skills]]|Noncombat|noncombat=[[Category:Noncombat Skills]]|Passive|passive=[[Category:Passive Skills]]|Combat Spell|combat spell=[[Category:Combat Spells]]|#default=[[Category:Skills]]}}}}}}}}|}}}}
Usage
{{skill |skillid=id |ingamelink=0/1 (can be omitted) |type=skill type |type2=second skill type |mpcost=MP cost |costtype=cost name |once=day/combat (can be omitted) |times=twice, three times, four times, etc. (can be omitted) |description=description |gives=effect given |givelink=link for effect given (optional) |effect=(blue) skill effect |source=source of skill |price=purchase price |class=required class |level=required level |explain=skill's effect, optional if "effect" specified above |permable=0/1/a (can omit; default is 1) |usemsg=skill's "Use Skill" message (omit for passive skills)}}
- Type: Buff/Passive/Combat/Noncombat/Bookshelf
- Type2: Buff/Passive/Combat/Noncombat/Bookshelf (optional; only needs to be provided for skills that serve multiple roles, such as Lasagna Bandages)
- Mpcost: How many MP (or other resource) the skill uses (if applicable).
- Costtype: Kind of cost to use the skill. Default is MP.
- Once: Denotes that a combat skill can only be used once in the specified context.
- Times: Modifies the above parameter to display "twice", "three times", etc. in place of the "once".
- Description: The official description of the skill, as found in the Kingdom.
- Gives: The effect granted by the skill, when indicated by the game. Use the wiki page name for the effect to get correct linking. Different from Effect (below).
- Duration: The duration of the effect granted by the skill; displays only in conjunction with the Gives parameter.
- Effect: The official effect of the skill, as displayed in blue text (as with item enchantments).
- Source: Guild trainer? Gnomes? Starting skill? Item?
- Price: How much the skill costs to learn (if applicable).
- Class: Character class (if applicable).
- Level: Level at which skill can be acquired (if applicable).
- Explain: The actual effect, in terms of game mechanics, the player experiences. If the skill has an effect visible in blue-text, this field is optional.
- Spell Damage +10 (links to Bonus Spell Damage)
- Permable: 1 (or omit) if the skill can be learned permanently; 0 if it cannot; "a" if it is automatically hardcore permed
- Usemsg: The text displayed in-game when using the skill. Not applicable for Passive skills.
Example
Use the following template:
{{skill
|skillid=-1
|name=Limetasticality
|type=Buff
|mpcost=19
|source=Lime Trainer
|class=[[lime|Limeface]]
|level=42
|description=Your deoxygenated blood has been replaced with lime juice. You're way more alert than usually.
|effect=+100% Combat Initiative
|price=83 Meat
|usemsg=You conjure a lime around yourself...
The above example yields:
Limetasticality Type: BuffMP Cost: 19 Your deoxygenated blood has been replaced with lime juice. You're way more alert than usually. +100% Combat Initiative |
Source: | Lime Trainer |
Price: | 83 Meat |
Class: | Limeface |
Level: | 42 |
When Used: |
You conjure a lime around yourself...
|
Try to wiki-link anything you can.