Welcome to IOPWiki, Commander.
We are searching for new editors to keep track of Girls' Frontline 2 content, as well as veteran players to complete existing Girls' Frontline and Project Neural Cloud articles.
You can contribute without an account. Learn how to contribute and join our Discord server.

Template:fairy name: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>[[{{{1|}}}|<span style="color:{{#ifeq:{{{2|}}}|Battle Fairy|#F89736}}{{#ifeq:{{{2|}}}|Strategy Fairy|#85B6DF}};text-shadow: 0px 0px 3px{{#ifeq:{{{2|}}}|Battle Fairy|#F89736}}{{#ifeq:{{{2|}}}|Strategy Fairy|#85B6DF}};display:inline-block">{{#ifeq:{{{3|}}}|noicon||<small><sup>{{#widget:LayoutImage|src={{filepath:Icon_{{{2|}}}_S.png|15}}}}</sup></small>}}&nbsp;{{{1|?}}}</span>]]</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>[[{{{1|}}}|<span class="entity-name gfl-name-fairy {{#switch:{{lc:{{{2|}}}}}|combat|battle|battle fairy=fairy-battle|strategy|strategy fairy=fairy-strategy}}">{{#ifeq:{{{3|}}}|noicon||{{#if:{{{2|}}}|{{LayoutImage|src={{filepath:Icon_{{#switch:{{lc:{{{2|}}}}}|combat|battle|battle fairy=Battle Fairy|strategy|strategy fairy=Strategy Fairy}}_S.png|20}}|class=entity-icon}}}}}}{{{1|?}}}</span>]]</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:48, 1 December 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

Inline template for displaying a Fairy link. The link will be displayed with the proper classification icon and colour.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Fairy name1

The name of the Fairy. Must be the title if the Wiki page name.

Example
Command Fairy
Page namerequired
Classification2

The class of the Fairy. Must be either Combat Fairy or Strategy Fairy.

Example
Strategy Fairy
Stringrequired

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]