The Gamepedia and Fandom account systems have now been merged. If your username is incorrect, you have accounts on both platforms that weren't merged, or you have trouble signing in, please submit a support ticket.

Template:Layered blueprint

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation
Lua logo.svg
This template uses Module:Layered blueprint, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

By using Widget:Radio button, this template is able to display multiple layers of {{Sprite grid}}, in order save space, and better visualise a structure.

Usage[edit]

Each layered blueprint requires a unique name, a set of single-letter abbreviations for each icon being used (same as Sprite grid), then a layer title and layer art pair.

A layer title is an anonymous parameter starting with ----, then the layer's name. Layer art is defined similar to Sprite grid, except the entire layer is a single anonymous parameter, instead of separate ones for each line. Empty lines should contain at least a single space, otherwise they may be removed.

The layer which is selected by default can be changed by setting {{{default}}} to the desired layer's name.

Example[edit]

{{layered blueprint|name=Obsidian Pillar|default=Layer 14
|O=Obsidian|I=Iron Bars|B=Bedrock|E=EntitySprite:End Crystal
|----Layer 1 - 12|
   OOO
  OOOOO
 OOOOOOO
OOOOOOOOO
OOOOOOOOO
OOOOOOOOO
 OOOOOOO
  OOOOO
   OOO
|----Layer 13|
 
 
  IIIII
  I   I
  I B I
  I   I
  IIIII
 
 
|----Layer 14|
 
 
  IIIII
  I   I
  I E I  
  I   I
  IIIII
 
 
|----Layer 15|
 
 
  IIIII
  IIIII
  IIIII
  IIIII
  IIIII
 
 
}}
[view | edit | history | purge]The above documentation is transcluded from Template:Layered blueprint/doc.