Template:GuildAbility: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(incomplete handling, updated disabling bits, doc updates) |
||
Line 1: | Line 1: | ||
<includeonly>[[page type is::ability| ]]</includeonly> |
<includeonly><!-- Adds Incomplete template if non-optional information is missing-->{{#if: {{#show: {{FULLPAGENAME}} | ?missing }} | {{Incomplete}} | }}[[page type is::ability| ]]</includeonly> |
||
{| style="float:right" |
{| style="float:right" |
||
|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}} |
|{{#if:{{{guild|}}}|{{#arraymaptemplate:{{{guild}}}|GuildAbilityGuild|,|}}}} |
||
Line 5: | Line 5: | ||
{| 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|}}} | {{{name}}} Infobox | {{PAGENAME}} Infobox }}''' |
||
! width=30% style="background:#B9B59C"| |
! width=30% style="background:#B9B59C"| |
||
|- |
|- |
||
{{# |
{{#switch: {{lc: {{{teacher}}} }} | n | -= | ! style="text-align:left" {{!}} '''Teacher:''' |
||
{{!}} colspan=2 {{!}}{{#if:{{{teacher|}}}|{{#switch:{{lc:{{{teacher}}}}}|any=Any Guildleader|{{#arraymap:{{{teacher}}}|,|x|[[teacher is::x]]}}}}|''Unknown''}}}} |
{{!}} colspan=2 {{!}} {{#if: {{{teacher|}}} | {{#switch: {{lc: {{{teacher}}} }} | any=Any Guildleader | {{#arraymap: {{{teacher}}} | , | x | [[teacher is::x]] }} }} | [[missing::Infobox entry on teacher|''Unknown'']] }} }} |
||
|- |
|- |
||
! style="text-align:left" | '''Requirements:''' |
! style="text-align:left" | '''Requirements:''' |
||
| colspan=2 | {{#if:{{{reqs|}}} | {{#switch:{{lc:{{{reqs}}}}} | n=None | {{{reqs}}}}} | ''Unknown''}} |
| colspan=2 | {{#if: {{{reqs|}}} | {{#switch: {{lc: {{{reqs}}} }} | n | -=None | {{{reqs}}}}} | [[missing::Infobox entry on prerequsites|''Unknown'']] }} |
||
|- |
|- |
||
{{# |
{{#switch: {{lc: {{{cost}}} }} | n | -= | ! style="text-align:left" {{!}} '''Cost To Use:''' |
||
{{!}} colspan=2 {{!}} {{#if:{{{cost|}}}|{{{cost}}}|''Unknown''}}}} |
{{!}} colspan=2 {{!}} {{#if: {{{cost|}}} | {{{cost}}} | [[missing::Infobox entry on cost to use|''Unknown'']] }} }} |
||
|- |
|- |
||
{{# |
{{#switch: {{lc: {{{desc}}} }} | n | -= | ! style="text-align:left" {{!}} '''Description:''' |
||
{{!}} colspan=2 {{!}} {{#if:{{{desc|}}}|{{{desc}}}|''Unknown''}}}} |
{{!}} colspan=2 {{!}} {{#if: {{{desc|}}} |{{{desc}}} | [[missing::Infobox entry on guildleader description|''Unknown'']] }} }} |
||
|- |
|- |
||
{{# |
{{#switch: {{lc: {{{effect}}} }} | n | -= | ! style="text-align:left" {{!}} '''Effect:''' |
||
{{!}} colspan=2 {{!}} {{#if:{{{effect|}}}|{{{effect}}}|''Unknown''}}}} |
{{!}} colspan=2 {{!}} {{#if: {{{effect|}}} | {{{effect}}} | [[missing::Infobox entry on effects|''Unknown'']] }} }} |
||
|- |
|- |
||
{{# |
{{#switch: {{lc: {{{messaging}}} }} | n | -= | ! style="text-align:left" {{!}} '''Messaging:''' |
||
{{!}} colspan=2 {{!}} {{#if:{{{messaging|}}}|{{{messaging}}}|''Unknown''}}}} |
{{!}} colspan=2 {{!}} {{#if: {{{messaging|}}} | {{{messaging}}} | [[missing::Infobox entry on messaging|''Unknown'']] }} }} |
||
|- |
|- |
||
{{#if:{{{type|}}}| |! style="text-align:left" {{!}} '''Type:''' |
{{#if: {{{type|}}} | |! style="text-align:left" {{!}} '''Type:''' |
||
{{!}} colspan=2 {{!}} ''Unknown''}} |
{{!}} colspan=2 {{!}} [[missing::Infobox entry on type of ability|''Unknown'']] }} |
||
|}<includeonly>{{#if:{{{type|}}}|{{#arraymaptemplate:{{{type}}}|GuildAbilityType|,|}}}}</includeonly><noinclude> |
|}<includeonly>{{#if: {{{type|}}} | {{#arraymaptemplate: {{{type}}} | GuildAbilityType | , | }} }}</includeonly><noinclude> |
||
This template provides an infobox for all guild ability articles. Notes and commentary should be added on the individual articles via normal article editing. |
This template provides an infobox for all guild ability articles. Notes and commentary should be added on the individual articles via normal article editing. |
||
Line 36: | Line 36: | ||
!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) |
||
|- |
|- |
||
|reqs|| ||Any prequisits to learn. Manually add links to other abilities if needed |
|reqs || -/<reqs> ||Any prequisits to learn. Manually add links to other abilities if needed |
||
|- |
|- |
||
|teacher||any/(teacher)||What NPC(s) teach it. Automatically will add links. If multiple, add names separated by "," and no space. |
|teacher ||-/any/(teacher)||What NPC(s) teach it. Automatically will add links. If multiple, add names separated by "," and no space. |
||
|- |
|- |
||
|cost|| ||The cost required to use it. Please specify what kind of units are used (concentration, voice pulses, etc.) |
|cost || -/<cost> ||The cost required to use it. Please specify what kind of units are used (concentration, voice pulses, etc.) |
||
|- |
|- |
||
|desc|| ||The teaching NPC's description |
|desc || -/<description> ||The teaching NPC's description |
||
|- |
|- |
||
|effect|| ||What is the power's effects? |
|effect || -/<effect> ||What is the power's effects? |
||
|- |
|- |
||
|messaging|| ||The messaging shown when activated |
|messaging || -/<messaging> ||The messaging shown when activated |
||
|- |
|- |
||
|type|| |
|type || -/combo khri/special khri/finesse/potency/subtlety/roar/dance/ ||What kind of ability is it? Separate different entries by "," with no space. |
||
|} |
|} |
||
Line 65: | Line 65: | ||
|type= |
|type= |
||
}} |
}} |
||
</pre> |
</pre>{{cat|Templates}} |
||
</noinclude> |
</noinclude> |
Revision as of 01:48, 14 January 2009
Requirements: | Unknown | |
---|---|---|
Type: | Unknown |
This template provides an infobox for all guild ability articles. Notes and commentary should be added on the individual articles via normal article editing.
Usagage Documentation:
Variable | Supported Values | Usage |
---|---|---|
name | Ability name if different from page name. (optional) | |
reqs | -/<reqs> | Any prequisits to learn. Manually add links to other abilities if needed |
teacher | -/any/(teacher) | What NPC(s) teach it. Automatically will add links. If multiple, add names separated by "," and no space. |
cost | -/<cost> | The cost required to use it. Please specify what kind of units are used (concentration, voice pulses, etc.) |
desc | -/<description> | The teaching NPC's description |
effect | -/<effect> | What is the power's effects? |
messaging | -/<messaging> | The messaging shown when activated |
type | -/combo khri/special khri/finesse/potency/subtlety/roar/dance/ | What kind of ability is it? Separate different entries by "," with no space. |
When making a new article, copy the text below into the edit window and fill in the parameter values as appropriate.
{{GuildAbility |name= |teacher= |reqs= |cost= |desc= |effect= |messaging= |type= }}