Template:GuildAbility: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(adding obsolete field)
No edit summary
Line 1: Line 1:
<includeonly>[[has default form::Form:GuildAbility| ]]<!-- Adds Incomplete template if non-optional information is missing-->{{#switch:{{{obsolete}}}y|yes|true=|{{#if: {{#show: {{FULLPAGENAME}} | ?missing }} | {{Incomplete}} | }}}}[[page type is::ability| ]]</includeonly>
<includeonly>[[has default form::Form:GuildAbility| ]]<!-- Adds Incomplete template if non-optional information is missing-->{{#switch:{{{obsolete}}}|y=|{{#if: {{#show: {{FULLPAGENAME}} | ?missing }} | {{Incomplete}} | }}}}[[page type is::ability| ]]</includeonly>
{| style="float:right"
{| style="float:right"
|{{#switch:{{{obsolete}}}y|yes|true=|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}}}
|{{#switch:{{{obsolete}}}|y|yes|true=|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}}}
|}
|}
{| class=wikitable width=60%
{| class=wikitable width=60%
Line 9: Line 9:
|-
|-
{{#ifeq: {{lc: {{{teacher}}} }} | - | | ! style="text-align:left" {{!}} '''Teacher:'''
{{#ifeq: {{lc: {{{teacher}}} }} | - | | ! style="text-align:left" {{!}} '''Teacher:'''
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete}}}y|yes|true=|{{#if: {{{teacher|}}} | {{#switch: {{lc: {{{teacher}}} }} | any=Any Guildleader | {{#arraymap: {{{teacher}}} | , | x | [[teacher is::x]] }} }} | [[missing::Infobox entry on teacher|''Unknown'']] }} }}}}
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete}}}|y=|{{#if: {{{teacher|}}} | {{#switch: {{lc: {{{teacher}}} }} | any=Any Guildleader | {{#arraymap: {{{teacher}}} | , | x | [[teacher is::x]] }} }} | [[missing::Infobox entry on teacher|''Unknown'']] }} }}}}
|-
|-
! style="text-align:left" | '''Requirements:'''
! style="text-align:left" | '''Requirements:'''
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{{reqs}}}}} | {{#switch:{{{obsolete}}}y|yes|true=|[[missing::Infobox entry on prerequsites|''Unknown'']]}} }}
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{{reqs}}}}} | {{#switch:{{{obsolete}}}|y=|[[missing::Infobox entry on prerequsites|''Unknown'']]}} }}
|-
|-
! style="text-align:left" | '''Slot Cost:'''
! style="text-align:left" | '''Slot Cost:'''
| colspan=2 | {{#if: {{{slots|}}} | {{#switch: {{lc: {{{slots}}} }} | n | -=None | {{{slots}}}}} | {{#switch:{{{obsolete}}}y|yes|true=|[[missing::Infobox entry on slot cost|''Unknown'']] }}}}
| colspan=2 | {{#if: {{{slots|}}} | {{#switch: {{lc: {{{slots}}} }} | n | -=None | {{{slots}}}}} | {{#switch:{{{obsolete}}}|y=|[[missing::Infobox entry on slot cost|''Unknown'']] }}}}
|-
|-
{{#ifeq: {{lc: {{{cost}}} }} | - | | ! style="text-align:left" {{!}} '''Cost To Use:'''
{{#ifeq: {{lc: {{{cost}}} }} | - | | ! style="text-align:left" {{!}} '''Cost To Use:'''
{{!}} colspan=2 {{!}} {{#if: {{{cost|}}} | {{{cost}}} | {{#switch:{{{obsolete}}}y|yes|true=|[[missing::Infobox entry on cost to use|''Unknown'']]}} }} }}
{{!}} colspan=2 {{!}} {{#if: {{{cost|}}} | {{{cost}}} | {{#switch:{{{obsolete}}}|y=|[[missing::Infobox entry on cost to use|''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 guildleader description|''Unknown'']]}} }} }}
{{!}} colspan=2 {{!}} {{#if: {{{desc|}}} |{{{desc}}} | {{#switch:{{{obsolete}}}|y=|[[missing::Infobox entry on guildleader description|''Unknown'']]}} }} }}
|-
|-
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:'''
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:'''
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | {{{effect}}} | {{#switch:{{{obsolete}}}y|yes|true=|[[missing::Infobox entry on effects|''Unknown'']]}} }} }}
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | {{{effect}}} | {{#switch:{{{obsolete}}}|y=|[[missing::Infobox entry on effects|''Unknown'']]}} }} }}
|-
|-
{{#ifeq: {{lc: {{{messaging}}} }} | - | | ! style="text-align:left" {{!}} '''Messaging:'''
{{#ifeq: {{lc: {{{messaging}}} }} | - | | ! style="text-align:left" {{!}} '''Messaging:'''
{{!}} colspan=2 {{!}} {{#if: {{{messaging|}}} | {{{messaging}}} | {{#switch:{{{obsolete}}}y|yes|true=|[[missing::Infobox entry on messaging|''Unknown'']]}} }} }}
{{!}} colspan=2 {{!}} {{#if: {{{messaging|}}} | {{{messaging}}} | {{#switch:{{{obsolete}}}|y=|[[missing::Infobox entry on messaging|''Unknown'']]}} }} }}
|-
|-
{{#if: {{{type|}}} | |! style="text-align:left" {{!}} '''Type:'''
{{#if: {{{type|}}} | |! style="text-align:left" {{!}} '''Type:'''
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete}}}y|yes|true=|[[missing::Infobox entry on type of ability|''Unknown'']]}} }}
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete}}}|y=|[[missing::Infobox entry on type of ability|''Unknown'']]}} }}
|}<includeonly>{{#switch:{{{obsolete}}}y|yes|true=|{{#if: {{{type|}}} | {{#arraymaptemplate: {{{type}}} | GuildAbilityType | , | }} }} }}</includeonly><noinclude>
|}<includeonly>{{#switch:{{{obsolete}}}|y=|{{#if: {{{type|}}} | {{#arraymaptemplate: {{{type}}} | GuildAbilityType | , | }} }} }}</includeonly><noinclude>
This template provides an infobox for all guild ability articles. Notes and commentary should be added on the individual articles via normal article editing.
This template provides an infobox for all guild ability articles. Notes and commentary should be added on the individual articles via normal article editing.



Revision as of 05:52, 28 May 2013

GuildAbility Infobox
Teacher: Unknown
Requirements: Unknown
Slot Cost: Unknown
Cost To Use: Unknown
Description: Unknown
Effect: Unknown
Messaging: Unknown
Type: Unknown

This template provides an infobox for all guild ability articles. 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)
reqs -/<reqs> Any prequisits to learn. Manually add links to other abilities if needed
teacher -/any/(teacher) What NPC(s) teach it. Automatically will add links. If multiple, add names separated by "," and no space.
cost -/<cost> The cost required to use it. Please specify what kind of units are used (concentration, voice pulses, etc.)
desc -/<description> The teaching NPC's description
effect -/<effect> What is the power's effects?
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=
|reqs=
|cost=
|desc=
|effect=
|messaging=
|type=
}}