A KoL Wiki:Established Standards/Skill Pages: Difference between revisions

From A KoL Wiki
imported>Lxndr
mNo edit summary
imported>Aardvark
m Step 1 of 2; fixing improper categorization
Line 44: Line 44:


<div style="border:1px solid black; padding:1em;">
<div style="border:1px solid black; padding:1em;">
{{skill|skillid=N/A|name=Limetasticality|source=Lime Trainer|class=[[lime|Limeface]]|level=42|description=Your deoxygenated blood has been replaced with lime juice.|permable=0
<table width="100%" ><tr><td><center>
[[File:{{Data|{{PAGENAME}}|image|nopic2.gif}}|{{Data|{{PAGENAME}}|name|undefined skill name}}|30px]]


'''{{Data|{{PAGENAME}}|name|undefined skill name}}'''
'''Type:'''  {{#switch:Buff|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:|&nbsp;/&nbsp;{{#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 />'''MP Cost:'''  {{#if:19|19|N/A}}{{#if:|<br />''usable {{#if:|{{{times}}}|once}} per ''}}</center>
Your deoxygenated blood has been replaced with lime juice.
<center>
{{#if:|Gives Effect: '''[[{{{gives}}}|{{Data|{{{gives}}}|name|{{{gives}}}}}]]'''{{#if:|<br>({{{duration}}}  Adventure{{#ifeq:|1||s}})}}}}
{{#if:[[Combat Initiative]] +100%|<p style="color:blue; font-weight:bold;">[[Combat Initiative]] +100%</p>}}
</center></td><td style="vertical-align:top;" width="1%"><div class="infobox" style="font-size:80%;text-align:right;">{{#ifexist:Data:{{PAGENAME}}|[[Data:{{PAGENAME}}|View&nbsp;metadata]]|'''<span class="plainlinks">[{{fullurle:Data:{{PAGENAME}}|action=edit&preload=Template:Skill/data}} Create&nbsp;metadata]</span>'''<span style="display:none">[[Data:{{PAGENAME}}]]</span>{{#ifeq:yes|yes|[[Category:Missing Metadata]]}}}}<br />{{#if:N/A|'''[[Skills by number|Skill&nbsp;number]]:'''&nbsp;N/A<div style="padding-bottom:2px;">{{#ifeq:1|1|'''View&nbsp;in-game:'''&nbsp;{{ingame link|path=desc_skill.php?whichskill=N/A}}}}</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&nbsp;data]</span></div>|Skill&nbsp;ID&nbsp;not&nbsp;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:Lime Trainer|Lime Trainer|''This skill needs its source specified.''{{#switch:{{NAMESPACE}}|Template=|Category=|[[Category:Incomplete]]}}}}
|- style="text-align: left" valign="top"
| '''Price:''' || {{#if:83 Meat|83 Meat|N/A}}
|- style="text-align: left" valign="top"
| '''Class:''' || {{#if:[[lime|Limeface]]|[[lime|Limeface]]|N/A}}
|- style="text-align: left" valign="top"
| '''Level:''' || {{#if:42|42|N/A}}
|- style="text-align: left" valign="top"
{{#if:{{#if:[[Combat Initiative]] +100%||1}}|
{{!}} '''Effect:'''
{{!}} {{#if:|{{{explain}}}|''This skill needs its effect described.''{{#switch:{{NAMESPACE}}|Template=|Category=|[[Category:Incomplete]]}}}}}}
|-
{{#if:You conjure a lime around yourself...
{{acquireEffect|effect=Limetastic!|duration=10}}|{{#ifeq:You conjure a lime around yourself...
{{acquireEffect|effect=Limetastic!|duration=10}}|N/A||
{{!}}'''When Used:'''}}}}
|}{{#if:You conjure a lime around yourself...
{{acquireEffect|effect=Limetastic!|duration=10}}|{{#ifeq:You conjure a lime around yourself...
{{acquireEffect|effect=Limetastic!|duration=10}}|N/A||
<table style="text-align: center; margin: auto;" width="100%">
<tr><td style="line-height: 1.5;">You conjure a lime around yourself...
{{acquireEffect|effect=Limetastic!|duration=10}}</td></tr>
</table>}}|{{#ifexpr:{{#ifeq:Buff|Passive|0|1}} and {{#ifeq:Buff|passive|0|1}} and {{#ifeq:You conjure a lime around yourself...
{{acquireEffect|effect=Limetastic!|duration=10}}|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:yes|no||{{<!-- The following is for auto-categorizing skill pages and other pages that call this template -->
#ifeq:{{FULLPAGENAME}}|Template:Skill|[[Category:Skills| {{FULLPAGENAME}}]]|{{#ifeq:{{FULLPAGENAME}}|Established Standards: Skill Pages|[[Category:Skills| {{PAGENAME}}]]|{{#ifeq:{{NAMESPACE}}|Category||{{#if:Buff|{{#switch:Buff|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: 0
You're way more alert than usually.| 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]]}}}}}}}}{{<!-- Auto-cating for second skill type, if exists -->
#if:|{{#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]]}}}}}}}}|}}}}


You're way more alert than usually.|effect=[[Combat Initiative]] +100%|type=Buff|mpcost=19|price=83 Meat|usemsg=You conjure a lime around yourself...
{{acquireEffect|effect=Limetastic!|duration=10}}}}
</div>
</div>



Revision as of 05:52, 17 October 2015

Skill pages should contain the following elements in the order shown here.

Follow the link for information on coding and contents for each element.

Use the following template:

{{skill
    |skillid=N/A
    |type=Buff
    |mpcost=19
    |description=Your deoxygenated blood has been replaced with lime juice.

You're way more alert than usually.
    |source=Lime Trainer
    |price=83 Meat
    |class=[[lime|Limeface]]
    |level=42
    |effect=[[Combat Initiative]] +100%
    |usemsg=You conjure a lime around yourself...
    {{acquireEffect|effect=Limetastic!|duration=10}}}}
  • SkillID: The in-game ID of the skill
  • Type: Buff? Passive? Combat?
  • MPCost: How many MP the skill uses (if applicable).
  • Description: The official description of the skill, as found in the Kingdom.
  • Source: Guild trainer? Gnomes? Starting skill?
  • 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).
  • Effect: The actual effect, in terms of game mechanics, the player experiences. For consistency, effects listed in this section should be written in the form that item enchantments are written in-game. Those listed should also link an appropriate Game Mechanics page. For example:
  • UseMsg: The skill's "Use Skill" message (if applicable)
  • The name and image for the skill are stored on the skill's metadata page, linked from the upper-right corner of the page.

The above example yields:

undefined skill name

undefined skill name

Type: Buff
MP Cost: 19

Your deoxygenated blood has been replaced with lime juice.

Combat Initiative +100%

Source: Lime Trainer
Price: 83 Meat
Class: Limeface
Level: 42
When Used:
You conjure a lime around yourself...
You acquire an effect: Limetastic!
(duration: 10 Adventures)

Try to wiki-link anything you can.

Other Information

Notes, History, References, or See Also sections (in that order) should be bulleted and formatted as overdescribed in the past billion lines or so of this page.

The See Also should include a link to all relevant Game Mechanics pages (alphabetized, of course). For example:

Category

Any page that uses the {{skill}} template correctly will automatically be placed in Category:Skills or one of its subcategories. If the template is not given the type parameter, the page will be placed in Category:Incomplete. For other pages, add the following to the end of the page on its own line:

[[Category:Skills| {{PAGENAME}}]]
Established Standards
Adventures | Effects | Familiars | Items | Locations | Outfits | Skills | Tattoos | Trophies | Data