helialprofile.png
Welcome to IOPWiki, Commander. You can contribute to this wiki without an account. Learn how to contribute and join our Discord server.

Difference between revisions of "Template:doll name"

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
m (Typo)
(Added property "costume")
Line 1: Line 1:
<includeonly><onlyinclude>{{tooltip|[[{{{1|}}}|<span style="color:{{#ifeq:{{lc:{{{3|}}}}}|extra|#dfb6ff}}{{#ifeq:{{{3|}}}|2|#ddd}}{{#ifeq:{{{3|}}}|3|#6BDFCE}}{{#ifeq:{{{3|}}}|4|#D6E35A}}{{#ifeq:{{{3|}}}|5|#FFCD4A}}{{#ifeq:{{{3|}}}|6|#FF4F00}}; text-shadow: 0px 0px 3px {{#ifeq:{{{3|}}}|2|#ccc}}{{#ifeq:{{{3|}}}|3|#6BDFCE}}{{#ifeq:{{{3|}}}|4|#D6E35A}}{{#ifeq:{{{3|}}}|5|#FFBD0D}}{{#ifeq:{{{3|}}}|6|#E34500}};display:inline-block"><small><sup>{{{2|}}}</sup></small>&nbsp;{{{1|?}}}</span>]]|{{T-Doll-Index-Entry.dpl|%TITLE%={{{1|}}}|classification={{{2|}}}|rarity={{{3|}}}|index={{{4|}}}}}}}</onlyinclude></includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly><onlyinclude>{{tooltip|[[{{{1|}}}|<span style="color:{{#ifeq:{{lc:{{{3|}}}}}|extra|#dfb6ff}}{{#ifeq:{{{3|}}}|2|#ddd}}{{#ifeq:{{{3|}}}|3|#6BDFCE}}{{#ifeq:{{{3|}}}|4|#D6E35A}}{{#ifeq:{{{3|}}}|5|#FFCD4A}}{{#ifeq:{{{3|}}}|6|#FF4F00}}; text-shadow: 0px 0px 3px {{#ifeq:{{{3|}}}|2|#ccc}}{{#ifeq:{{{3|}}}|3|#6BDFCE}}{{#ifeq:{{{3|}}}|4|#D6E35A}}{{#ifeq:{{{3|}}}|5|#FFBD0D}}{{#ifeq:{{{3|}}}|6|#E34500}};display:inline-block"><small><sup>{{{2|}}}</sup></small>&nbsp;{{{1|?}}}</span>]]|{{T-Doll-Index-Entry.dpl|%TITLE%={{{1|}}}|classification={{{2|}}}|rarity={{{3|}}}|index={{{4|}}}|costume={{{5|{{{costume|}}}}}}}}}}</onlyinclude></includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 12:10, 4 March 2020

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

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 has custom formatting.

ParameterDescriptionTypeStatus
T-Doll name1

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

Default
empty
Example
IDW
Auto value
empty
Pagerequired
Classification2

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

Default
empty
Example
SMG
Auto value
empty
Stringrequired
Rarity3

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

Default
empty
Example
4
Auto value
empty
Stringrequired
Index number4

The index number of the T-Doll.

Default
empty
Example
14
Auto value
empty
Numberoptional
Key of costume5costume

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

Default
empty
Example
costume3
Auto value
empty
Stringoptional

Usage

See the template's testcases:


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

See also