[оновити]
Ця сторінка документації, вона повинна бути включена в основну сторінку. Більше інформації на сторінці Шаблон:Документація.Цей шаблон використовує Модуль:Багатошарова схема, написаний на мові програмування Lua.
Будь ласка, перегляньте wikipedia:Wikipedia:Lua і mw:Extension:Scribunto (обидві англ.) для розуміння роботи модуля.
Будь ласка, перегляньте wikipedia:Wikipedia:Lua і mw:Extension:Scribunto (обидві англ.) для розуміння роботи модуля.
By using Widget:Radio button, this template is able to display multiple layers of {{БлокСітка}}
, in order save space, and better visualise a structure.
Usage
Each layered blueprint requires a unique name, a set of single-letter abbreviations for each icon being used (same as BlockGrid), 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 BlockGrid, 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
{{layered blueprint|name=Obsidian Pillar|default=Layer 14 |O=Обсидіан|I=Залізні ґрати|B=Корінна порода|E=Кристал Енду |----Шар 1 - 12| OOO OOOOO OOOOOOO OOOOOOOOO OOOOOOOOO OOOOOOOOO OOOOOOO OOOOO OOO |----Шар 13| IIIII I I I B I I I IIIII |----Шар 14| IIIII I I I E I I I IIIII |----Шар 15| IIIII IIIII IIIII IIIII IIIII }}