Template:fairy name: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{{1|}}}|<span style="color:{{#ifeq:{{{3|}}}|2|#ccc}}{{#ifeq:{{{3|}}}|3|#6BDFCE}}{{#ifeq:{{{3|}}}|4|#D6E35A}}{{#ifeq:{{{3|}}}|5|#FFCD4A}}; text-shadow: 0px 0px 3px {{#ifeq:{..." |
Updated style/layout |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[{{{1|}}}|<span | <includeonly>[[{{{1|}}}|<span class="entity-name gfl-name-fairy {{#ifeq:{{{2|}}}|Battle Fairy|fairy-battle}}{{#ifeq:{{{2|}}}|Strategy Fairy|fairy-strategy}}">{{#ifeq:{{{3|}}}|noicon||{{#if:{{{2|}}}|{{LayoutImage|src={{filepath:Icon_{{{2|}}}_S.png|20}}|class=entity-icon}}}}}}{{{1|?}}}</span>]]</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 01:38, 27 July 2024
Inline template for displaying a Fairy link. The link will be displayed with the proper classification icon and colour.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Fairy name | 1 | The name of the Fairy. Must be the title if the Wiki page name.
| Page name | required |
Classification | 2 | The class of the Fairy. Must be either Combat Fairy or Strategy Fairy.
| String | required |
Usage[edit]
See the template's testcases:
No parameter | |
---|---|
Wiki code | {{fairy name}} |
Main version | [[|?]] |
Sandbox version | Template:fairy name/sandbox |
Without Classification | |
---|---|
Wiki code | {{fairy name|Fury Fairy}} |
Main version | Fury Fairy |
Sandbox version | Template:fairy name/sandbox |
Usual Call (Classification short) | |
---|---|
Wiki code | {{fairy name|Fury Fairy|Battle}} |
Main version | Fury Fairy |
Sandbox version | Template:fairy name/sandbox |
Usual Call (Classification full) | |
---|---|
Wiki code | {{fairy name|Suee|Strategy Fairy}} |
Main version | Suee |
Sandbox version | Template:fairy name/sandbox |
Call within text. | |
---|---|
Wiki code | I know this one. {{fairy name|Rescue Fairy|Battle Fairy}} is a good fairy. |
Main version | I know this one. Rescue Fairy is a good fairy. |
Sandbox version | I know this one. Template:fairy name/sandbox is a good fairy. |
See also[edit]
The above documentation is transcluded from Template:fairy name/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |