Welcome to IOPWiki, Commander.
With the release of the new game, we encourage contributions to topics related to Girls' Frontline 2. Learn how to contribute, read the maintenance guide, and join our Discord server to discuss major changes.
If you or someone you know can help deciphering the game files, contact our administrator.

Template:doll name/doc: 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
Some refurbishing
m Trying something
Line 69: Line 69:
<includeonly>
<includeonly>
[[Category:Templates]]
[[Category:Templates]]
[[Category:Template documentation]]
</includeonly>
</includeonly>
<noinclude>
[[Category:Template documentation]]
</noinclude>

Revision as of 00:12, 6 December 2020

Inline template for displaying a T-Doll in the proper colours. Adds a fitting class icon for text and a tooltip.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) The name or title of the T-Doll. This should be the Wiki-Page name of the T-Doll.
Anonymous parameter 2 Yes (n/a) The classification of the T-Doll (HG, SMG, AR, RF, MG).
Anonymous parameter 3 Yes (n/a) The rarity of the T-Doll (2-6 or EXTRA).
Anonymous parameter 4 No (n/a) (Optional) The index number of the T-Doll.
costume No (n/a) Optional parameter to display the tooltip with a specific costume. Example: costume1

Inline template for displaying a T-Doll link. The link will be displayed with the proper classification icon, colour and tooltip.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
T-Doll name1

The name of the T-Doll. This has to be the Wiki page name for the Link to work.

Example
IDW
Page namerequired
Classification2

The class of the T-Doll. The following values are valid: AR, SMG, HG, MG, RF

Example
SMG
Stringrequired
Rarity3

The rarity of the T-Doll. It could either be the number 2-6 or extra.

Example
4
Stringrequired
Index number4

The index number of the T-Doll.

Example
14
Numberoptional
Key of costume5 costume

The costume parameter to determine the preview image seen in the tooltip.

Example
costume3
Stringoptional

Usage

See the template's testcases:


Simple call
Wiki code
{{doll name|G28|RF|4}}
Main version RF G28G28G28
Sandbox version Template:doll name/sandbox
Different costume in tooltip
Wiki code
{{doll name|G28|RF|4|costume=costume2}}
Main version RF G28G28G28
Sandbox version Template:doll name/sandbox
With index number
Wiki code
{{doll name|G28|RF|4|146}}
Main version RF G28G28G28146
Sandbox version Template:doll name/sandbox

See also