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 lookup"

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
(Fixed text if no doll is found)
(Added additional way of displaying the T-Doll)
 
Line 2: Line 2:
 
| namespace=
 
| namespace=
 
| titlematch={{{name|{{{1|}}}}}}
 
| titlematch={{{name|{{{1|}}}}}}
| includepage={PlayableUnit{{!}}doll_name.dpl}
+
| includepage={{#ifeq:{{{display|}}}|pfp|{PlayableUnit{{!}}T-Doll-Index-Entry.dpl}|{PlayableUnit{{!}}doll_name.dpl}}}
 
| noresultsheader=[[{{{name|{{{1|}}}}}}]]
 
| noresultsheader=[[{{{name|{{{1|}}}}}}]]
 
| mode=inline
 
| mode=inline

Latest revision as of 16:28, 22 June 2022

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

Template to query a T-Doll by its name to determine its rarity and class for calling the 'doll name' template.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
T-Doll namename1

The name of the T-Doll page

Default
empty
Example
empty
Auto value
empty
Pagerequired
Displaydisplay

The way the result is displayed. If set to "pfp" an image will be shown similar to the T-Doll index page.

Default
empty
Example
pfp
Auto value
empty
Stringsuggested

Usage[edit]

See the template's testcases:


Normal T-Doll name
Wiki code
{{doll lookup|M82}}
Main version AR M82
Sandbox version AR M82
T-Doll name with specific display design
Wiki code
{{doll lookup|M82|display=pfp}}
Main version Thumb button.pngM82297 
Sandbox version Thumb button.pngM82297 
If T-Doll name not found
Wiki code
{{doll lookup|Awesome Gun 3000}}
Main version Awesome Gun 3000
Sandbox version Awesome Gun 3000

See also[edit]