打开/关闭搜索
搜索
打开/关闭菜单
2529
2489
5
4.4万
Corruption of Champions II Bilingual Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
无法加载偏好设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
中文(简体)
个人工具
登录
查看“︁Template:Headshot-index”︁的源代码
模板页面
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
Template:Headshot-index
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
管理员
、translationadmin
您没有权限编辑
Template
命名空间内的页面。
您可以查看和复制此页面的源代码。
<includeonly><span style="display: inline-block; vertical-align:baseline; text-align:center; margin:-1.0px; border: 2px solid gray; width: 125px><b>{{#if: {{{altnametext|}}}|{{{altnametext|}}}|{{{name|}}}}}</b>{{#if: {{{text|}}}|<br><span style="font-size:75%">{{{text|}}}</span>}}<br>{{#if: {{{ow|}}}|[[File:CoC2 Icon BuntCake.png|125px|link={{{name|}}}]]|{{#if: {{{exte|}}}|[[File:{{{name|}}}-{{{art|}}}-Headshot-{{{exte|}}}.png|125px|link={{#if:{{{altnamelink|}}}|{{{altnamelink|}}}|{{{name|}}}}}]]|[[File:{{{name|}}}-{{{art|}}}-Headshot.png|125px|link={{#if:{{{altnamelink|}}}|{{{altnamelink|}}}|{{{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|art=DCL}}{{Headshot-index|name = Harpy Thief|exte=2|art=DCL}}{{Headshot-index|name = Benny|art=DCL}}{{Headshot-index|name = Benny|art=DCL|altnametext=BenBoi}}{{Headshot-index|name=Giant Boar|ow=1|text=(sample)}}{{Headshot-index|name=Cultist (Male)|art=Moira|altnametext=Cultist Archer<br>Cultist Mage|altnamelink=Cultist Archer}} <pre><nowiki> If the parameter is empty, just remove it entirely to save space ---- Sample Cases (above): {{Headshot-index|name = Harpy Thief|exte=1|art=DCL}}{{Headshot-index|name = Harpy Thief|exte=2|art=DCL}}{{Headshot-index|name = Benny|art=DCL}}{{Headshot-index|name = Benny|art=DCL|altnametext=BenBoi}}{{Headshot-index|name=Giant Boar|ow=1|text=(sample)}}{{Headshot-index|name=Cultist|art=Moira|exte=M|altnametext=Cultist Archer<br>Cultist Mage|altnamelink=Cultist Archer}} ---- {{Headshot-index |name= |exte= |art= |altnametext= |altnamelink= |ow= |text= }} ---- 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 - altnametext = in the event the character/art has an alternative name - altnamelink = in the event the art file name is different from the actual name, the link can be changed to this parameter - ow = in the event the character has no art and an overwrite must be used to use the placeholder image (use any value or just '1') - text = in the event other text needs to be provided </nowiki></pre></noinclude>
该页面使用的模板:
Template:Headshot-index
(
查看源代码
)
返回
Template:Headshot-index
。
查看“︁Template:Headshot-index”︁的源代码
模板页面