Template:GuildAbility: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(80 intermediate revisions by 4 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}}} | {{PAGENAME}} }}''' |
! 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|}}} | |
|||
! style="text-align:left" | '''{{#if:{{{prereqs|}}}|Prerequisite:|Requirements:}}''' |
|||
! style="text-align:left"{{!}}'''Abbreviation:''' |
|||
| colspan=2 | {{#if: {{{prereqs|}}}{{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{#if:{{{prereqs|}}}|[[prerequisite::{{{prereqs}}}]]|{{{reqs}}} }} }} | {{#switch:{{{obsolete}}}|y|yes|true=|[[missing::Infobox entry on prerequsites|''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" | ''' |
! style="text-align:left" | '''Requirements:''' |
||
| colspan=2 | {{# |
| 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" |
{{#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" | '''Difficulty:''' |
|||
| 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 |
{{!}} 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 {{!}} {{# |
{{!}} 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}} |
|||
}} |
|||
<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. |
||
== |
==Usage Documentation:== |
||
{| border="1" cellpadding="3" |
{| border="1" cellpadding="3" |
||
|- |
|- |
||
Line 44: | Line 72: | ||
|reqs || -/<reqs> ||Any prequisits needed to learn. Do not add links. |
|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. |
|desc || -/<description> ||The teaching NPC's description of the ability. |
||
|- |
|- |
||
|effect || -/<effect> ||What is the power's effect? |
|effect || -/<effect> ||What is the power's effect? |
||
Line 52: | 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. |
||
Line 64: | Line 96: | ||
|prereq= |
|prereq= |
||
|reqs= |
|reqs= |
||
|skill |
|skill= |
||
|slots= |
|||
|cost= |
|cost= |
||
|costs= |
|||
|desc= |
|desc= |
||
|effect= |
|effect= |
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= }}