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)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable mw-collapsible mw-collapsed" border="0" style="width:{{#switch:{{{size|}}}|5x5=240|10x10=360|15x15=480|20x20=600|#default=720}}px"
<includeonly>{| class="wikitable mw-collapsible mw-collapsed" border="0" style="width:{{#switch:{{{size|}}}|5x5=270|10x10=400|15x15=530|20x20=660|#default=790}}px"
!Show puzzle
!Show puzzle
|-
|-
Line 736: Line 736:
|ee24={{{ee24|}}}
|ee24={{{ee24|}}}
|ee25={{{ee25|}}}
|ee25={{{ee25|}}}
}}
}}{{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 757: Line 756:
|-
|-
!aa#<br>ab#<br>ac#<br>ad#<br>ae#<br>ba#<br>bb#<br>...<br>ee#
!aa#<br>ab#<br>ac#<br>ad#<br>ae#<br>ba#<br>bb#<br>...<br>ee#
|Set to any value to fill in the square, i.e. <code><nowiki>|aa1=*</nowiki></code>.<br>
|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.
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.
{|border="1" cellspacing="0" style="text-align:center; width:100px"
{|border="1" cellspacing="0" style="text-align:center; width:100px"

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