Difference between revisions of "Template:Skill Info"
From LeikaRO wiki
Line 2: | Line 2: | ||
{|class="infobox" style="width:30em;" | {|class="infobox" style="width:30em;" | ||
|- | |- | ||
− | ! colspan=2 style="background:#{{#switch:{{{type|}}} | Active= | + | ! colspan=2 style="background:#{{#switch:{{{type|}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8}}; font-size:130%;" | {{#ifexist:Media:{{PAGENAME}}-icon.png | [[Image:{{PAGENAME}}-icon.png]] | [[Image:No_Info.png|Needs proper Skill Icon]]}} {{PAGENAME}} |
|- | |- | ||
| colspan=2 style="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}-screen.gif | [[Image:{{PAGENAME}}-screen.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info.gif]] | [[Image:No_Image_Info.gif]] }} }} | | colspan=2 style="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}-screen.gif | [[Image:{{PAGENAME}}-screen.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info.gif]] | [[Image:No_Image_Info.gif]] }} }} | ||
Line 38: | Line 38: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{prereqs|}}} | | {{#if: {{{prereqs|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active= | + | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8 }};" {{!}} Prerequisites |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{prereqs}}} }} | {{!}} colspan=2 {{!}} {{{prereqs}}} }} | ||
{{#if: {{{quest|}}} | | {{#if: {{{quest|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active= | + | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8 }};" {{!}} Prerequisites |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }} | {{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{required|}}} | | {{#if: {{{required|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active= | + | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8 }};" {{!}} Required For |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{required}}} }} | {{!}} colspan=2 {{!}} {{{required}}} }} | ||
Line 57: | Line 57: | ||
{|class="infobox" style="width:30em;" | {|class="infobox" style="width:30em;" | ||
|- | |- | ||
− | ! colspan=2 style="background:#{{#switch:{{{type|}}} | Active= | + | ! colspan=2 style="background:#{{#switch:{{{type|}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8}}; font-size:130%;" | {{#ifexist:Media:{{PAGENAME}}-icon.png | [[Image:{{PAGENAME}}-icon.png]] | [[Image:No_Info.png|Needs proper Skill Icon]]}} {{PAGENAME}} |
|- | |- | ||
| colspan=2 style="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}-screen.gif | [[Image:{{PAGENAME}}-screen.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info.gif]] | [[Image:No_Image_Info.gif]] }} }} | | colspan=2 style="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}-screen.gif | [[Image:{{PAGENAME}}-screen.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info.gif]] | [[Image:No_Image_Info.gif]] }} }} | ||
Line 96: | Line 96: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{prereqs|}}} | | {{#if: {{{prereqs|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active= | + | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=FFDBC7 | Supportive=F4C2F9 | FFCCA1 }};" {{!}} Prerequisites |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{prereqs}}} }} | {{!}} colspan=2 {{!}} {{{prereqs}}} }} | ||
{{#if: {{{quest|}}} | | {{#if: {{{quest|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active= | + | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=FFDBC7 | Supportive=F4C2F9 | FFCCA1 }};" {{!}} Prerequisites |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }} | {{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{required|}}} | | {{#if: {{{required|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active= | + | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=FFDBC7 | Supportive=F4C2F9 | FFCCA1 }};" {{!}} Required For |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{required}}} }} | {{!}} colspan=2 {{!}} {{{required}}} }} |
Revision as of 17:33, 11 August 2015
Skill Info | |
---|---|
Type: | {{{type}}} Skill |
Levels: | {{{levels}}} |
Overview
This template displays an info box for a skill and should be used at the beginning of all skill pages.
Usage
{{Skill Info |type = |levels = |spcost = |hpcost = |s_icon = |consumable = |item = |weapon = |weapon2 = |weapon3 = |equip = |equip2 = |cf_name = |cf_value = |quest = |prereqs = |required = }}
Remember to erase the empty fields.
Mandatory Fields
Field | Description | Auto-adds Category |
---|---|---|
type | Main type of the skill. Values: "Active", "Passive", "Offensive", "Supportive". | - |
levels | Maximum levels of the skill. Being a string variable, adding comments after the number is possible. Ex: Levels: "5, selectable" | - |
prereqs | Additional skills that must have learned before acquiring this skill. | - |
quest | Quest that must be cleared before acquiring this skill. If it has one, set this field instead of {{{prereqs}}}. | Category:Quest Skills |
Optional Fields
Field | Description |
---|---|
spcost | SP Cost required to initiate the skill. |
hpcost | HP Cost required to initiate the skill. |
s_icon | Status Icon that is shown when the skill is in effect, if applicable. Use the filename found in Status Icons as (field)-icon.png (before "-stat-ico.png")
|
consumable | Item or ammo the skill consumes upon casting. ("Arrows (1)", "Bullets (10)", etc) |
item | Specific item that must be present in the inventory, or equipped, prior to use the skill. |
weapon | Weapon that must be equipped in order for the skill to execute. |
weapon2 | For skills with multiple allowable weapons. |
weapon3 | For skills with multiple allowable weapons. |
equip | Equipment item that must be worn for the skill to execute. |
equip2 | For skills with multiple required equipment types. |
cf_name | Custom Field Name, in case none of the above field criteria apply. Set text will get bolded, use in conjunction with cf_value. |
cf_value | Custom Field Value, set this if you have cf_name set also. Setting this without cf_name, it will simply get ignored. |
File Names
- Icon (What appears next to the skill name at the top of the infobox): "(skill name)-icon.png"
- Example: "Magnum_Break-icon.png" or "Magnum Break-icon.png"
- Screenshot of Skill In-Game (below the skill name, toward the top of the box): "(skill name)-screen.gif"
- Example: "Magnum_Break-screen.gif" or "Magnum Break-screen.gif"
- Status Icon (optional, for any skills that create status icons): "(skill name)-stat-ico.png"
- Example: "Magnum_Break-stat-ico.png"or "Magnum Break-stat-ico.png"