Template:MC: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 737: Line 737:
|ee25={{{ee25|}}}
|ee25={{{ee25|}}}
}}
}}
{{tab|c}}
{{tab|c}}{{#if:{{{nocolor|}}}||<nowiki/>
{{tab|Color}}
{{tab|Color}}
{{MC/Grid|
{{MC/Grid|
Line 1,417: Line 1,417:
|ee24c={{{ee24c|}}}
|ee24c={{{ee24c|}}}
|ee25c={{{ee25c|}}}
|ee25c={{{ee25c|}}}
}}
}}{{tab|c}}}}{{tab|c}}
{{tab|c}}{{tab|c}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template creates a Picross/nonogram board to display the puzzles of KH Magical Canvas.
This template creates a Picross/nonogram board to display the puzzles of KH Magical Canvas.
Line 1,507: Line 1,506:
!aa#c<br>...<br>ee#c
!aa#c<br>...<br>ee#c
|The six-digit hex color code of each square (defaults to black). Uses the same coordinate system as above.
|The six-digit hex color code of each square (defaults to black). Uses the same coordinate system as above.
|-
!nocolor
|Set to any value to remove the color tab.
|}
|}


Line 1,516: Line 1,518:
{{MC
{{MC
|size=5x5
|size=5x5
|nocolor=*
}}
}}
</pre>
</pre>
Line 1,521: Line 1,524:
{{MC
{{MC
|size=5x5
|size=5x5
|nocolor=*
}}
}}
|-
|-

Revision as of 15:42, 2 November 2024

This template creates a Picross/nonogram board to display the puzzles of KH Magical Canvas.

Usage

Parameter Description
size The size of the board. 5x5, 10x10, 15x15, 20x20, or 25x25 (default).
col# The numbers in each column, where # is 1-25. Separate numbers with <br>. Defaults to 0.
row# The numbers in each row, where # is 1-25. Separate numbers with spaces. Defaults to 0.
aa#
ab#
ac#
ad#
ae#
ba#
bb#
...
ee#
Set an asterisk (*) to fill in the square.

The first two letters correspond to the 5x5 block of cells within the puzzle. The first letter is the row and the second is the column.

aa ab ac ad ae
ba bb bc bd be
ca cb cc cd ce
da db dc dd de
ea eb ec ed ee

For instance, a 5x5 puzzle only uses the aa block, while a 10x10 puzzle uses aa, ab, ba, and bb.

# is a number 1-25, representing the cell within the 5x5 block.

1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
aa#c
...
ee#c
The six-digit hex color code of each square (defaults to black). Uses the same coordinate system as above.
nocolor Set to any value to remove the color tab.

Examples

Code Result
{{MC
|size=5x5
|nocolor=*
}}
Show puzzle
0 0 0 0 0
0 0 0 0 0
{{MC
|size=10x10
|col2=1
|col3=3<br>1
|col4=1
|col5=1
|col6=1
|col7=1
|col8=3<br>1
|col9=1
|row2=1 1
|row3=1 1
|row4=1 1
|row7=1 1
|row8=1 1
|row9=4
|aa8=*
|aa13=*
|aa18=*
|ab8=*
|ab13=*
|ab18=*
|ba7=*
|ba13=*
|ba19=*
|ba20=*
|bb16=*
|bb17=*
|bb13=*
|bb9=*
|aa1c=fff000 
|aa2c=fff000 
|aa3c=fff000 
|aa4c=fff000 
|aa5c=fff000 
|aa6c=fff000 
|aa7c=fff000 
|aa8c=202060
|aa9c=fff000 
|aa10c=fff000 
|aa11c=fff000 
|aa12c=fff000 
|aa13c=202060
|aa14c=fff000 
|aa15c=fff000 
|aa16c=fff000 
|aa17c=fff000 
|aa18c=202060
|aa19c=fff000 
|aa20c=fff000 
|aa21c=fff000 
|aa22c=fff000 
|aa23c=fff000 
|aa24c=fff000 
|aa25c=fff000 
|ab1c=fff000 
|ab2c=fff000 
|ab3c=fff000 
|ab4c=fff000 
|ab5c=fff000 
|ab6c=fff000 
|ab7c=fff000 
|ab8c=202060
|ab9c=fff000 
|ab10c=fff000 
|ab11c=fff000 
|ab12c=fff000 
|ab13c=202060
|ab14c=fff000 
|ab15c=fff000 
|ab16c=fff000 
|ab17c=fff000 
|ab18c=202060
|ab19c=fff000 
|ab20c=fff000 
|ab21c=fff000 
|ab22c=fff000 
|ab23c=fff000 
|ab24c=fff000 
|ab25c=fff000 
|ba1c=fff000 
|ba2c=fff000 
|ba3c=fff000 
|ba4c=fff000 
|ba5c=fff000 
|ba6c=fff000 
|ba7c=202060
|ba8c=fff000 
|ba9c=fff000 
|ba10c=fff000 
|ba11c=fff000 
|ba12c=fff000 
|ba13c=202060
|ba14c=fff000 
|ba15c=fff000 
|ba16c=fff000 
|ba17c=fff000 
|ba18c=fff000 
|ba19c=202060
|ba20c=202060
|ba21c=fff000 
|ba22c=fff000 
|ba23c=fff000 
|ba24c=fff000 
|ba25c=fff000 
|bb1c=fff000 
|bb2c=fff000 
|bb3c=fff000 
|bb4c=fff000 
|bb5c=fff000 
|bb6c=fff000 
|bb7c=fff000 
|bb8c=fff000 
|bb9c=202060
|bb10c=fff000 
|bb11c=fff000 
|bb12c=fff000 
|bb13c=202060
|bb14c=fff000 
|bb15c=fff000 
|bb16c=202060
|bb17c=202060
|bb18c=fff000 
|bb19c=fff000 
|bb20c=fff000 
|bb21c=fff000 
|bb22c=fff000 
|bb23c=fff000 
|bb24c=fff000 
|bb25c=fff000 
}}
Show puzzle
0 1 3
1
1 1 1 1 3
1
1 0
1 1 
1 1 
1 1 
1 1 
1 1 
0 1 3
1
1 1 1 1 3
1
1 0
1 1 
1 1 
1 1 
1 1 
1 1 
0 1 3
1
1 1 1 1 3
1
1 0
1 1 
1 1 
1 1 
1 1 
1 1