Template:Box/doc

From Call of Duty Esports Wiki
Jump to: navigation, search

As of December 30, 2018, the code that used to be at {{BlockBox}} is now located here, and that template redirects. Using either will work, but consider {{BlockBox}} deprecated and just use {{Box}} now.

Usage Example[edit]

{{Box|start}}
{{TeamRosterNew}}
{{Box|break}}
{{TeamRosterNew}}
{{Box|break}}
{{TeamRosterNew}}
{{Box|end}}

Will give the following result:

Increasing Spacing Between Elements[edit]

Note that the last {{Box|break}} does NOT have a padding argument assigned to it. Padding applies to the RIGHT of the element.

{{Box|start|padding=2em}}
{{TeamRosterNew}}
{{Box|break|padding=2em}}
{{TeamRosterNew}}
{{Box|break}}
{{TeamRosterNew}}
{{Box|end}}

Will give the following result: