Template:MC: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
(Hopefully the last fix)
 
Line 736: Line 736:
|ee24={{{ee24|}}}
|ee24={{{ee24|}}}
|ee25={{{ee25|}}}
|ee25={{{ee25|}}}
}}
}}{{tab|c}}{{tab|c}}
{{tab|c}}{{#if:{{{color|}}}|<nowiki/>
{{tab|Color}}
{{MC/Grid|
|size={{{size|}}}
|color={{{color|}}}
|col1={{{col1|0}}}
|col2={{{col2|0}}}
|col3={{{col3|0}}}
|col4={{{col4|0}}}
|col5={{{col5|0}}}
|col6={{{col6|0}}}
|col7={{{col7|0}}}
|col8={{{col8|0}}}
|col9={{{col9|0}}}
|col10={{{col10|0}}}
|col11={{{col11|0}}}
|col12={{{col12|0}}}
|col13={{{col13|0}}}
|col14={{{col14|0}}}
|col15={{{col15|0}}}
|col16={{{col16|0}}}
|col17={{{col17|0}}}
|col18={{{col18|0}}}
|col19={{{col19|0}}}
|col20={{{col20|0}}}
|col21={{{col21|0}}}
|col22={{{col22|0}}}
|col23={{{col23|0}}}
|col24={{{col24|0}}}
|col25={{{col25|0}}}
|row1={{{row1|0}}}
|row2={{{row2|0}}}
|row3={{{row3|0}}}
|row4={{{row4|0}}}
|row5={{{row5|0}}}
|row6={{{row6|0}}}
|row7={{{row7|0}}}
|row8={{{row8|0}}}
|row9={{{row9|0}}}
|row10={{{row10|0}}}
|row11={{{row11|0}}}
|row12={{{row12|0}}}
|row13={{{row13|0}}}
|row14={{{row14|0}}}
|row15={{{row15|0}}}
|row16={{{row16|0}}}
|row17={{{row17|0}}}
|row18={{{row18|0}}}
|row19={{{row19|0}}}
|row20={{{row20|0}}}
|row21={{{row21|0}}}
|row22={{{row22|0}}}
|row23={{{row23|0}}}
|row24={{{row24|0}}}
|row25={{{row25|0}}}
}}{{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 878: Line 822:
|25
|25
|}
|}
|-
!color
|The puzzle's number, used to grab the image of the colored puzzle. Leave blank to omit the color tab.
|}
|}



Latest revision as of 16:56, 6 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

Examples

Code Result
{{MC
|size=5x5
}}
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=*
}}
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