Template:GuildAbility: Difference between revisions
Jump to navigation
Jump to search
(test) |
(suppression of tagging for obsolete articles) |
||
| Line 5: | Line 5: | ||
{| class=wikitable width=60% |
{| class=wikitable width=60% |
||
! width=30% style="background: #B9B59C;border-right: hidden;height: 35px"| |
! width=30% style="background: #B9B59C;border-right: hidden;height: 35px"| |
||
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden"|'''{{#if: {{{name|}}} | [[pretty name is::{{{name}}}]] | [[pretty name is::{{PAGENAME}}]] }}''' |
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden"|'''{{#if: {{{name|}}} | {{#switch:{{{obsolete|}}}|y|yes|t|true={{{name}}}|[[pretty name is::{{{name}}}]]}} | {{#switch:{{{obsolete|}}}|y|yes|t|true={{PAGENAME}}|[[pretty name is::{{PAGENAME}}]] }}}}''' |
||
! width=30% style="background:#B9B59C"| |
! width=30% style="background:#B9B59C"| |
||
|- |
|- |
||
! style="text-align:left" | '''Requirements:''' |
! style="text-align:left" | '''Requirements:''' |
||
| colspan=2 | {{#switch: {{lc:{{{prereqs}}}}}|n|-=None|{{#if:{{{prereqs|}}}|[[prerequisite::{{{prereqs}}}]]|{ |
| colspan=2 | {{#switch:{{{obsolete|}}}|y|yes|t|true={{{prereqs|}}}|{{#switch: {{lc:{{{prereqs}}}}}|n|-=None|{{#if:{{{prereqs|}}}|[[prerequisite::{{{prereqs}}}]]|{[[missing::Infobox entry on prerequisits|''Unknown'']]}}}}}} |
||
|- |
|- |
||
{{#ifeq:{{{slots|}}}|-||! style="text-align:left" {{!}} '''Slot Cost:''' |
{{#ifeq:{{{slots|}}}|-||! style="text-align:left" {{!}} '''Slot Cost:''' |
||
{{!}} colspan=2 {{!}} {{#if: {{{slots|}}}|[[slot cost is::{{{slots}}}]]|{{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on slot cost|''Unknown'']]}}}}}} |
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{slots}}}|{{#if: {{{slots|}}}|[[slot cost is::{{{slots}}}]]|{{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on slot cost|''Unknown'']]}}}}}}}} |
||
|- |
|- |
||
! style="text-align:left" | '''Difficulty:''' |
! style="text-align:left" | '''Difficulty:''' |
||
| colspan=2 | {{#if: {{{diff|}}} | {{#switch: {{lc: {{{diff}}} }} | n | -=None | [[ability difficulty is::{{{diff}}}]]}} | |
| colspan=2 | {{#if: {{{diff|}}} | {{#switch:{{{obsolete|}}}|y|yes|t|true={{#switch: {{lc: {{{diff}}} }} | n | -=None | [[ability difficulty is::{{{diff}}}]]}} | [[missing::Infobox entry on difficulty|''Unknown'']] }}}} |
||
|- |
|- |
||
! style="text-align:left" | '''Type / Skill:''' |
! style="text-align:left" | '''Type / Skill:''' |
||
| Line 21: | Line 21: | ||
|- |
|- |
||
{{#if:{{{cost|}}}{{{costs|}}}|! style="text-align:left" {{!}} '''Use Cost:''' |
{{#if:{{{cost|}}}{{{costs|}}}|! style="text-align:left" {{!}} '''Use Cost:''' |
||
{{!}} colspan=2 {{!}} {{# |
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{#if:{{{cost|}}}|{{{cost}}}|[[missing::Infobox entry on ability usage cost|''Unknown'']]}}{{#if:{{{costs|}}}|[[ability usage cost is::{{{costs}}}| ]]|[[missing::Infobox entry on short form ability usage cost| ]]}}}}}} |
||
|- |
|- |
||
{{#ifeq:{{{contest1|}}}|-||! style="text-align:left" {{!}} '''Contest:''' |
{{#ifeq:{{{contest1|}}}|-||! style="text-align:left" {{!}} '''Contest:''' |
||
{{!}} colspan=2 {{!}} {{#if:{{{contest1|}}}|{{#arraymap:{{{contest1}}}|,|@@@@|[[offensive contest is::@@@@]]|/}} |
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{contest1}}} / {{{contest2|}}}|{{#if:{{{contest1|}}}|{{#arraymap:{{{contest1}}}|,|@@@@|[[offensive contest is::@@@@]]|/}}|[[missing::Infobox entry on offensive stat contest|''Unknown'']]}} vs. {{#if:{{{contest2|}}}|[[defensive contest is::{{{contest2}}}]]|[[missing::Infobox entry on defensive stat contest|''Unknown'']]}}}}}} |
||
|- |
|- |
||
{{#ifeq: {{lc: {{{path|}}} }} | - | | ! style="text-align:left" {{!}} '''Path:''' |
{{#ifeq: {{lc: {{{path|}}} }} | - | | ! style="text-align:left" {{!}} '''Path:''' |
||
{{!}} colspan=2 {{!}} {{#if: {{{path|}}} | [[ability path is::{{{path}}}]] | |
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{#if: {{{path|}}} | [[ability path is::{{{path}}}]] | [[missing::Infobox entry on path of ability|''Unknown'']] }} }} }} |
||
|- |
|- |
||
{{#ifeq: {{lc: {{{desc}}} }} | - | | ! style="text-align:left" {{!}} '''Description:''' |
{{#ifeq: {{lc: {{{desc}}} }} | - | | ! style="text-align:left" {{!}} '''Description:''' |
||
{{!}} colspan=2 {{!}} {{#if: {{{desc|}}} |{{{desc}}} | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on |
{{!}} colspan=2 {{!}} {{#if: {{{desc|}}} |{{{desc}}} | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on source description|''Unknown'']]}} }} }} |
||
|- |
|- |
||
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:''' |
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:''' |
||
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | [[ability effect is::{{{effect}}}]] | |
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{effect|}}}|{{#if: {{{effect|}}} | [[ability effect is::{{{effect}}}]] | [[missing::Infobox entry on effects|''Unknown'']]}} }} }} |
||
|- |
|- |
||
{{#ifeq: {{lc: {{{messaging}}} }} | - | | ! style="text-align:left" {{!}} '''Messaging:''' |
{{#ifeq: {{lc: {{{messaging}}} }} | - | | ! style="text-align:left" {{!}} '''Messaging:''' |
||
Revision as of 21:34, 9 August 2014
| Requirements: | {Unknown | |
|---|---|---|
| Slot Cost: | Unknown | |
| Difficulty: | ||
| Type / Skill: | Unknown / Unknown | |
| Contest: | Unknown vs. Unknown | |
| Path: | ||
| Description: | Unknown | |
| Effect: | Unknown | |
| Messaging: | Unknown | |
This template provides an infobox for non-magical ability articles for all guilds. Notes and commentary should be added on the individual articles via normal article editing.
Usagage Documentation:
| Variable | Supported Values | Usage |
|---|---|---|
| name | Ability name if different from page name. (optional) | |
| prereqs | -/# | Number of previous required abilities |
| reqs | -/<reqs> | Any prequisits needed to learn. Do not add links. |
| cost | The number of ability slots to gain. | |
| desc | -/<description> | The teaching NPC's description. |
| effect | -/<effect> | What is the power's effect? |
| messaging | -/<messaging> | The messaging shown when activated |
| type | -/combo khri/special khri/finesse/potency/subtlety/roar/form/berserk/meditation | What kind of ability is it? Separate different entries by "," with no space. |
| obsolete | yes/ | Used to indicate ability is obsolete and prevents category inclusion. |
When making a new article, copy the text below into the edit window and fill in the parameter values as appropriate.
{{GuildAbility
|name=
|teacher=
|prereq=
|reqs=
|skill=
|cost=
|desc=
|effect=
|messaging=
|type=
}}