Template:T-Doll-Index-Entry.dpl: Difference between revisions
Jump to navigation
Jump to search
JS based lazy-loading implemented |
Updating index layout/style |
||
Line 1: | Line 1: | ||
<includeonly><span class="card- | <includeonly><span class="gfl-doll-card doll-rarity-{{{rarity|4}}} doll-classification-{{{classification|HG}}}"><img data-src="{{filepath:{{{%TITLE%|}}}{{#if:{{{costume|}}}|_{{{costume|}}}}}_S.png|128}}" class="doll-image lazy-img" width="128" height="167"><span class="plainlinks card-frame" title="{{{%TITLE%|}}}">[{{fullurle:{{{%TITLE%|}}}}} {{{%TITLE%|}}}]</span><img src="{{filepath:Icon_{{{classification|HG}}}_{{uc:{{{rarity|4}}}}}star.png|53}}" width="53" class="rarity-class"/><span class="name">{{{%TITLE%|}}}</span><span class="index">{{{index|0}}}</span></span></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 21:21, 24 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 | <img data-src="//iopwiki.com/images/thumb/9/9c/G28_S.png/128px-G28_S.png" class="doll-image lazy-img" width="128" height="167">G28<img src="//iopwiki.com/images/thumb/7/76/Icon_SMG_4star.png/53px-Icon_SMG_4star.png" width="53" class="rarity-class"/>G285 |
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 | <img data-src="//iopwiki.com/images/thumb/9/9d/G28_costume1_S.png/128px-G28_costume1_S.png" class="doll-image lazy-img" width="128" height="167">G28<img src="//iopwiki.com/images/thumb/7/76/Icon_SMG_4star.png/53px-Icon_SMG_4star.png" width="53" class="rarity-class"/>G285 |
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 | <img data-src="//iopwiki.com/images/thumb/b/bd/IDW_S.png/128px-IDW_S.png" class="doll-image lazy-img" width="128" height="167">IDW<img src="//iopwiki.com/images/thumb/b/b8/Icon_SMG_2star.png/53px-Icon_SMG_2star.png" width="53" class="rarity-class"/>IDW999<img data-src="//iopwiki.com/images/thumb/e/ee/Zas_M76_S.png/128px-Zas_M76_S.png" class="doll-image lazy-img" width="128" height="167">Zas M76<img src="//iopwiki.com/images/thumb/7/7d/Icon_RF_3star.png/53px-Icon_RF_3star.png" width="53" class="rarity-class"/>Zas M76999<img data-src="//iopwiki.com/images/thumb/f/fe/MG15_S.png/128px-MG15_S.png" class="doll-image lazy-img" width="128" height="167">MG15<img src="//iopwiki.com/images/thumb/7/77/Icon_MG_4star.png/53px-Icon_MG_4star.png" width="53" class="rarity-class"/>MG15999<img data-src="//iopwiki.com/images/thumb/e/ee/CAWS_S.png/128px-CAWS_S.png" class="doll-image lazy-img" width="128" height="167">CAWS<img src="//iopwiki.com/images/thumb/6/6d/Icon_SG_5star.png/53px-Icon_SG_5star.png" width="53" class="rarity-class"/>CAWS999<img data-src="//iopwiki.com/images/thumb/b/bb/HK416_costume3_S.png/128px-HK416_costume3_S.png" class="doll-image lazy-img" width="128" height="167">HK416<img src="//iopwiki.com/images/thumb/c/c9/Icon_AR_6star.png/53px-Icon_AR_6star.png" width="53" class="rarity-class"/>HK416999<img data-src="//iopwiki.com/images/thumb/0/00/Jill_S.png/128px-Jill_S.png" class="doll-image lazy-img" width="128" height="167">Jill<img src="//iopwiki.com/images/thumb/8/8d/Icon_HG_EXTRAstar.png/53px-Icon_HG_EXTRAstar.png" width="53" class="rarity-class"/>Jill999 |
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. |