Template:Box

From Leaguepedia | League of Legends Esports Wiki
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}}
{{TeamRoster}}
{{Box|break}}
{{TeamRoster}}
{{Box|break}}
{{TeamRoster}}
{{Box|end}}

Will give the following result:

TBD
Team Icon - Show.pngTeam Icon - Hide.png
Logo square.png
 
 
 
 
 
TBD
Team Icon - Show.pngTeam Icon - Hide.png
Logo square.png
 
 
 
 
 
TBD
Team Icon - Show.pngTeam Icon - Hide.png
Logo square.png
 
 
 
 
 

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}}
{{TeamRoster}}
{{Box|break|padding=2em}}
{{TeamRoster}}
{{Box|break}}
{{TeamRoster}}
{{Box|end}}

Will give the following result:

TBD
Team Icon - Show.pngTeam Icon - Hide.png
Logo square.png
 
 
 
 
 
TBD
Team Icon - Show.pngTeam Icon - Hide.png
Logo square.png
 
 
 
 
 
TBD
Team Icon - Show.pngTeam Icon - Hide.png
Logo square.png