Template documentation
|
This template uses TemplateStyles: |
This template displays minecraft banners
Syntax
| scale
| align
| showCommand
| color
| pattern1
| patternColor1
| pattern2
| patternColor2
| pattern3
| patternColor3
| ...
| pattern15
| patternColor15
| pattern16
| patternColor16
}}
Strictly speaking there are no required parameters, though without any parameters this template will just show a plain white banner.
Having at least the base color and scale set is recommended.
Further possible parameters are alignment and up to 16 patterns and their colors.
|scale=The scale parameter determines the size of the displayed banner. A scale of 1 displays the banner as 21x41 pixels.|align=The align parameter sets the vertical alignment of the banner to surrounding text or other elements. By default this is "bottom", meaning that the bottom of the banner aligns with the bottom of surrounding elements. Other options are "middle" and "top". This parameter directly sets the "vertical-align" css property of the banner.|showCommand=If set to true shows the minecraft give command for the banner directly after the banner itself.|color=This parameter sets the base or background color of the banner.|pattern1 ... pattern16=These parameters set the banner patterns with available options being all banner patterns currently in the game. These are layered in ascending order, so pattern1 is the bottom most pattern and pattern16 is the top most pattern.|patternColor1 ... patternColor16=These parameters set the color of the respective pattern. If the corresponding pattern is not set, setting the color has no effect. eg setting patternColor5=red without setting pattern5 to anything has no effect.
Example
{{Banner|align=top|scale=2|showCommand=true|color=green|pattern1=fess|patternColor1=red|pattern2=base|patternColor2=lime|pattern3=bend|patternColor3=blue}} generates:
/give @s green_banner[banner_patterns=[{pattern:stripe_middle,color:red},{pattern:stripe_bottom,color:lime},{pattern:stripe_downright,color:blue}]]
{{Banner|align=middle|color=green|pattern1=fess|patternColor1=red|pattern2=base|patternColor2=lime|pattern3=bend|patternColor3=blue}} generates:
TemplateData
Displays a minecraft banner
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| scale | scale | The size of the banner
| Number | optional |
| align | align | Defines how the banner vertically aligns with text around it
| String | optional |
| showCommand | showCommand | If set to true, shows the minecraft give command for the banner
| Boolean | optional |
| color | color | The base color of the banner
| String | optional |
| pattern1 | pattern1 | pattern 1
| String | optional |
| patternColor1 | patternColor1 | the color of pattern 1
| String | optional |
| pattern2 | pattern2 | pattern 2
| String | optional |
| patternColor2 | patternColor2 | the color of pattern 2
| String | optional |
| pattern3 | pattern3 | pattern 3
| String | optional |
| patternColor3 | patternColor3 | the color of pattern 3
| String | optional |
| pattern4 | pattern4 | pattern 4
| String | optional |
| patternColor4 | patternColor4 | the color of pattern 4
| String | optional |
| pattern5 | pattern5 | pattern 5
| String | optional |
| patternColor5 | patternColor5 | the color of pattern 5
| String | optional |
| pattern6 | pattern6 | pattern 6
| String | optional |
| patternColor6 | patternColor6 | the color of pattern 6
| String | optional |
| pattern7 | pattern7 | pattern 7
| String | optional |
| patternColor7 | patternColor7 | the color of pattern 7
| String | optional |
| pattern8 | pattern8 | pattern 8
| String | optional |
| patternColor8 | patternColor8 | the color of pattern 8
| String | optional |
| pattern9 | pattern9 | pattern 9
| String | optional |
| patternColor9 | patternColor9 | the color of pattern 9
| String | optional |
| pattern10 | pattern10 | pattern 10
| String | optional |
| patternColor10 | patternColor10 | the color of pattern 10
| String | optional |
| pattern11 | pattern11 | pattern 11
| String | optional |
| patternColor11 | patternColor11 | the color of pattern 11
| String | optional |
| pattern12 | pattern12 | pattern 12
| String | optional |
| patternColor12 | patternColor12 | the color of pattern 12
| String | optional |
| pattern13 | pattern13 | pattern 13
| String | optional |
| patternColor13 | patternColor13 | the color of pattern 13
| String | optional |
| pattern14 | pattern14 | pattern 14
| String | optional |
| patternColor14 | patternColor14 | the color of pattern 14
| String | optional |
| pattern15 | pattern15 | pattern 15
| String | optional |
| patternColor15 | patternColor15 | the color of pattern 15
| String | optional |
| pattern16 | pattern16 | pattern 16
| String | optional |
| patternColor16 | patternColor16 | the color of pattern 16
| String | optional |