Welcome to IOPWiki, Commander.
We are searching for editors to complete gameplay topics in all games. You can contribute without an account. Learn how to contribute and join our Discord server.

Template:Profileimage: 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
Made so that clicking images don't show their details, also readded the frameless format
m Seeing if substituting the first span for a div fixes the display issue
 
Line 1: Line 1:
<includeonly><div class="card-bg"><span class="dollname" {{#ifexpr:{{#invoke:String|len|{{BASEPAGENAME}}}} > 13|style="font-size:200%;"}}>{{BASEPAGENAME}}</span><span class="indexnumber">{{{index|3}}}</span><div class="namefield">[[File:Infobox_name_{{{rarity|4}}}star.png|frameless|link=]]</div><div class="classificationsymbol">[[File:Icon_{{{classification|HG}}}_{{{rarity|4}}}star.png|frameless|link=]]</div><div class="raritystars rarity{{{rarity|2}}}">[[File:{{#ifeq:{{{rarity|}}}|EXTRA|EXTRAstar2|{{{rarity|2}}}Stars}}.png|frameless|link=]]</div><div class="profilebackground">[[File:Infobox_border.png|frameless|link=]]</div><div class="dollprofileimage">[[File:{{#ifexist:Media:{{{dollname|{{ROOTPAGENAME}}}}}_S.png|{{{dollname|{{ROOTPAGENAME}}}}}|backup}}_S.png|frameless|link=]]</div></div></includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly><div class="card-bg"><div class="dollname" {{#ifexpr:{{#invoke:String|len|{{BASEPAGENAME}}}} > 13|style="font-size:200%;"}}>{{BASEPAGENAME}}</div><span class="indexnumber">{{{index|3}}}</span><div class="namefield">[[File:Infobox_name_{{{rarity|4}}}star.png|frameless|link=]]</div><div class="classificationsymbol">[[File:Icon_{{{classification|HG}}}_{{{rarity|4}}}star.png|frameless|link=]]</div><div class="raritystars rarity{{{rarity|2}}}">[[File:{{#ifeq:{{{rarity|}}}|EXTRA|EXTRAstar2|{{{rarity|2}}}Stars}}.png|frameless|link=]]</div><div class="profilebackground">[[File:Infobox_border.png|frameless|link=]]</div><div class="dollprofileimage">[[File:{{#ifexist:Media:{{{dollname|{{ROOTPAGENAME}}}}}_S.png|{{{dollname|{{ROOTPAGENAME}}}}}|backup}}_S.png|frameless|link=]]</div></div></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:08, 23 July 2024

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

Profile image for T-Dolls of GFL. Uses the base page name magic word (BASEPAGENAME) for the T-Doll's name.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Indexindex

Index number in game

Example
12
Numberrequired
Rarityrarity

Rarity of the T-Doll

Suggested values
2 3 4 5 EXTRA
Default
4
Stringrequired
Classificationclassification

The classification (type) of the T-Doll

Suggested values
SMG RF MG SG AR HG
Default
HG
Stringrequired
T-Doll namedollname

The name of the T-Doll. If not set, magic word "ROOTPAGENAME" will be used.

Default
ROOTPAGENAME
Stringoptional

Usage[edit]

See the template's testcases:


Usage with normal T-Doll
Wiki code
{{Profileimage
|rarity=4
|classification=RF
|dollname=Kar98k
|index=143
}}
Main version
Profileimage
143
Sandbox version
Profileimage143
Usage with collaboration T-Doll
Wiki code
{{Profileimage
|rarity=EXTRA
|classification=RF
|dollname=Seele
|index=4
}}
Main version
Profileimage
4
Sandbox version
Profileimage4