Template:GuildAbility: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(106 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<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>
<includeonly>[[page type is::ability| ]]</includeonly>
{| style="float:right"
{| style="float:right"
|{{#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}}}}}| n | | ! style="text-align:left" {{!}} '''Teacher:'''
! style="text-align:left"{{!}}'''Abbreviation:'''
{{!}} colspan=2 {{!}}{{#if:{{{teacher|}}}|{{#switch:{{lc:{{{teacher}}}}}|any=Any Guildleader|{{#arraymap:{{{teacher}}}|,|x|[[teacher is::x]]}}}}|''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}}}}} | ''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:{{lc:{{{cost}}}}}| n | | ! style="text-align:left"{{!}}'''Cost To Use:'''
{{#ifeq:{{{slots|}}}|-||! style="text-align:left" {{!}} '''Slot Cost:'''
{{!}} colspan=2 {{!}} {{#if:{{{cost|}}}|{{{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:{{{desc}}}}}| n | | ! style="text-align:left"|'''Description:'''
! style="text-align:left" | '''Difficulty:'''
{{!}} colspan=2 {{!}} {{#if:{{{desc|}}}|{{{desc}}}|''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'']]}}
|-
|-
{{#ifeq:{{lc:{{{effect}}}}}| n | | ! style="text-align:left"|'''Effect:'''
! 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'']]}}}}}}
{{!}} colspan=2 {{!}} {{#if:{{{effect|}}}|{{{effect}}}|''Unknown''}}}}
|-
|-
{{#ifeq:{{lc:{{{messaging}}}}}| n | | ! style="text-align:left"|'''Messaging:'''
{{#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| ]]}}}}}}
{{!}} colspan=2 {{!}} {{#if:{{{messaging|}}}|{{{messaging}}}|''Unknown''}}}}
|-
|-
{{#if:{{{type|}}}| |! style="text-align:left" {{!}} '''Type:'''
{{#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'']]}}}}}}
{{!}} colspan=2 {{!}} ''Unknown''}}
|-
|}<includeonly>{{#if:{{{type|}}}|{{#arraymaptemplate:{{{type}}}|GuildAbilityType|,|}}}}</includeonly><noinclude>
{{#ifeq: {{lc: {{{path|}}} }} | - | | ! style="text-align:left" {{!}} '''Path:'''
This template provides an infobox for all guild ability articles. Notes and commentary should be added on the individual articles via normal article editing.
{{!}} 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:'''
{{!}} 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:'''
{{!}} 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:'''
{{!}} 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:{{{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}}
}}


<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"
|-
|-
!Variable!!Supported Values!!Usage
!Variable!!Supported Values!!Usage
|-
|-
|name|| ||Ability name if different from page name
|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.
|reqs|| ||Any prequisits to learn. Manually add links to other abilities if needed
|-
|-
|costs || -/<cost> || Short form of the cost entry (no links)
|teacher||any/(teacher)||What NPC(s) teach it. Automatically will add links. If multiple, add names separated by "," and no space.
|-
|-
|desc || -/<description> ||The teaching NPC's description of the ability.
|cost|| ||The cost required to use it. Please specify what kind of units are used (concentration, voice pulses, etc.)
|-
|-
|effect || -/<effect> ||What is the power's effect?
|desc|| ||The teaching NPC's description
|-
|-
|messaging || -/<messaging> ||The messaging shown when activated
|effect|| ||What is the power's effects?
|-
|-
|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.
|messaging|| ||The messaging shown when activated
|-
|-
|obsolete||yes/|| Used to indicate ability is obsolete and prevents category inclusion.
|type||n/combo khri/special khri/finesse/potency/subtlety/roar/dance/||What kind of ability is it? Separate different entries by "," with no space.
|}
|}


Line 58: Line 94:
|name=
|name=
|teacher=
|teacher=
|prereqs=
|prereq=
|reqs=
|skill=
|slots=
|cost=
|cost=
|costs=
|desc=
|desc=
|effect=
|effect=
Line 65: Line 105:
|type=
|type=
}}
}}
</pre>[[Category:Templates|{{PAGENAME}}]]
</pre>{{cat|Templates}}
</noinclude>
</noinclude>

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