Template:GuildAbility: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(adapting to modern abilities)
Line 8: Line 8:
! width=30% style="background:#B9B59C"|
! width=30% style="background:#B9B59C"|
|-
|-
{{#ifeq: {{lc: {{{teacher}}} }} | - | | ! style="text-align:left" {{!}} '''Teacher:'''
! style="text-align:left" | '''{{#if:{{{prereqs|}}}|Prerequisite:|Requirements:}}'''
{{!}} 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 | {{#if: {{{prereq|}}}{{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{#if:{{{prereqs|}}}|[[prerequisite::{{{prereqs}}}]]|{{{reqs}}} }} }} | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on prerequsites|''Unknown'']]}} }}
|-
|-
! style="text-align:left" | '''Requirements:'''
! style="text-align:left" | '''Cost:'''
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{{reqs}}}}} | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on prerequsites|''Unknown'']]}} }}
| colspan=2 | {{#if: {{{slots|}}} | {{#switch: {{lc: {{{slots}}} }} | n | -=None | [[slot cost is::{{{slots}}}}}]] | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on slot cost|''Unknown'']] }}}}
|-
! 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'']] }}}}
|-
{{#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'']]}} }} }}
|-
|-
{{#ifeq: {{lc: {{{desc}}} }} | - | | ! style="text-align:left" {{!}} '''Description:'''
{{#ifeq: {{lc: {{{desc}}} }} | - | | ! style="text-align:left" {{!}} '''Description:'''
Line 31: Line 25:
{{#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|yes|true=|[[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|yes|true=|{{#if: {{{type|}}} | {{#arraymaptemplate: {{{type}}} | GuildAbilityType\Type | , | }} }} }}</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 non-magical ability articles for all guilds. Notes and commentary should be added on the individual articles via normal article editing.


==Usagage Documentation:==
==Usagage Documentation:==
Line 41: Line 35:
|name || ||Ability name if different from page name. (optional)
|name || ||Ability name if different from page name. (optional)
|-
|-
|reqs || -/<reqs> ||Any prequisits to learn. Manually add links to other abilities if needed
|prereqs || -/# || Number of previous required abilities
|-
|-
|reqs || -/<reqs> ||Any prequisits needed to learn. Do not add links.
|teacher ||-/any/(teacher)||What NPC(s) teach it. Automatically will add links. If multiple, add names separated by "," and no space.
|-
|-
|cost= || The number of ability slots to gain.
|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
|desc || -/<description> ||The teaching NPC's description.
|-
|-
|effect || -/<effect> ||What is the power's effects?
|effect || -/<effect> ||What is the power's effect?
|-
|-
|messaging || -/<messaging> ||The messaging shown when activated
|messaging || -/<messaging> ||The messaging shown when activated
Line 63: Line 57:
|name=
|name=
|teacher=
|teacher=
|prereq=
|reqs=
|reqs=
|skill used=
|skill used=

Revision as of 19:19, 5 July 2014

GuildAbility
Requirements: Unknown
Cost: {{#if: | Unknown
Description: Unknown
Effect: Unknown
Messaging: Unknown
Type: 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 used=
|cost=
|desc=
|effect=
|messaging=
|type=
}}