Template:GuildAbility: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(120 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"
|{{#switch:{{{obsolete}}}|y|yes|t|true=|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}}}}
|{{#if:{{{guild|}}}|{{GuildThumb|{{#switch:{{lc:{{{guild}}}}}|bard|barbarian|cleric|empath|ranger|paladin|thief|trader={{ucfirst:{{{guild}}}}}[[guild association is::{{{guild}}}| ]]|war mage|warrior mage=Warrior Mage[[guild association is::warrior mage| ]]|moon mage=Moon Mage[[guild association is::moon mage| ]]}}}}
|}
|}
{| 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"|{{#switch:{{lc:{{{special}}}}}|y|yes='''[S]'''}}
! width=30% style="background:#B9B59C"|
|-
|-
{{#if:{{{abbrev|}}} |
! style="text-align:left" | '''{{#switch:{{lc:{{{combo}}}}}|y|yes=Pillars:|Requirements:}}'''
! style="text-align:left"{{!}}'''Abbreviation:'''
| colspan=2 | {{#if:{{{reqs|}}} | {{#switch:{{lc:{{{reqs}}}}} | n=None | {{{reqs}}}}} | ''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:'''
{{#switch:{{lc:{{{teacher}}}}}|n= | {{!}} style="text-align:left" {{!}} '''Teacher:''' {{!}}{{!}} colspan=2 {{!}} {{#if:{{{teacher|}}}|{{#switch:{{lc:{{{teacher}}}}}|any=Any|[[teacher is::{{{teacher}}}]]}}|''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'']]}}}}}}
|-
|-
{{#switch: {{lc:{{{cost}}}}}|n= |! style="text-align:left"{{!}}'''{{#switch:{{lc:{{{guild|}}}}}|thief=Concentration Cost|barbarian=Voice Level Cost|ranger=Alignment Required}}:''' {{!}}{{!}} colspan=2 {{!}} {{#if:{{{cost|}}}|{{{cost}}}|''Unknown''}}}}
{{#ifeq:{{{slots|}}}|-||! style="text-align:left" {{!}} '''Slot Cost:'''
{{!}} 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'']]}}}}}}}}
|-
|-
! 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'']]}}
|-
|-
! 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''}}
|-
|-
! 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''}}
|-
|}<includeonly>[[Category:Khri|{{PAGENAME}}]]{{#switch:{{lc:{{{combo}}}}}|y|yes=[[Category:Combination Khri|{{PAGENAME}}]]|}}{{#if:{{{tree|}}}|[[Category:{{{tree}}} Tree|{{PAGENAME}}]]}}{{#switch:{{lc:{{{special|}}}}}|y|yes=[[Category:Special Khri|{{PAGENAME}}]]}}</includeonly><noinclude>
{{#ifeq:{{{contest1|}}}|-||! style="text-align:left" {{!}} '''Contest:'''
This template provides an infobox for khri articles. Notes and commentary should be added on the individual khri articles via normal article editing.
{{!}} 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:'''
{{!}} 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|| ||Khri name if different from page name
|name || ||Ability name if different from page name. (optional)
|-
|prereqs || -/# || Number of previous required abilities
|-
|-
|prereqs|| ||Any prequisits to learn. Manually add links to other khris if needed
|reqs || -/<reqs> ||Any prequisits needed to learn. Do not add links.
|-
|-
|slots || -/# || The number of ability slots to gain.
|teacher||any/(teacher)||What NPC(s) teach it. Automatically will add links.
|-
|-
|cost|| ||The concentration cost to activate
|cost || -/<cost> || The cost to use the ability described in full.
|-
|-
|costs || -/<cost> || Short form of the cost entry (no links)
|desc|| ||The teaching NPC's description
|-
|-
|desc || -/<description> ||The teaching NPC's description of the ability.
|effect|| ||What is the power's effects?
|-
|-
|effect || -/<effect> ||What is the power's effect?
|messaging|| ||The messaging shown when activated
|-
|-
|messaging || -/<messaging> ||The messaging shown when activated
|tree|| ||What tree is the khri part of?
|-
|-
|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.
|combo||y/yes/n/no||Is it a combination khri?
|-
|-
|obsolete||yes/|| Used to indicate ability is obsolete and prevents category inclusion.
|special||y/yes/n/no||Is it a special type of khri?
|}
|}


When making a new khri article, copy the text below into the edit window and fill in the parameter values as appropriate.
When making a new article, copy the text below into the edit window and fill in the parameter values as appropriate.
<pre>
<pre>
{{GuildAbility
{{khri
|name=
|name=
|prereqs=
|teacher=
|teacher=
|prereq=
|reqs=
|skill=
|slots=
|cost=
|cost=
|costs=
|desc=
|desc=
|effect=
|effect=
|messaging=
|messaging=
|tree=
|type=
|combo=
|special=
}}
}}
</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=
}}