Dr ishmael (talk | contribs) m (add specific Effect type) |
No edit summary |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
</noinclude><div class="fakeh2">Effect details</div> |
</noinclude><div class="fakeh2">Effect details</div> |
||
{| class="infobox skillbox" |
{| class="infobox skillbox" |
||
− | ! class="name" style="background: #eeee90" | {{{name}}} |
+ | ! class="name" style="background: #eeee90" | {{{name|{{PAGENAME}}}}} |
|- |
|- |
||
− | | style="text-align:center;" | {{{icon|[[Image:{{{name|{{PAGENAME}}}}}.jpg]]}}} |
+ | | style="text-align:center;" | {{{icon|[[Image:{{{icon-name|{{{name|{{PAGENAME}}}}}}}}.jpg]]}}} |
|- |
|- |
||
+ | | {{#if:{{{flux date|}}}|{{#cargo_store:_table=Flux_dates|Flux_date={{#time: j M Y | {{{flux date}}}}}}}}} |
||
− | | |
||
{| class="skillproperties" |
{| class="skillproperties" |
||
− | | |
+ | |class="type"| [[Campaign]]: ||class="typedata"| [[{{{campaign|Core}}}]] |
|- |
|- |
||
{{#if: {{{type|}}} | |
{{#if: {{{type|}}} | |
||
− | {{ |
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}}{{#switch: {{lc:{{{type}}}}} |
| blessing = [[Blessing]] |
| blessing = [[Blessing]] |
||
| bounty = [[Bounty]] |
| bounty = [[Bounty]] |
||
Line 22: | Line 22: | ||
| disguise = [[Disguise]] |
| disguise = [[Disguise]] |
||
| environment effect = [[Environment Effect]] |
| environment effect = [[Environment Effect]] |
||
+ | | object = [[Object]] effect |
||
| title = [[Title]] effect |
| title = [[Title]] effect |
||
| effect = [[Effect]] |
| effect = [[Effect]] |
||
| <!-- Default --> [[Effect]]}}<!--end switch {{{type}}}--> |
| <!-- Default --> [[Effect]]}}<!--end switch {{{type}}}--> |
||
− | {{ |
+ | {{!}}- |
− | {{#if: {{{bundle|}}} | {{ |
+ | {{#if: {{{bundle|}}} | {{!}} class="type" {{!}} Bundle: {{2pipe}}class="typedata"{{!}} [[{{{bundle}}}]]|}} |
− | {{#if: {{{consumable|}}} | {{ |
+ | {{#if: {{{consumable|}}} | {{!}} class="type" {{!}} Consumable: {{2pipe}}class="typedata"{{!}} {{#ifexist:{{{consumable}}}|[[{{{consumable}}}]]|{{{consumable}}}}} }} |
− | {{#if: {{{god|}}} | {{ |
+ | {{#if: {{{god|}}} | {{!}} class="type" {{!}} [[Gods of Tyria|God]]: {{2pipe}}class="typedata"{{!}} [[{{{god}}}]]|}} |
− | {{#if: {{{ |
+ | {{#if: {{{object|}}} | {{!}} class="type" {{!}} Object: {{2pipe}}class="typedata"{{!}} {{#ifexist:{{{object}}}|[[{{{object}}}]]|{{{object}}}}} }} |
− | {{#if: {{{ |
+ | {{#if: {{{reputation|}}} | {{!}} class="type" {{!}} Reputation: {{2pipe}}class="typedata"{{!}} [[{{{reputation}}}]]|}} |
+ | {{#if: {{{title|}}} | {{!}} class="type" {{!}} Title: {{2pipe}}class="typedata"{{!}} [[{{{title}}}]]|}} |
||
|<!--if not {{{type|}}}--> |
|<!--if not {{{type|}}}--> |
||
{{#if: {{{bundle|}}} |<!--Long if-else chain--> |
{{#if: {{{bundle|}}} |<!--Long if-else chain--> |
||
− | {{ |
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}} [[Bundle]] effect |
− | {{ |
+ | {{!}}- |
− | {{ |
+ | {{!}} class="type" {{!}} Bundle: {{2pipe}}class="typedata"{{!}} [[{{{bundle}}}]] | |
{{#if: {{{consumable|}}} | |
{{#if: {{{consumable|}}} | |
||
− | {{ |
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}} [[Consumable]] effect |
− | {{ |
+ | {{!}}- |
− | {{ |
+ | {{!}} class="type" {{!}} Consumable: {{2pipe}}class="typedata"{{!}} {{#ifexist:{{{consumable}}}|[[{{{consumable}}}]]|{{{consumable}}} }} | |
{{#if: {{{god|}}} | |
{{#if: {{{god|}}} | |
||
− | {{ |
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}} [[Blessing]] |
− | {{ |
+ | {{!}}- |
− | {{ |
+ | {{!}} class="type" {{!}} [[Gods of Tyria|God]]: {{2pipe}}class="typedata"{{!}} {{#ifeq: {{{god}}} | All | All | [[{{{god}}}]] }} | |
+ | {{#if: {{{object|}}} | |
||
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}} [[Object]] effect |
||
+ | {{!}}- |
||
+ | {{!}} class="type" {{!}} Object: {{2pipe}}class="typedata"{{!}} {{#ifexist:{{{object}}}|[[{{{object}}}]]|{{{object}}} }} | |
||
{{#if: {{{reputation|}}} | |
{{#if: {{{reputation|}}} | |
||
− | {{ |
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}} [[Bounty]] |
− | {{ |
+ | {{!}}- |
− | {{ |
+ | {{!}} class="type" {{!}} Reputation: {{2pipe}}class="typedata"{{!}} [[{{{reputation}}}]] | |
{{#if: {{{title|}}} | |
{{#if: {{{title|}}} | |
||
− | {{ |
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}} [[Title]] effect |
− | {{ |
+ | {{!}}- |
− | {{ |
+ | {{!}} class="type" {{!}} Title: {{2pipe}}class="typedata"{{!}} [[{{{title}}}]] | |
− | {{ |
+ | {{!}} class="type" {{!}} Type: {{2pipe}}class="typedata"{{!}} [[Effect]] }} }} }} }} }} }}<!--End of if-else chain--> |
|}}<!--end if {{{type|}}}--> |
|}}<!--end if {{{type|}}}--> |
||
{{#if: {{{price|}}} | |
{{#if: {{{price|}}} | |
||
− | {{ |
+ | {{!}}- |
− | {{ |
+ | {{!}} class="type" {{!}} Price: {{2pipe}}class="typedata"{{!}} {{{price}}} |
}} |
}} |
||
|} |
|} |
||
|- |
|- |
||
{{#if: {{{extra|}}} | |
{{#if: {{{extra|}}} | |
||
− | {{ |
+ | {{!}} colspan="2" align="center" {{!}} {{{extra}}}|}} |
|} |
|} |
||
{{#ifeq: {{lc:{{{concise_identical}}}}} | yes | {{{full}}} | {{{full}}} |
{{#ifeq: {{lc:{{{concise_identical}}}}} | yes | {{{full}}} | {{{full}}} |
||
Line 79: | Line 85: | ||
| disguise = [[Category:Disguises]] |
| disguise = [[Category:Disguises]] |
||
| environment effect = [[Category:Environment Effects]] |
| environment effect = [[Category:Environment Effects]] |
||
+ | | object = [[Category:Object effects]] |
||
| title = [[Category:Title effects]] |
| title = [[Category:Title effects]] |
||
| effect = [[Category:Effects]] |
| effect = [[Category:Effects]] |
||
Line 87: | Line 94: | ||
{{#if: {{{god|}}} | [[Category:Blessings]] | |
{{#if: {{{god|}}} | [[Category:Blessings]] | |
||
{{#if: {{{reputation|}}} | {{#ifeq:{{{reputation}}}|Sunspear rank|[[Category:Sunspear rank bounties]]|{{#ifeq:{{{reputation}}}|Lightbringer rank|[[Category:Lightbringer rank bounties]]|[[Category:Bounties]]}}}} | |
{{#if: {{{reputation|}}} | {{#ifeq:{{{reputation}}}|Sunspear rank|[[Category:Sunspear rank bounties]]|{{#ifeq:{{{reputation}}}|Lightbringer rank|[[Category:Lightbringer rank bounties]]|[[Category:Bounties]]}}}} | |
||
− | {{#if: {{{title|}}} | [[Category:Title effects]] |
+ | {{#if: {{{title|}}} | [[Category:Title effects]] | |
+ | {{#if: {{{object|}}} | [[Category:Object effects]] | |
||
+ | }} <!-- end object --> |
||
}} <!-- end title --> |
}} <!-- end title --> |
||
}} <!-- end reputation --> |
}} <!-- end reputation --> |
||
Line 93: | Line 102: | ||
}} <!-- end consumable --> |
}} <!-- end consumable --> |
||
}} <!-- end bundle --> |
}} <!-- end bundle --> |
||
− | }} }}<!-- end #ifeq: and #if: {{NAMESPACE}} --><noinclude>{{/doc}} |
+ | }} }}<!-- end #ifeq: and #if: {{NAMESPACE}} --><noinclude>{{/doc}} |
+ | |||
+ | {{#cargo_declare:_table=Flux_dates|Flux_date=Date}}</noinclude> |
Latest revision as of 19:36, 22 May 2018
This article has been protected from edits by everyone because of caching/performance issues. Changes can be proposed on the talk page..
Please use the discussion page to propose changes or request unprotection.
Effect details
Effect box | ||||
---|---|---|---|---|
File:Effect box.jpg | ||||
|
{{{full}}}
Concise: {{{concise}}}
==Documentation==
Parameters
- name
- Optional. The effect's name. (Defaults to pagename.)
- icon
- Optional. Icon image for the effect. (Defaults to
[[Image:{{{name}}}.jpg]]
) - icon-name
- Optional. Filename of the icon image. (Defaults to {name} or pagename.)
- campaign
- Optional. The campaign in which the effect is encountered. (Defaults to Core.)
- full
- The effect's in-game description.
- concise
- Optional. The effect's in-game concise description
- concise_identical
- Optional. Set to "yes" if the concise description is identical to the normal description.
- hm_full
- Optional. The effect's in-game description in Hard Mode. Only needed for Bounties.
- type
- Semi-optional, can be automatically set by other parameters (see below). The effect's type. Used to set categories. Possible values:
Blessing
: blessings given by avatars of the godsBounty
: bounties, specialized blessings that reward you for killing foesBonus
: the bonus effects earned while under the Eye of the North bountiesBundle
: effects triggered by holding or being near bundle itemsCondition
: conditionsConsumable
: effects triggered by using a consumableDisguise
: disguisesEnvironment effect
: environmental effects tied to specific locationsTitle
: effects granted by displaying a title
- bundle
- Optional, for bundle effects. The name of the bundle item that grants the effect.
- Automatically sets type to
Bundle
. - consumable
- Optional, for consumable effects. The name of the consumable that grants the effect.
- Automatically sets type to
Consumable
. - god
- Optional, for non-bounty blessings. The name of the god whose avatar grants the effect.
- Automatically sets type to
Blessing
. - reputation
- Optional, for bounties. The name of the faction/group the bounty is associated with.
- Automatically sets type to
Bounty
. - title
- Optional, for title effects. The name of the title that grants the effect.
- Automatically sets type to
Title
. - price
- Optional, for blessings. The cost of the blessing, in gold.
- extra
- Optional. Any extra text to be placed at the bottom of the infobox.
This template defines the table "Flux_dates". View table.