• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Sudoku 3x3 box

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
     
     
     
Template documentation
Call tree:
Template                  does and calls next
Sudoku 9x9 grid           expands args
Sudoku 3x3 box table      table with 9 boxes, main grid
Sudoku 3x3 box            box with 3x3 cells
Sudoku 3x3 table          table with 3x3 cells, int. grids only

3x3 box args:
1..9 cell digits,
gc - grid color, internal minor grid borders only
cellsize  
c1..9 - cell background colors

Implementation Notes:
|=  is a continuation trick, see{{Chess diagram}}

sN are the style tages for the 9 cells.  Only internal borders are defined.
  i.e. looks like a tic-tac-toe grid., sN contains:
  cell border color style  
  cellsize    
  cell background color

Cells are intended to cover the box completely, table bgcolor should
have little impact.

If a cell has no value at all. it's grid borders will not display.
To avoid this, for blank cells, use  .  
As a precaution, pass the grid color gc, to use as the table bgcolor.  
If the cell border is not displayed, the 3x3 table body color shows, which will be the same.

See [[Template:Sudoku 9x9 grid]] for primary documentation.
Modeled after [[Template:4x4 type square]]
Orig: LarryLACa 11/4/05

Comment must abut body text to avoid nl whitespace in output.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Sudoku_3x3_box&oldid=31973"
Category:
  • Game templates
Last edited on 31 October 2014, at 21:20

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 31 October 2014, at 21:20.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop