A KoL Wiki:Established Standards/Skill Pages: Difference between revisions
imported>Aardvark m Step 1 of 2; fixing improper categorization |
imported>Aardvark →Header: Alright, this should get the categories out of here. If you update the template, though, this page will also need updating. |
||
Line 49: | Line 49: | ||
'''{{Data|{{PAGENAME}}|name|undefined skill name}}''' | '''{{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=| | '''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=|}}}}{{#if:| / {{#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. | Your deoxygenated blood has been replaced with lime juice. | ||
<center> | <center> | ||
{{#if:|Gives Effect: '''[[{{{gives}}}|{{Data|{{{gives}}}|name|{{{gives}}}}}]]'''{{#if:|<br>({{{duration}}} Adventure{{#ifeq:|1||s}})}}}} | {{#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>}} | {{#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 metadata]]|'''<span class="plainlinks">[{{fullurle:Data:{{PAGENAME}}|action=edit&preload=Template:Skill/data}} Create metadata]</span>'''<span style="display:none">[[Data:{{PAGENAME}}]]</span>{{#ifeq:yes|yes| | </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 metadata]]|'''<span class="plainlinks">[{{fullurle:Data:{{PAGENAME}}|action=edit&preload=Template:Skill/data}} Create metadata]</span>'''<span style="display:none">[[Data:{{PAGENAME}}]]</span>{{#ifeq:yes|yes|}}}}<br />{{#if:N/A|'''[[Skills by number|Skill number]]:''' N/A<div style="padding-bottom:2px;">{{#ifeq:1|1|'''View in-game:''' {{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 data]</span></div>|Skill ID not known!{{#switch:{{NAMESPACE}}|Template=|Category=|}}}}</div></td></tr></table> | ||
{| cellpadding="0" cellspacing="4" border="0" | {| cellpadding="0" cellspacing="4" border="0" | ||
|- style="text-align: left; vertical-align: top" | |- style="text-align: left; vertical-align: top" | ||
| '''Source:''' || {{#if:Lime Trainer|Lime Trainer|''This skill needs its source specified.''{{#switch:{{NAMESPACE}}|Template=|Category=| | | '''Source:''' || {{#if:Lime Trainer|Lime Trainer|''This skill needs its source specified.''{{#switch:{{NAMESPACE}}|Template=|Category=|}}}} | ||
|- style="text-align: left" valign="top" | |- style="text-align: left" valign="top" | ||
| '''Price:''' || {{#if:83 Meat|83 Meat|N/A}} | | '''Price:''' || {{#if:83 Meat|83 Meat|N/A}} | ||
Line 67: | Line 67: | ||
{{#if:{{#if:[[Combat Initiative]] +100%||1}}| | {{#if:{{#if:[[Combat Initiative]] +100%||1}}| | ||
{{!}} '''Effect:''' | {{!}} '''Effect:''' | ||
{{!}} {{#if:|{{{explain}}}|''This skill needs its effect described.''{{#switch:{{NAMESPACE}}|Template=|Category=| | {{!}} {{#if:|{{{explain}}}|''This skill needs its effect described.''{{#switch:{{NAMESPACE}}|Template=|Category=|}}}}}} | ||
|- | |- | ||
{{#if:You conjure a lime around yourself... | {{#if:You conjure a lime around yourself... | ||
Line 80: | Line 80: | ||
{{acquireEffect|effect=Limetastic!|duration=10}}</td></tr> | {{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... | </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=| | {{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=|}}}}}}{{#ifeq:yes|no||{{<!-- The following is for auto-categorizing skill pages and other pages that call this template --> | ||
#ifeq:{{FULLPAGENAME}}|Template:Skill| | #ifeq:{{FULLPAGENAME}}|Template:Skill||{{#ifeq:{{FULLPAGENAME}}|Established Standards: Skill Pages||{{#ifeq:{{NAMESPACE}}|Category||{{#if:Buff|{{#switch:Buff|Buff|buff=|Bookshelf|bookshelf=|Combat|combat=|Noncombat|noncombat=|Passive|passive=|Combat Spell|combat spell=|#default=}}{{#switch: 0 | ||
You're way more alert than usually.| 0 = | You're way more alert than usually.| 0 = | 1 = | a = | #default=}}}}}}}}}}{{<!-- 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= | #if:|{{#ifeq:{{FULLPAGENAME}}|Template:Skill||{{#ifeq:{{FULLPAGENAME}}|Established Standards: Skill Pages||{{#ifeq:{{NAMESPACE}}|Category||{{#switch:{{{type2}}}|Buff|buff=|Bookshelf|bookshelf=|Combat|combat=|Noncombat|noncombat=|Passive|passive=|Combat Spell|combat spell=|#default=}}}}}}}}|}}}} | ||
</div> | </div> |
Revision as of 06:00, 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.
Header
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:
- Muscle +100 (links to Muscle Modifiers)
- +10% Meat from Monsters (links to Meat from Monsters)
- 2x Chance of Critical Hit (links to Critical Hit Chance)
- Spell Damage +10 (links to Bonus Spell Damage)
- 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 Type: BuffMP 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...
|
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 |