Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

Шаблон:Event banner/doc

Материал из Dota 2 Вики
Перейти к: навигация, поиск

Creates an banner for event pages. Images are specified with the file page.

Usage: {{Event banner|file|width|height}}

Default height is auto.

Example: {{Event banner|The_International_2013_main_page_banner.jpg|height=200px}} produces:

The International 2013 main page banner.jpg


  • Always fit to 100% and make crop the the height.
  • Settle width fight width page ads.
  • Align to center (depends on page width and div width)
  • Evtl revert to a background image, but allow external images as background parameter (this is a page setting, can only be changed by curse admins):

<div class="nomobile" style="background: url('{{filepath:{{{1|Wiki-banner.png}}}|nowiki}}') center no-repeat #000; height:{{{height|400px}}};"></div>