Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Debug mode grid/doc

Template page

Template:Documentation header Template:Lua

Usage

Creates the debug mode grid of blocks. Used on most pages of this navbox:

Template:Navbox Debug mode grid

<templatedata> { "params": { "ver": { "description": "Data version of the grid version in question. The blocks that will appear or not are determined by vermin and vermax of Template:Dm used in data", "type": "number", "required": true }, "section": { "description": "Number of rows per section in the subdivision of rows. The last section may have one more row to prevent sections with a single value.", "type": "number", "default": "10" }, "none": { "description": "Text used in the block status column when the block has no status", "type": "string", "default": "-" }, "fb": { "description": "If it exists, the great anger will first print the 'First block' table.", "type": "string" }, "row": { "description": "Number of blocks per row. If it is 1, it is calculated automatically. Considering that the last block will be copied (therefore, for versions that do not copy the last block, it is necessary to add one more than the actual number of blocks per line). If it is 0 or -1 it will ignore the columns and print only one table. If it is less than -10, it will create a table with only one new column for the coordinates of each block, considering that the number of blocks per row is the absolute value of this parameter. If it is -4 or -5, create the table from the previous case, but automatically calculate the number of rows.", "type": "number", "default": "1" }, "cb": { "description": "If this exists and it is not 'false', 'f' or '0', the grid will assume that the last block of each line should be copied to the next, some versions require this. If it is 'false', 'f' or '0', it will delete the last block of each row, preventing copying (because of this, if it doesn't exist, the row number must be one more than the actual quantity). If it doesn't exist, calculate, based on the number of blocks stats, it's necessary to copy them or not.", "type": "string" }, "data": { "description": "Page used for grid block data", "type": "string", "default": "Template:Debug_mode_blocks/raw" }, "hdwgh": { "description": "List of items used to appear alongside blocks with the 'item' state where the item value determines the item. Each item must be separated by commas and written in the form item?link?id for the InvLink parameters. Use '%3F' in place of the '?' for the text. Used by the 'How did we get here?' block.", "type": "string" } } } </templatedata>

See also

Data version - Number for Template:P

Template:Debug mode blocks/raw - The default Template:P

Template:Debug mode blocks/raw/20w14∞ - The 20w14∞ Template:P

How did we get here? - Block of Template:P

Template:Debug mode grid/sandbox - This template sandbox