Template:Profileimage: Difference between revisions
Jump to navigation
Jump to search
Switched from deprecated img tag |
m Seeing if substituting the first span for a div fixes the display issue |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="card-bg">< | <includeonly><div class="card-bg"><div class="dollname" {{#ifexpr:{{#invoke:String|len|{{BASEPAGENAME}}}} > 13|style="font-size:200%;"}}>{{BASEPAGENAME}}</div><span class="indexnumber">{{{index|3}}}</span><div class="namefield">[[File:Infobox_name_{{{rarity|4}}}star.png|frameless|link=]]</div><div class="classificationsymbol">[[File:Icon_{{{classification|HG}}}_{{{rarity|4}}}star.png|frameless|link=]]</div><div class="raritystars rarity{{{rarity|2}}}">[[File:{{#ifeq:{{{rarity|}}}|EXTRA|EXTRAstar2|{{{rarity|2}}}Stars}}.png|frameless|link=]]</div><div class="profilebackground">[[File:Infobox_border.png|frameless|link=]]</div><div class="dollprofileimage">[[File:{{#ifexist:Media:{{{dollname|{{ROOTPAGENAME}}}}}_S.png|{{{dollname|{{ROOTPAGENAME}}}}}|backup}}_S.png|frameless|link=]]</div></div></includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 18:08, 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[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. |