Template:T-Doll-Index-Entry.dpl: Difference between revisions
Jump to navigation
Jump to search
Moved old edits |
Lazy loading for the T-Doll images |
||
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}}} </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 src="{{filepath:{{{%TITLE%|}}}{{#if:{{{costume|}}}|_{{{costume|}}}}}_S.png|128}}" class="doll-image"/></span></includeonly><noinclude>{{Documentation}}</noinclude> | <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}}} </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 src="{{filepath:{{{%TITLE%|}}}{{#if:{{{costume|}}}|_{{{costume|}}}}}_S.png|128}}" loading="lazy" class="doll-image"/></span></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 21:32, 18 June 2024
Template used for displaying T-Dolls in a DPL query.
Parameters
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
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 | G285 <img src="//iopwiki.com/images/thumb/8/81/Infobox_name_4star.png/128px-Infobox_name_4star.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/7/76/Icon_SMG_4star.png/53px-Icon_SMG_4star.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/9/9c/G28_S.png/128px-G28_S.png" loading="lazy" class="doll-image"/> |
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 | G285 <img src="//iopwiki.com/images/thumb/8/81/Infobox_name_4star.png/128px-Infobox_name_4star.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/7/76/Icon_SMG_4star.png/53px-Icon_SMG_4star.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/9/9d/G28_costume1_S.png/128px-G28_costume1_S.png" loading="lazy" class="doll-image"/> |
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 | IDW999 <img src="//iopwiki.com/images/thumb/b/b1/Infobox_name_2star.png/128px-Infobox_name_2star.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/b/b8/Icon_SMG_2star.png/53px-Icon_SMG_2star.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/b/bd/IDW_S.png/128px-IDW_S.png" loading="lazy" class="doll-image"/>Zas M76999 <img src="//iopwiki.com/images/thumb/c/c1/Infobox_name_3star.png/128px-Infobox_name_3star.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/7/7d/Icon_RF_3star.png/53px-Icon_RF_3star.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/e/ee/Zas_M76_S.png/128px-Zas_M76_S.png" loading="lazy" class="doll-image"/>MG15999 <img src="//iopwiki.com/images/thumb/8/81/Infobox_name_4star.png/128px-Infobox_name_4star.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/7/77/Icon_MG_4star.png/53px-Icon_MG_4star.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/f/fe/MG15_S.png/128px-MG15_S.png" loading="lazy" class="doll-image"/>CAWS999 <img src="//iopwiki.com/images/thumb/2/26/Infobox_name_5star.png/128px-Infobox_name_5star.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/6/6d/Icon_SG_5star.png/53px-Icon_SG_5star.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/e/ee/CAWS_S.png/128px-CAWS_S.png" loading="lazy" class="doll-image"/>HK416999 <img src="//iopwiki.com/images/thumb/a/a0/Infobox_name_6star.png/128px-Infobox_name_6star.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/c/c9/Icon_AR_6star.png/53px-Icon_AR_6star.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/b/bb/HK416_costume3_S.png/128px-HK416_costume3_S.png" loading="lazy" class="doll-image"/>Jill999 <img src="//iopwiki.com/images/thumb/c/c0/Infobox_name_EXTRAstar.png/128px-Infobox_name_EXTRAstar.png" width="128" class="rarity-stars"/><img src="//iopwiki.com/images/thumb/8/8d/Icon_HG_EXTRAstar.png/53px-Icon_HG_EXTRAstar.png" width="53" class="rarity-class"/><img src="//iopwiki.com/images/thumb/2/2c/Infobox_border.png/128px-Infobox_border.png" width="128" class="infobox-border"/><img src="//iopwiki.com/images/thumb/0/00/Jill_S.png/128px-Jill_S.png" loading="lazy" class="doll-image"/> |
Sandbox version | IDWIDW999Zas M76Zas M76999MG15MG15999CAWSCAWS999HK416HK416999JillJill999 |
See also
The above documentation is transcluded from Template:T-Doll-Index-Entry.dpl/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |