Template

BannerFromCommand

From Dogcraft Wiki

{{#invoke:BannerFromCommand|Parse|command={{{1|{{{command|}}}}}}|scale={{{scale|1}}}|align={{{align|bottom}}}}}
Show full sourceHide full source
Index of templates

Template documentation



Displays a banner from a minecraft give command

Syntax

{{BannerFromCommand
| command
| scale
| align
}}

The command parameter is the only required parameter for this template and needs to contain the minecraft give command for the banner

Optionally scale and align parameters can also be defined

  • |scale= Sets the size of the banner.
  • |align= Sets the vertical alignment of the banner with the text around it.

Example

{{ BannerFromCommand | align=top | scale=3 | command=/give @s white_banner[banner_patterns=[{pattern:half_horizontal,color:red},{pattern:stripe_top,color:blue},{pattern:stripe_middle,color:pink},{pattern:stripe_bottom,color:cyan},{pattern:stripe_downright,color:yellow},{pattern:stripe_downleft,color:lime},{pattern:rhombus,color:orange},{pattern:skull,color:black}]] }} generates:

If necessary, include multiple examples!

TemplateData

Displays a banner from a minecraft give command

Template parameters

ParameterDescriptionTypeStatus
commandcommand

the give command for the banner

Stringrequired
alignalign

the vertical alignment of the banner with the text around it

Suggested values
bottom middle top
Default
bottom
Stringoptional
scalescale

the size of the banner displayed

Default
1
Numberoptional