Template:GuildAbility: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(91 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<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>
<includeonly>[[Page has default form::Form:GuildAbility| ]]{{#switch:{{{obsolete}}}|y|yes|t|true={{obsolete}}}}<!-- Adds Incomplete template if non-optional information is missing-->{{#switch:{{{obsolete}}}|y|yes|t|true=|{{#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|t|true=|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}}}
|}
|}
{| 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|}}} | {{{name}}} Infobox | {{PAGENAME}} Infobox }}'''
! 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"|
|-
|-
{{#if:{{{abbrev|}}} |
{{#ifeq: {{lc: {{{teacher}}} }} | - | | ! style="text-align:left" {{!}} '''Teacher:'''
! style="text-align:left"{{!}}'''Abbreviation:'''
{{!}} 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: {{{abbrev|}}} | none= | -= | style="font-size:125%"}} {{!}} {{#if:{{{abbrev|}}} | {{#switch:{{lc:{{{abbrev}}}}}| none|-=[[spell abbreviation is::none|-]]|[[spell abbreviation is::{{{abbrev}}}| ]]'''{{uc:<tt>{{{abbrev|}}}</tt>}}'''}} | }}}}
|-
|-
! 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 | {{#switch:{{{obsolete|}}}|y|yes|t|true={{{prereqs|}}}|{{#switch: {{lc:{{{prereqs}}}}}|n|-=None|{{#if:{{{prereqs|}}}|[[prerequisite::{{{prereqs}}}]]|[[missing::Infobox entry on prerequisites|''Unknown'']]}}}}}}
|-
|-
! style="text-align:left" | '''Slot Cost:'''
{{#ifeq:{{{slots|}}}|-||! 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 {{!}} {{#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'']]}}}}}}}}
|-
|-
{{#ifeq: {{lc: {{{cost}}} }} | - | | ! style="text-align:left" {{!}} '''Cost To Use:'''
! style="text-align:left" | '''Difficulty:'''
{{!}} colspan=2 {{!}} {{#if: {{{cost|}}} | {{{cost}}} | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on cost to use|''Unknown'']]}} }} }}
| colspan=2 | {{#if:{{{diff|}}}|{{#switch:{{lc:{{{diff}}}}}|n|-=None|{{#switch:{{{obsolete|}}}|y|yes|t|true={{{diff|}}}|[[ability difficulty is::{{{diff}}}]]}}}}|[[missing::Infobox entry on difficulty|''Unknown'']]}}
|-
! style="text-align:left" | '''Type / Skill:'''
| colspan=2 | {{#switch:{{{obsolete|}}}|y|yes|t|true={{{type|}}} / {{{skill|}}}|{{#if:{{{type|}}}|{{#switch:{{{type}}}|n|-=|{{#arraymaptemplate:{{{type|}}}|GuildAbilityType|,}}}}|[[missing::Infobox entry on type of ability|''Unknown'']]}} / {{#switch:{{{skill|}}}|n|-=-|{{#if:{{{skill|}}}|{{#arraymap:{{lc:{{{skill}}}}}|,|@@@@|[[ability skill is::@@@@]][[Category:@@@@ abilities| {{{name|}}}]]}}|[[missing::Infobox entry on skill of ability|''Unknown'']]}}}}}}
|-
{{#if:{{{cost|}}}{{{costs|}}}|! style="text-align:left" {{!}} '''Use Cost:'''
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{cost|}}}|{{#if:{{{cost|}}}|{{{cost}}}|[[missing::Infobox entry on ability usage cost|''Unknown'']]}}{{#if:{{{costs|}}}|{{#switch:{{{costs}}}|n|-=|[[ability usage cost is::{{{costs}}}| ]]}}|[[missing::Infobox entry on short form ability usage cost| ]]}}}}}}
|-
{{#ifeq:{{{contest1|}}}|-||! style="text-align:left" {{!}} '''Contest:'''
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{contest1|}}} / {{{contest2|}}}|{{#if:{{{contest1|}}}|{{#arraymap:{{{contest1}}}|,|@@@@|[[offensive contest is::@@@@]][[Category:@@@@ contest abilities| ]]|/}}|[[missing::Infobox entry on offensive stat contest|''Unknown'']]}} vs. {{#if:{{{contest2|}}}|{{#arraymap:{{{contest2}}}|,|@@@@|[[defensive contest is::@@@@]][[Category:@@@@ contest abilities| ]]|/}}|[[missing::Infobox entry on defensive stat contest|''Unknown'']]}}}}}}
|-
{{#ifeq: {{lc: {{{path|}}} }} | - | | ! style="text-align:left" {{!}} '''Path:'''
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{path|}}}|{{#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 guildleader description|''Unknown'']]}} }} }}
{{!}} 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|}}} | {{{effect}}} | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on effects|''Unknown'']]}} }} }}
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{effect|}}}| {{#if:{{{buffs|}}}{{{debuffs|}}}{{{dtype|}}}{{{htype|}}}{{{effect|}}} | {{#if:{{{effect|}}} | [[ability effect is::{{effect|{{{buffs|}}}|{{{debuffs|}}}|{{{dtype|}}}|{{{htype|}}}|{{{effect}}}}}]] | [[ability effect is::{{effect|{{{buffs|}}}|{{{debuffs|}}}|{{{dtype|}}}|{{{htype|}}}}}]] }} | <includeonly>[[missing::Infobox entry on effects| ]]''[[ability effect is::Unknown]]''</includeonly>}} }} }}
|-
|-
{{#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|yes|true=|[[missing::Infobox entry on messaging|''Unknown'']]}} }} }}
|-
|}{{
#if:{{{buffs|}}}|{{#switch:{{{buffs|}}}|No buffs|-= |{{#arraymap:{{{buffs}}}|,|@@@@|[[boosts::@@@@| ]]| }} }}
{{#if: {{{type|}}} | |! style="text-align:left" {{!}} '''Type:'''
}}{{
{{!}} 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>
#if:{{{debuffs|}}}|{{#switch:{{{debuffs|}}}|No debuffs|-= |{{#arraymap:{{{debuffs}}}|,|@@@@|[[debuffs::@@@@| ]]| }} }}
}}{{
This template provides an infobox for all guild ability articles. Notes and commentary should be added on the individual articles via normal article editing.
#if:{{{dtype|}}}|{{#switch:{{{dtype|}}}|No damage|-= |{{#arraymap:{{{dtype}}}|,|@@@@|[[Damage type::@@@@| ]]| }} }}
}}{{
#if:{{{htype|}}}|{{#switch:{{{htype|}}}|No heal|-= |{{#arraymap:{{{htype}}}|,|@@@@|[[Heal type::@@@@| ]]| }} }}
}}
{{#switch:{{lc:{{{skill|}}}}}
|augmentation={{Cat|Beneficial abilities}}
|debilitation={{Cat|Debilitating abilities}}
|targeted={{Cat|Damaging abilities}}
|utility=
|warding={{Cat|Beneficial abilities}}
}}


<noinclude>
==Usagage Documentation:==
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.

==Usage Documentation:==
{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
|-
|-
Line 41: Line 68:
|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.
|-
|slots || -/# || The number of ability slots to gain.
|-
|-
|cost || -/<cost> || The cost to use the ability described in full.
|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.)
|costs || -/<cost> || Short form of the cost entry (no links)
|-
|-
|desc || -/<description> ||The teaching NPC's description
|desc || -/<description> ||The teaching NPC's description of the ability.
|-
|-
|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
|-
|-
|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.
|type || -/combo khri/special khri/commune/finesse/potency/subtlety/roar/form/berserk/meditation/ritual ||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.
|obsolete||yes/|| Used to indicate ability is obsolete and prevents category inclusion.
Line 63: Line 94:
|name=
|name=
|teacher=
|teacher=
|prereq=
|reqs=
|reqs=
|skill used
|skill=
|slots=
|cost=
|cost=
|costs=
|desc=
|desc=
|effect=
|effect=

Latest revision as of 20:10, 20 January 2023

GuildAbility
Requirements: Unknown
Slot Cost: Unknown
Difficulty: Unknown
Type / Skill: Unknown / Unknown
Contest: Unknown vs. Unknown
Path: Unknown
Description: Unknown
Effect:
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.

Usage 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.
slots -/# The number of ability slots to gain.
cost -/<cost> The cost to use the ability described in full.
costs -/<cost> Short form of the cost entry (no links)
desc -/<description> The teaching NPC's description of the ability.
effect -/<effect> What is the power's effect?
messaging -/<messaging> The messaging shown when activated
type -/combo khri/special khri/commune/finesse/potency/subtlety/roar/form/berserk/meditation/ritual 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=
|slots=
|cost=
|costs=
|desc=
|effect=
|messaging=
|type=
}}