Difference between revisions of "Template:T-Doll-Index-Entry.dpl"

From IOP Wiki
Jump to navigation Jump to search
(Removed line breaks)
(Moved old edits)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="card-bg-small" style="display:inline-block"><span style="position:absolute;z-index:5">[[file:Thumb_button.png|128px|link={{{%TITLE%|}}}]]</span><span style="position:absolute;margin-left:2px;margin-top:178px;z-index:4;text-align:left;font-size:125%;text-shadow:none;color: black;font-weight: bold;font-family: times new roman;">{{{%TITLE%|}}}</span><span style="position:absolute;margin-top:206px;width:128px;z-index:4;font-size:110%;text-shadow:none;text-align:right;color: white;font-family: courier new;letter-spacing: -3px">{{{index|3}}}&nbsp;</span><img src="{{filepath:Infobox_name_{{uc:{{{rarity|4}}}}}star.png|128}}" style="position:absolute;margin-top:178px;z-index:3"/><img src="{{filepath:Icon_{{{classification|HG}}}_{{uc:{{{rarity|4}}}}}star.png|53}}" style="position:absolute;margin-left:1px;margin-top:1px;z-index:3"/><img src="{{filepath:Infobox_border.png|128}}" style="position:absolute;z-index:2"/><img src="{{filepath:{{{%TITLE%|}}}_S.png|128}}" style="margin-top:10px; height:167px; display: inline-block;"/></span></includeonly><noinclude>{{T-Doll-Index-Entry.dpl|classification=SMG|rarity=4|index=5}}</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}}}&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 src="{{filepath:{{{%TITLE%|}}}{{#if:{{{costume|}}}|_{{{costume|}}}}}_S.png|128}}" class="doll-image"/></span></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:10, 2 November 2020

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 Thumb button.pngG28
Sandbox version Template:T-Doll-Index-Entry.dpl/sandbox
Call with costume (%TITLE% given)
Wiki code
{{T-Doll-Index-Entry.dpl|classification=SMG|rarity=4|index=5|costume=costume1|%TITLE%=G28}}
Main version Thumb button.pngG28
Sandbox version Template:T-Doll-Index-Entry.dpl/sandbox

See also[edit]