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

Template:CCO:修订间差异

模板页面
src->Spotty McBumble Fuck
无编辑摘要
src->Spotty McBumble Fuck
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
<includeonly>style="{{#switch: {{{2|}}}|1=background:#9F9 |2=background:#F99}};text-align:center;"|{{#switch: {{{1|}}}|1=✔ |2=✖ |3=Yes |4=No}}</div></includeonly><noinclude>
<includeonly>style="{{#switch: {{{2|}}}|1=background:#9F9 |2=background:#F99|3=background:#FFFF00}};text-align:center;"{{!}}{{#switch: {{{1|}}}|1=✔ |2=✖ |3=Yes |4=No|5=!|6=Raw}}</includeonly><noinclude>
==Crediting==
==Documentation==
Template, which stands to CheckCrossOther, taken inspired from '''Wikipedia.org's Template:Yes''', but now modified to fall under 1 modular template instead of creating individual templates<br>--[[User:Spotty McBumble Fuck|Spotty McBumble Fuck]] ([[User talk:Spotty McBumble Fuck|talk]]) 15:46, 13 September 2024 (UTC)
Template, which stands to CheckCrossOther, taken/inspired from '''Wikipedia.org's Template:Yes''', but now modified to fall under 1 modular template instead of creating individual templates<br>--[[User:Spotty McBumble Fuck|Spotty McBumble Fuck]] ([[User talk:Spotty McBumble Fuck|talk]]) 15:46, 13 September 2024 (UTC)


==Usage==
==Parameters & Usage==
This thing can only be used inside a table
This thing can only be used inside a table. This template has '''two''' parameters.
<pre><nowiki>
*1st parameter - content of the cell
{{CCO|#1|#2}}
**<code>1</code> <code>2</code> <code>3</code> Yes <code>4</code> No <code>5</code> ! <code>6</code> Raw
Replace parameters with just a number
*2nd parameter - color of the cell
#1 - controls the text
**<code>1</code> #9F9 (green) <code>2</code> #F99 (red) <code>3</code> #FFFF00 (yellow)
>1=|2=|3=Yes |4=No
 
#2 - controls the background color
*Sample
>1=#9F9 (green) 2=#F99 (red)
**<code><nowiki>
</nowiki></pre>
{|class="table"
{|class="wikitable"
|-
|{{CCO|1|1}}
|{{CCO|3|2}}
|}</nowiki></code>
{|class="table"
|-
|-
|{{CCO|1|1}}
|{{CCO|1|1}}
|{{CCO|3|2}}
|{{CCO|5|3}}
|}
|}
<pre><nowiki>{{CCO|1|1}}</nowiki></pre>
[[Category:Useable templates]]
</noinclude>
</noinclude>

2026年7月18日 (六) 15:12的最新版本

Documentation

Template, which stands to CheckCrossOther, taken/inspired from Wikipedia.org's Template:Yes, but now modified to fall under 1 modular template instead of creating individual templates
--Spotty McBumble Fuck (talk) 15:46, 13 September 2024 (UTC)

Parameters & Usage

This thing can only be used inside a table. This template has two parameters.

  • 1st parameter - content of the cell
    • 123 Yes 4 No 5 ! 6 Raw
  • 2nd parameter - color of the cell
    • 1 #9F9 (green) 2 #F99 (red) 3 #FFFF00 (yellow)
  • Sample
    • {|class="table" |- |{{CCO|1|1}} |{{CCO|3|2}} |}
Yes !