Changes

Jump to: navigation, search

Template:Skill infobox

3,586 bytes added, 13:11, 12 November 2016
Created page with "{| style="margin:0 0 0.5em 1em; border:1px solid #ccc; float:right; text-align:left; background:#f9f9f9;" cellpadding="5" ! colspan="2" style="font-size:17px; text-align:cente..."
{| style="margin:0 0 0.5em 1em; border:1px solid #ccc; float:right; text-align:left; background:#f9f9f9;" cellpadding="5"
! colspan="2" style="font-size:17px; text-align:center; background-color:#44a6d8;color:#ffffff;" | {{{name|{{PAGENAME}}}}}
|-
| style= "width:250px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}_skill.png{{pipe}}300px{{pipe}}]]}}} <br><div style="font-size:14px;">{{{caption|}}}</div>
|- valign="top"
! style="background:#eee; width:100px;" align="center" | Skill Type:
| {{{skilltype|-}}}
|-
! style="background:#eee; width:100px;" align="center" | Max Level:
| {{{maxlevel|-}}}
|-
{{ #if:{{{req|}}} |
{{pipe}}-
! style="background:#f4e6d4; width:100px;" align="center" {{pipe}} Requirements:
{{pipe}} {{{req}}}
}}
{{ #if:{{{skilltrainers|}}} |
{{pipe}}-
! style="background:#f5e0c7; width:100px;" align="center" {{pipe}} Skill Trainers:
{{pipe}} {{{skilltrainers}}}
}}
|}
<noinclude>
{{clear}}__NOTOC__


==Syntax==
<pre>
{{Skill infobox
|title =
|image =
|caption =
|skilltype =
|maxlevel =
|req =
|skilltrainers =
}}
</pre>
==Parameters==
Long parameters will extend the width of the infobox. To keep it the correct size keep text short or use the "< br>" function
; title
: Optional. Defaults to article name.
; image
: Optional. Defaults to a .png image of the article's name. If specified, use <code><nowiki>[[Image:pagename_skill.png|300px|]]</nowiki></code>
;caption
:Optional.
;skilltype
:Required, Options:Combat Skills, Beast Skills, Beast Forms, Trade Skills, Other Skills
;maxlevel
:Required, will remain blank on page. List the currently available max level for the skill (without bonuses).
;skilltrainers
:Optional. List NPCs that teach the skill.

==Description==
Create an attractive "info card" for Skills. This is another way to liven up the pages. It also provides a consistent "at a glance" information box with vital information that is consistent across all creatures.
Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the Talk page or the author's talk page.
;Automatic categories
: skilltype- lists the type of skill, Combat, Trade, Beast(s), Other.

===Image===
The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name)
If an image already exists which name does not match the article name, or in a different format (png), specify it.
If the image is larger/smaller the box will expand/shrink to fit it, have to specify what size you want it to appear(see below) keep in mind that the text will only be 300px in length.

==Examples==
Don't mind that the Titles are wrong, the title takes the name of the page it is created on.

Here you can see examples of what Hammer templates '''could''' look like.
<pre>
{{Skill infobox
|title = Hammer
|image =[[File:Hammer_skill.png|300px]]
|caption = If I had a hammer...
|skilltype = Combat Skills
|maxlevel = 60
|req =
|skilltrainers = Agrashab, Falkrin Overstrike
}}
</pre>

{{Skill infobox
|title = Hammer
|image =[[File:Hammer_skill.png|300px]]
|caption = If I had a hammer...
|skilltype = Combat Skills
|maxlevel = 60
|req =
|skilltrainers = Agrashab, Falkrin Overstrike
}}

[[Category:Formatting templates|NPC infobox]]
</noinclude>

Navigation menu