Template:WikiHeadshot-index:修订间差异
模板页面
更多操作
src->Spotty McBumble Fuck experimental testing |
src->Spotty McBumble Fuck 小无编辑摘要 |
||
| (未显示同一用户的13个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly><span style="display: inline-block; | <includeonly><span style="display: inline-block;vertical-align:baseline; text-align:center;margin:-1.0px; border: 2px solid #929292; width: 125px><b>{{#if:{{{altname|}}}|{{{altname|}}}|{{{name|}}}}}</b>{{#if:{{{text|}}}|<br><span style="font-size:75%">{{{text|}}}</span>}}<br>[[File:{{{name|}}}-WikiHeadshot{{#if: {{{exte|}}}|-{{{exte|}}}}}.png|125px|link={{#if:{{{altlink|}}}|{{{altlink|}}}|{{{name|}}}}}]]</span></includeonly><noinclude> | ||
{{WikiHeadshot-index | ==Crediting== | ||
|%TITLE% = | Inspiration for this index style and dpl usage is from the '''T-Doll Index''' page in the '''IOP Wiki'''. Special thanks to canyada/canada on the MediaWiki discord for the dpl format parameter. | ||
}}</noinclude> | |||
Addition of a text parameter in the event a character needs one, mainly to do with races and distinguishing special traits, although I'm not sure how to deal with the extra header in solo cases, might be a problem that can be fixed is placed in a table.--[[User:Spotty McBumble Fuck|Spotty McBumble Fuck]] ([[User talk:Spotty McBumble Fuck|talk]]) 10:20, 14 May 2024 (UTC) | |||
==Usage== | |||
{{WikiHeadshot-index|name = Hethia|text=(Boreal Elf)}}{{WikiHeadshot-index|name = Hana}}{{WikiHeadshot-index|name=Mistress Matiha|exte=Eldritch}}{{WikiHeadshot-index|name=BoB|altname=Brint & Brienne|altlink=Companion Sets#Arena Armor}}<br>{{WikiHeadshot-index|name = Jarl Gunvaldsen}} | |||
<pre> | |||
Standard Solo Usage: | |||
{{WikiHeadshot-index|name=|text=}} | |||
Parameters: | |||
- name = Character page name | |||
- text = Additional text if necessary, if unused, simply remove the entire "text =" | |||
- exte = in the event an alternate image is used | |||
- altname = altname [this special case snowflake (and below) exists because of the BrintnBrienne merged wikiheadshot | |||
- altlink = altlink | |||
</pre> | |||
{{#dpl: | |||
|category= Characters & Art-Moira | |||
|notcategory = Groups | |||
|format=,{{WikiHeadshot-index|name=%TITLE%}}, | |||
}}<pre> | |||
Integration with DynamicPageList: | |||
{{#dpl: | |||
|category= Characters & Art-Moira | |||
|notcategory = Groups | |||
|format=,{{WikiHeadshot-index|name=%TITLE%}}, | |||
}} | |||
This template can be used under dpl, supposedly creating an automatic and seamless wikiheadshot list. Images should be reformatted to include specific art categories. | |||
</pre></noinclude> | |||
2024年10月25日 (五) 14:40的最新版本
Crediting
Inspiration for this index style and dpl usage is from the T-Doll Index page in the IOP Wiki. Special thanks to canyada/canada on the MediaWiki discord for the dpl format parameter.
Addition of a text parameter in the event a character needs one, mainly to do with races and distinguishing special traits, although I'm not sure how to deal with the extra header in solo cases, might be a problem that can be fixed is placed in a table.--Spotty McBumble Fuck (talk) 10:20, 14 May 2024 (UTC)
Usage
Hethia
(Boreal Elf)
Hana
Mistress Matiha
Brint & Brienne![]()
Jarl Gunvaldsen
Standard Solo Usage:
{{WikiHeadshot-index|name=|text=}}
Parameters:
- name = Character page name
- text = Additional text if necessary, if unused, simply remove the entire "text ="
- exte = in the event an alternate image is used
- altname = altname [this special case snowflake (and below) exists because of the BrintnBrienne merged wikiheadshot
- altlink = altlink
Integration with DynamicPageList:
{{#dpl:
|category= Characters & Art-Moira
|notcategory = Groups
|format=,{{WikiHeadshot-index|name=%TITLE%}},
}}
This template can be used under dpl, supposedly creating an automatic and seamless wikiheadshot list. Images should be reformatted to include specific art categories.