Template:GuildAbility: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[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>
<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|t|true=|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}}}
|{{#switch:{{{obsolete}}}|y|yes|t|true=|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}}}
Line 13: Line 13:
|-
|-
! style="text-align:left" | '''Requirements:'''
! style="text-align:left" | '''Requirements:'''
| colspan=2 | {{#switch:{{{obsolete|}}}|y|yes|t|true={{{prereqs|}}}|{{#switch: {{lc:{{{prereqs}}}}}|n|-=None|{{#if:{{{prereqs|}}}|[[prerequisite::{{{prereqs}}}]]|[[missing::Infobox entry on prerequisits|''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'']]}}}}}}
|-
|-
{{#ifeq:{{{slots|}}}|-||! style="text-align:left" {{!}} '''Slot Cost:'''
{{#ifeq:{{{slots|}}}|-||! style="text-align:left" {{!}} '''Slot Cost:'''
Line 22: Line 22:
|-
|-
! style="text-align:left" | '''Type / Skill:'''
! 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| ]]}}|[[missing::Infobox entry on skill of ability|''Unknown'']]}}}}}}
| 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:'''
{{#if:{{{cost|}}}{{{costs|}}}|! style="text-align:left" {{!}} '''Use Cost:'''
Line 28: Line 28:
|-
|-
{{#ifeq:{{{contest1|}}}|-||! style="text-align:left" {{!}} '''Contest:'''
{{#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|}}}|[[defensive contest is::{{{contest2}}}]][[Category:{{{contest2}}} contest abilities| ]]|[[missing::Infobox entry on defensive stat contest|''Unknown'']]}}}}}}
{{!}} 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:'''
{{#ifeq: {{lc: {{{path|}}} }} | - | | ! style="text-align:left" {{!}} '''Path:'''
Line 37: Line 37:
|-
|-
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:'''
{{#ifeq: {{lc: {{{effect}}} }} | - | | ! style="text-align:left" {{!}} '''Effect:'''
{{!}} colspan=2 {{!}} {{#switch:{{{obsolete|}}}|y|yes|t|true={{{effect|}}}|{{#if: {{{effect|}}} | [[ability effect is::{{{effect}}}]] | [[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'']]}} }} }}
|}{{
|}<includeonly>
#if:{{{buffs|}}}|{{#switch:{{{buffs|}}}|No buffs|-= |{{#arraymap:{{{buffs}}}|,|@@@@|[[boosts::@@@@| ]]| }} }}
}}{{
#if:{{{debuffs|}}}|{{#switch:{{{debuffs|}}}|No debuffs|-= |{{#arraymap:{{{debuffs}}}|,|@@@@|[[debuffs::@@@@| ]]| }} }}
}}{{
#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}}
}}


</includeonly><noinclude>
<noinclude>
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.
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.


Line 69: Line 84:
|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.

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