Template:Box

From Call of Duty Esports Wiki
Revision as of 21:13, 4 June 2019 by Esen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

(view - edit)

Documentation

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

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

Will give the following result:

Increasing Spacing Between Elements

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: