Template:Profileimage/sandbox: Difference between revisions
Jump to navigation
Jump to search
Initial setup |
Small workaround (needs more fixing) |
||
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>[[File:Infobox_name_{{{rarity|4}}}star.png|frameless|class= | <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>[[File:Infobox_name_{{{rarity|4}}}star.png|frameless|link=|class=namefield]][[File:Icon_{{{classification|HG}}}_{{{rarity|4}}}star.png|frameless|link=|class=classificationsymbol]][[File:{{#ifeq:{{{rarity|}}}|EXTRA|EXTRAstar2|{{{rarity|2}}}Stars}}.png|frameless|link=|class=raritystars rarity{{{rarity|2}}}]][[File:Infobox_border.png|frameless|link=|class=profilebackground]][[File:{{#ifexist:Media:{{{dollname|{{ROOTPAGENAME}}}}}_S.png|{{{dollname|{{ROOTPAGENAME}}}}}|backup}}_S.png|frameless|link=|class=dollprofileimage]]</div></includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 21:34, 21 July 2024
This is the template sandbox page for Template:Profileimage (diff). See also the companion subpage for test cases. |
Profile image for T-Dolls of GFL. Uses the base page name magic word (BASEPAGENAME) for the T-Doll's name.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Index | index | Index number in game
| Number | required |
Rarity | rarity | Rarity of the T-Doll
| String | required |
Classification | classification | The classification (type) of the T-Doll
| String | required |
T-Doll name | dollname | The name of the T-Doll. If not set, magic word "ROOTPAGENAME" will be used.
| String | optional |
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 |
The above documentation is transcluded from Template:Profileimage/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. |