Template:Box/doc

From Leaguepedia | League of Legends 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}}
{{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[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}}
{{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