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

Template:CharHead:修订间差异

模板页面
src->Spotty McBumble Fuck
div style float left solves issue of magic breakline
src->Spotty McBumble Fuck
fix to table implementation
第1行: 第1行:
<includeonly><div style="float:left;"><div class="thumbinner" style="width:125px;">[[Image:{{{2|}}}.png|{{{wid|125}}}px||{{{1|}}}]][[{{{1|}}}]]{{#if:{{{text|}}}|<br>{{{text|}}}}}</div></div></includeonly><noinclude>
<includeonly><div class="thumbinner" style="float:left; width:125px;">[[Image:{{{2|}}}.png|{{{wid|125}}}px|{{{1|}}}]][[{{{1|}}}]]{{#if:{{{text|}}}|<br>{{{text|}}}}}</div></includeonly><noinclude>
==Crediting==
==Crediting==
Adapted and modified from the Detective Conan World wiki's '''Template:Char'''
Adapted and modified from the Detective Conan World wiki's '''Template:Char'''

2024年3月20日 (三) 09:45的版本

Crediting

Adapted and modified from the Detective Conan World wiki's Template:Char

Comments

Despite not being in this common.css, it seems that the thumbinner class is a 'built-in' CSS class, going by the documentation found in Wikipedia's Wikipedia:Catalogue_of_CSS_classes--Spotty McBumble Fuck (talk) 10:30, 19 March 2024 (UTC)

Usage

{{CharHead
|[charname] - name of character without the []
|[filename] - filename without the [] and .png
|[size] - custom size of image, default is 125 and can be left blank
|text = whatever text is needed