Difference between revisions of "Template:CCO"

From Corruption of Champions II
Jump to navigation Jump to search
(yellow & !)
 
Line 1: Line 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=!}}</div></includeonly><noinclude>
 
==Documentation==
 
==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)
Line 6: Line 6:
 
This thing can only be used inside a table. This template has '''two''' parameters.
 
This thing can only be used inside a table. This template has '''two''' parameters.
 
*1st parameter - content of the cell
 
*1st parameter - content of the cell
**<code>1</code> ✔ <code>2</code> ✖ <code>3</code> Yes <code>4</code> No
+
**<code>1</code> ✔ <code>2</code> ✖ <code>3</code> Yes <code>4</code> No <code>5</code> !
 
*2nd parameter - color of the cell
 
*2nd parameter - color of the cell
**<code>1</code> #9F9 (green) <code>2</code> #F99 (red)
+
**<code>1</code> #9F9 (green) <code>2</code> #F99 (red) <code>3</code> #FFFF00 (yellow)
  
 
*Sample
 
*Sample
Line 21: Line 21:
 
|{{CCO|1|1}}
 
|{{CCO|1|1}}
 
|{{CCO|3|2}}
 
|{{CCO|3|2}}
 +
|{{CCO|5|3}}
 
|}
 
|}
 
[[Category:Useable templates]]
 
[[Category:Useable templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:37, 6 May 2025

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 !
  • 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 !