打开/关闭菜单
2529
2489
5
4.4万
Corruption of Champions II Bilingual Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:WikiHeadshot-index:修订间差异

模板页面
src->Spotty McBumble Fuck
src->Spotty McBumble Fuck
Addition of text parameter and reformatted Usage
第1行: 第1行:
<includeonly><span style="display: inline-block; text-align:center; font-size:120%; font-family:Poppins; margin:-1.6px; border: 2px solid #929292;><b><u>{{{name|}}}</u></b><br>[[File:{{{name|}}}-WikiHeadshot.png|125px|link={{{name%|}}}]]</span></includeonly><noinclude>
<includeonly><span style="display: inline-block; text-align:center; font-size:120%; font-family:Poppins; margin:-1.6px; border: 2px solid #929292;><b><u>{{{name|}}}</u></b>{{#if:{{{text|}}}|<br><span style="font-size:80%">{{{text|}}}</span>}}<br>[[File:{{{name|}}}-WikiHeadshot.png|125px|link={{{name|}}}]]</span></includeonly><noinclude>
==Crediting==
==Crediting==
Inspiration for this index style and dpl usage was inspired by the '''T-Doll Index''' page from the '''IOP Wiki'''. Special thanks to canyada/canada on the MediaWiki discord for the dpl format parameter.
Inspiration for this index style and dpl usage was inspired by the '''T-Doll Index''' page from 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.--[[User:Spotty McBumble Fuck|Spotty McBumble Fuck]] ([[User talk:Spotty McBumble Fuck|talk]]) 10:20, 14 May 2024 (UTC)


==Usage==
==Usage==
{{WikiHeadshot-index|name = Hethia}}<br>
{{WikiHeadshot-index|name = Hethia|text=(Boreal Elf)}}{{WikiHeadshot-index|name = Hana}}
<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 ="
</pre>
{{#dpl:  
{{#dpl:  
|category= Characters & Artist-Moira
|category= Characters & Art-Moira
|format=,{{WikiHeadshot-index|name=%TITLE%}},
|format=,{{WikiHeadshot-index|name=%TITLE%}},
}}
}}<pre>                                                            
<pre><nowiki>
Integration with DynamicPageList:
{{WikiHeadshot-index|name=}}
name = Character page name
{{#dpl:  
{{#dpl:  
|category= Characters & Artist-Moira
|category= Characters & Art-Moira
|format=,{{WikiHeadshot-index|name=%TITLE%}},
|format=,{{WikiHeadshot-index|name=%TITLE%}},
}}
}}
category includes only from characters and artist-moira
This template can be used under dpl, supposedly creating an automatic and seamless wikiheadshot list. Images should be reformatted to include specific art categories.
</nowiki></pre></noinclude>
</pre></noinclude>

2024年5月14日 (二) 18:20的版本

Crediting

Inspiration for this index style and dpl usage was inspired by the T-Doll Index page from 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

Standard Solo Usage:
{{WikiHeadshot-index|name=|text=}}
Parameters:
 - name = Character page name
 - text = Additional text if necessary, if unused, simply remove the entire "text =" 
                                                             
Integration with DynamicPageList:
{{#dpl: 
|category= Characters & Art-Moira
|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.