Template:GuildAbility: Difference between revisions
Jump to navigation
Jump to search
(Added handling for beneficial/debilitating/damaging categorization) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
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 |
| 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 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:: |
{{!}} 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 50: | Line 50: | ||
#if:{{{htype|}}}|{{#switch:{{{htype|}}}|No heal|-= |{{#arraymap:{{{htype}}}|,|@@@@|[[Heal type::@@@@| ]]| }} }} |
#if:{{{htype|}}}|{{#switch:{{{htype|}}}|No heal|-= |{{#arraymap:{{{htype}}}|,|@@@@|[[Heal type::@@@@| ]]| }} }} |
||
}} |
}} |
||
{{#switch:{{lc:{{{skill|}}} |
{{#switch:{{lc:{{{skill|}}}}} |
||
|augmentation={{Cat|Beneficial abilities}} |
|augmentation={{Cat|Beneficial abilities}} |
||
|debilitation={{Cat|Debilitating abilities}} |
|debilitation={{Cat|Debilitating abilities}} |
||
Line 84: | Line 84: | ||
|messaging || -/<messaging> ||The messaging shown when activated |
|messaging || -/<messaging> ||The messaging shown when activated |
||
|- |
|- |
||
|type || -/combo khri/special khri/commune/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
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= }}