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:T-Doll-Index-Entry.dpl: 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
Setting 'loading' before 'src' because of Browser bugs and predefining img size
New approach (this time for sure!)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="card-bg-small"><span class="pad">[[file:Thumb_button.png|128px|link={{{%TITLE%|}}}]]</span><span class="name">{{{%TITLE%|}}}</span><span class="index">{{{index|3}}}&nbsp;</span><img src="{{filepath:Infobox_name_{{uc:{{{rarity|4}}}}}star.png|128}}" width="128" class="rarity-stars"/><img src="{{filepath:Icon_{{{classification|HG}}}_{{uc:{{{rarity|4}}}}}star.png|53}}" width="53" class="rarity-class"/><img src="{{filepath:Infobox_border.png|128}}" width="128" class="infobox-border"/><img loading="lazy" src="{{filepath:{{{%TITLE%|}}}{{#if:{{{costume|}}}|_{{{costume|}}}}}_S.png|128}}" width="128" height="167" class="doll-image"/></span></includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly><span class="gfl-doll-card doll-rarity-{{{rarity|4}}} doll-classification-{{{classification|HG}}}">{{LayoutImage|src={{filepath:{{{%TITLE%|}}}{{#if:{{{costume|}}}|_{{{costume|}}}}}_S.png|128}}|class=doll-image}}<span class="plainlinks card-frame" title="{{{%TITLE%|}}}">[{{fullurle:{{{%TITLE%|}}}}} {{{%TITLE%|}}}]</span>{{LayoutImage|src={{filepath:Icon_{{{classification|HG}}}_{{uc:{{{rarity|4}}}}}star.png|53}}|class=rarity-class}}<span class="name">{{{%TITLE%|}}}</span><span class="index">{{{index|0}}}</span></span></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 17:17, 23 July 2024

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

Template used for displaying T-Dolls in a DPL query.

Parameters[edit]

Parameter name Required? Default value Description
%TITLE% Yes (n/a) The name of the T-Doll (Wiki-Page-Name).
classification Yes (n/a) The T-Doll's classification (SMG).
rarity Yes (n/a) The T-Doll's rarity (1-6 or EXTRA).
index No (n/a) The index number of a T-Doll.
costume No (n/a) The costume image to display.

Usage[edit]

See the template's testcases:


Normal call (%TITLE% given)
Wiki code
{{T-Doll-Index-Entry.dpl|classification=SMG|rarity=4|index=5|%TITLE%=G28}}
Main version G28G285
Sandbox version G28G285
Call with costume (%TITLE% given)
Wiki code
{{T-Doll-Index-Entry.dpl|classification=SMG|rarity=4|index=5|costume=costume1|%TITLE%=G28}}
Main version G28G285
Sandbox version G28G285
Different types in a row (%TITLE% given)
Wiki code
{{T-Doll-Index-Entry.dpl|classification=SMG|rarity=2|index=999|%TITLE%=IDW}}{{T-Doll-Index-Entry.dpl|classification=RF|rarity=3|index=999|%TITLE%=Zas M76}}{{T-Doll-Index-Entry.dpl|classification=MG|rarity=4|index=999|%TITLE%=MG15}}{{T-Doll-Index-Entry.dpl|classification=AR|rarity=5|index=999|%TITLE%=CAWS}}{{T-Doll-Index-Entry.dpl|classification=AR|rarity=6|index=999|costume=costume3|%TITLE%=HK416}}{{T-Doll-Index-Entry.dpl|classification=HG|rarity=EXTRA|index=999|%TITLE%=Jill}}
Main version IDWIDW999Zas M76Zas M76999MG15MG15999CAWSCAWS999HK416HK416999JillJill999
Sandbox version IDWIDW999Zas M76Zas M76999MG15MG15999CAWSCAWS999HK416HK416999JillJill999

See also[edit]