2734
правки
Изменения
Новая страница: «{{Документация/Шапка}} This template allows compacting multiple layers of {{t|BlockGrid}}s, in order save space, and better visualise a structu…»
{{Документация/Шапка}}
This template allows compacting multiple layers of {{t|BlockGrid}}s, 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 image being used (same as BlockGrid), then a layer title and layer art pair.
A layer title is an anonymous parameter starting with <code>----</code>, 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 {{p|default}} to the desired layer's name.
== Example ==
<pre>{{layered blueprint|name=Obsidian Pillar|default=Layer 14
|O=Obsidian|I=Iron Bars|B=Bedrock|E=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
}}</pre>
{{layered blueprint|name=Obsidian Pillar|default=Layer 14
|O=Obsidian|I=Iron Bars|B=Bedrock|E=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
}}
<includeonly>
<!-- Здесь следует размещать категории и интервики шаблона -->
</includeonly>
<noinclude>
<!-- Здесь следует размещать категории и интервики документации -->
</noinclude>
This template allows compacting multiple layers of {{t|BlockGrid}}s, 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 image being used (same as BlockGrid), then a layer title and layer art pair.
A layer title is an anonymous parameter starting with <code>----</code>, 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 {{p|default}} to the desired layer's name.
== Example ==
<pre>{{layered blueprint|name=Obsidian Pillar|default=Layer 14
|O=Obsidian|I=Iron Bars|B=Bedrock|E=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
}}</pre>
{{layered blueprint|name=Obsidian Pillar|default=Layer 14
|O=Obsidian|I=Iron Bars|B=Bedrock|E=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
}}
<includeonly>
<!-- Здесь следует размещать категории и интервики шаблона -->
</includeonly>
<noinclude>
<!-- Здесь следует размещать категории и интервики документации -->
</noinclude>