User:LarryLACa/pp/s/stst

From Wikipedia, the free encyclopedia

< User:LarryLACa | pp | s

Contents

[edit] Sudoku Work

edit here to edit all

[edit] Table Examples

[edit] Multiplication Table Example

With col and row headings

Multiplication table
× 1 2 3
1 1 2 3
2 2 4 6
3 3 6 9

[edit] Test Table Example

Without col and row headings - blue and lime show

Table Title
B1 B2 B3
B6 B5 B6
B7 B8 B9

[edit] Meta Box 2x2 Test Example

w=4|h=4|r}} w=4|h=4|g}}
w=4|h=4|y}} w=4|h=4|b}}

Just the box: tbd: how to call meta: template, may not be possible !! Template calls across Wiki's not supported..

{{Meta:Box|w=4|h=4|y}}

{{Meta:Box|r|w=4|h=4}}

r|w=4|h=4

{{Meta:Template:Box|r|w=4|h=4}}

r|w=4|h=4

[edit] Perfect square exmpl

calling: 4x4 type square|METHOD=/|COLORS=00|ALIGN=left... {{4x4 type square|METHOD=/|COLORS=00|ALIGN=left|WIDTH=20px|A00=14|A01=5|A02=8|A03=3|A10=9|A11=2|A12=15|A13=4|A20=7|A21=12|A22=1|A23=10|A30=0|A31=11|A32=6|A33=13}}

a

b

c

d

end pad space.

[edit] Table 1

Without col and row headings - blue and lime show

B1 B2 B3
B6 B5 B6
B7 B8 B9

[edit] Test & Templates

Edit here for both test and template preview

[edit] Sudoku 9x9 2 Level Test Table

text before t1. text before t1. text before t1. text before t1. text before t1. text before t1. Start table 1 text.NL

Table 1 Title
C1 C2 C3
C4 C5 C6
C7 C8 C9

End table 1 text. aaaa bbbbbb cccccc dddd aaaa

B1 B2 B3
B4 B5 B6
B7 B8 B9

End table 2 text.

text between t2 & t3. text between t2 & t3. text between t2 & t3. text between t2 & t3. text between t2 & t3. text between t2 & t3. text between t2 & t3. text between t2 & t3. Start t3 text.NL

t1 t2 t3
C4 C5 C6
C7 C8 C9
B2 B3
B4 B5 B6
     
     
     
B8 B9

End t3 text.

text after t3. text after t3. text after t3.

[edit] Test Sudoku Grid Templates

Template:Sudoku 9x9 grid (talk, backlinks, edit)
Template:Sudoku 9x9 table (talk, backlinks, edit)
Template:Sudoku 3x3 box (talk, backlinks, edit)
Template:Sudoku 3x3 table (talk, backlinks, edit)

<-- |A1|A2|A3|A4|A5|A6|A7|A8|A9|B1|B2|B3|B4|B5|B6|B7|B8|B9|C1|C2|C3|C4|C5|C6|C7|C8|C9|= |D1|D2|D3|D4|D5|D6|D7|D8|D9|E1|E2|E3|E4|E5|E6|E7|E8|E9|F1|F2|F3|F4|F5|F6|F7|F8|F9|= |G1|G2|G3|G4|G5|G6|G7|G8|G9|H1|H2|H3|H4|H5|H6|H7|H8|H9|I1|I2|I3|I4|I5|I6|I7|I8|I9|=

|1|2|3|4|5|6|7|8|9|= | | | | | | | | | |= -->

This text below here should flow around the Sudoku grid if there's space in the browser window. The text has to adjoin the template call. Call with numbered params {{Sudoku 9x9 grid|b4c=lime|b5c=pink|= |c1=yellow|c4=pink|c7=yellow|c21=yellow|c24=pink|c28=yellow|c29=pink|c48=yellow|cellsize=24px|bx=3px|gx=3px|=

Sudoku 9x9
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

Text after template call

and more text.


Call 9x9 table directly with numbered params, mostly empty..

Sudoku 9x9
D1 2 4
4 E5 6
7 8 F9
a c
e
g i
b
d f
h

Text after 9x9 table call. Empty cells display subgrid color from 3x3 table background=gc, not from (empty) borders. subgrid disconnect cannot be addressed by cellsize when all box cells empty (undefined).

[edit] Test Sudoku Band Templates

Sudoku 3x9 Band
1 2 3
a b c
i h g
4 5 6
d e f
f e d
7 8 9
g h i
c b a
Case 1 - Opt Counts
1 2 3
4 5 6
7 8 9
3 3 2
1 3 2
1 2 1
3 2 1
3 2 1
3 2 1
Left
Test 3x9 band
Right
Band with Case 1 Option counts
B1  B1  B2  B3  opts            
123 abc dhi gef 332 321
456 def gbc ahi 132 321
789 ghi aef dbc 121 321

[edit] Test/dev actual usage

[edit] Main page example

Main Page Talk Example
5 3
6
9 8
7
1 9 5
6
8
4
7
6
8 3
2
3
1
6
6
4 1 9
8
2 8
5
7 9
"Lead Example"
5 3 4
6 7 2
1 9 8
6 7 8
1 9 5
3 4 2
9 1 2
3 4 8
5 6 7
8 5 9
4 2 6
7 1 3
7 6 1
8 5 3
9 2 4
4 2 3
7 9 1
8 5 6
9 6 1
2 8 7
3 4 5
5 3 7
4 1 9
2 8 6
2 8 4
6 3 5
1 7 9

Left: Demo grid used in Sudoku talk, values from Sudoku mainpage.

Right: solution

Template:Sudoku 9x9 grid (talk, backlinks, edit)
Template:Sudoku 9x9 table (talk, backlinks, edit)
Template:Sudoku 3x3 box (talk, backlinks, edit)
Template:Sudoku 3x3 table (talk, backlinks, edit)

[edit] Cells 1-81

Cells 1-81
1 2 3
10 11 12
19 20 21
4 5 6
13 14 15
22 23 24
7 8 9
16 17 18
25 26 27
28 29 30
37 38 39
46 47 48
31 32 33
40 41 42
49 50 51
34 35 36
43 44 45
52 53 54
55 56 57
64 65 66
73 74 75
58 59 60
67 68 69
76 77 78
61 62 63
70 71 72
79 80 81

Right: Cells 1-81

[edit] Term Labels

Term Labels
1 2 3
2 B1
3
4 5 6
B2
7 8 9
B3
4
5 B4
6
c
B5 5
r 5 6
B6
7
8 B7
9
B8
B9

Left: Term Labels

[edit] Small Test Section - Links

class
puzzle
partition (mathematics)
partition of a set

[edit] Bottom of page, insert new above