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

Template:Headshot-index:修订间差异

模板页面
src->Spotty McBumble Fuck
experimental testing
 
src->Spotty McBumble Fuck
无编辑摘要
第1行: 第1行:
<includeonly><span style="display: inline-block; text-align:center; font-size:120%; font-family:Poppins; margin:-2px; border: 2px solid #929292;><b><u>{{{%TITLE%|}}}</u></b><br>{{#if: {{{style|}}}|[[File:{{{%TITLE%|}}}-WikiHeadshot.png|125px|link={{{%TITLE%|}}}]]|[[File:{{{%TITLE%|}}}-Headshot.png|125px|link={{{%TITLE%|}}}]]}}</span></includeonly><noinclude>
<includeonly><span style="display: inline-block; text-align:center; font-size:120%; font-family:Poppins; margin:-2px; border: 2px solid #929292;><b><u>{{{name|}}}</u></b><br>{{#if: {{{exte|}}}|[[File:{{{name|}}}-Headshot-{{{exte|}}}.png|125px|link={{{name|}}}]]|[[File:{{{name|}}}-Headshot.png|125px|link={{{name|}}}]]}}</span></includeonly><noinclude>
==Crediting==
Based on the implementation of [[:Template:WikiHeadshot-index]], modified to for characters that have more than one headshot, mainly for generics. The problem is, I don't think this implementation can use DPL considering its only one character/page and there is a repeat, I may have to do this manually--[[User:Spotty McBumble Fuck|Spotty McBumble Fuck]] ([[User talk:Spotty McBumble Fuck|talk]]) 16:09, 9 May 2024 (UTC)


==Usage==
{{Headshot-index|name = Harpy Thief|exte=1}}
{{Headshot-index|name = Harpy Thief|exte=2}}
{{Headshot-index|name = Benny}}
<pre><nowiki>
{{Headshot-index
{{Headshot-index
|%TITLE% = Hethia
|name=  
|style = 1
|exte=
}}
}}
{{Headshot-index
Parameters:
|%TITLE% = Hana
- name = use the exact page name
|style = 1
- exte = refers to the extension number in the file name (i.e. Harpy Thief-Headshot-1.png and Harpy Thief-Headshot-2.png), for those without extensions, simply remove/exclude exte
}}
</nowiki></pre></noinclude>
{{Headshot-index
|%TITLE% = Benny
}}</noinclude>

2024年5月10日 (五) 00:09的版本

Crediting

Based on the implementation of Template:WikiHeadshot-index, modified to for characters that have more than one headshot, mainly for generics. The problem is, I don't think this implementation can use DPL considering its only one character/page and there is a repeat, I may have to do this manually--Spotty McBumble Fuck (talk) 16:09, 9 May 2024 (UTC)

Usage

Harpy Thief
File:Harpy Thief-Headshot-1.png
Harpy Thief
File:Harpy Thief-Headshot-2.png
Benny
File:Benny-Headshot.png

{{Headshot-index
|name= 
|exte=
}}
Parameters:
- name = use the exact page name
- exte = refers to the extension number in the file name (i.e. Harpy Thief-Headshot-1.png and Harpy Thief-Headshot-2.png), for those without extensions, simply remove/exclude exte