Template:GuildAbility: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(incomplete handling, updated disabling bits, doc updates)
(bugfix....#switch is behaving very oddly)
Line 8: Line 8:
! width=30% style="background:#B9B59C"|
! width=30% style="background:#B9B59C"|
|-
|-
{{#switch: {{lc: {{{teacher}}} }} | n | -= | ! style="text-align:left" {{!}} '''Teacher:'''
{{#ifeq: {{lc: {{{teacher}}} }} | - | | ! style="text-align:left" {{!}} '''Teacher:'''
{{!}} colspan=2 {{!}} {{#if: {{{teacher|}}} | {{#switch: {{lc: {{{teacher}}} }} | any=Any Guildleader | {{#arraymap: {{{teacher}}} | , | x | [[teacher is::x]] }} }} | [[missing::Infobox entry on teacher|''Unknown'']] }} }}
{{!}} colspan=2 {{!}} {{#if: {{{teacher|}}} | {{#switch: {{lc: {{{teacher}}} }} | any=Any Guildleader | {{#arraymap: {{{teacher}}} | , | x | [[teacher is::x]] }} }} | [[missing::Infobox entry on teacher|''Unknown'']] }} }}
|-
|-
Line 14: Line 14:
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{{reqs}}}}} | [[missing::Infobox entry on prerequsites|''Unknown'']] }}
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{{reqs}}}}} | [[missing::Infobox entry on prerequsites|''Unknown'']] }}
|-
|-
{{#switch: {{lc: {{{cost}}} }} | n | -= | ! style="text-align:left" {{!}} '''Cost To Use:'''
{{#ifeq: {{lc: {{{cost}}} }} | - | | ! style="text-align:left" {{!}} '''Cost To Use:'''
{{!}} colspan=2 {{!}} {{#if: {{{cost|}}} | {{{cost}}} | [[missing::Infobox entry on cost to use|''Unknown'']] }} }}
{{!}} colspan=2 {{!}} {{#if: {{{cost|}}} | {{{cost}}} | [[missing::Infobox entry on cost to use|''Unknown'']] }} }}
|-
|-
{{#switch: {{lc: {{{desc}}} }} | n | -= | ! style="text-align:left" {{!}} '''Description:'''
{{#ifeq: {{lc: {{{desc}}} }} | - | | ! style="text-align:left" {{!}} '''Description:'''
{{!}} colspan=2 {{!}} {{#if: {{{desc|}}} |{{{desc}}} | [[missing::Infobox entry on guildleader description|''Unknown'']] }} }}
{{!}} colspan=2 {{!}} {{#if: {{{desc|}}} |{{{desc}}} | [[missing::Infobox entry on guildleader description|''Unknown'']] }} }}
|-
|-
{{#switch: {{lc: {{{effect}}} }} | n | -= | ! style="text-align:left" {{!}} '''Effect:'''
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:'''
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | {{{effect}}} | [[missing::Infobox entry on effects|''Unknown'']] }} }}
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | {{{effect}}} | [[missing::Infobox entry on effects|''Unknown'']] }} }}
|-
|-
{{#switch: {{lc: {{{messaging}}} }} | n | -= | ! style="text-align:left" {{!}} '''Messaging:'''
{{#ifeq: {{lc: {{{messaging}}} }} | - | | ! style="text-align:left" {{!}} '''Messaging:'''
{{!}} colspan=2 {{!}} {{#if: {{{messaging|}}} | {{{messaging}}} | [[missing::Infobox entry on messaging|''Unknown'']] }} }}
{{!}} colspan=2 {{!}} {{#if: {{{messaging|}}} | {{{messaging}}} | [[missing::Infobox entry on messaging|''Unknown'']] }} }}
|-
|-

Revision as of 01:52, 14 January 2009

GuildAbility Infobox
Teacher: Unknown
Requirements: 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/dance/ What kind of ability is it? Separate different entries by "," with no space.

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=
}}