Template:Profileimage: Difference between revisions
Jump to navigation
Jump to search
Trying to fix a display problem with dolls with spaces on their names |
Tag: Undo |
||
Line 1: | Line 1: | ||
<includeonly><div class="card-bg"><span class="dollname" {{#ifexpr:{{#invoke:String|len|{{BASEPAGENAME}}}} > 13|style="font-size:200% | <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><div class="namefield">[[File:Infobox_name_{{{rarity|4}}}star.png]]</div><div class="classificationsymbol">[[File:Icon_{{{classification|HG}}}_{{{rarity|4}}}star.png]]</div><div class="raritystars rarity{{{rarity|2}}}">[[File:{{#ifeq:{{{rarity|}}}|EXTRA|EXTRAstar2|{{{rarity|2}}}Stars}}.png]]</div><div class="profilebackground">[[File:Infobox_border.png]]</div><div class="dollprofileimage">[[File:{{#ifexist:Media:{{{dollname|{{ROOTPAGENAME}}}}}_S.png|{{{dollname|{{ROOTPAGENAME}}}}}|backup}}_S.png]]</div></div></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 17:19, 23 July 2024
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
See the template's testcases:
Usage with normal T-Doll | |
---|---|
Wiki code | {{Profileimage |rarity=4 |classification=RF |dollname=Kar98k |index=143 }} |
Main version | |
Sandbox version | Profileimage143 |
Usage with collaboration T-Doll | |
---|---|
Wiki code | {{Profileimage |rarity=EXTRA |classification=RF |dollname=Seele |index=4 }} |
Main version | |
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. |