Dota 2 Вики
Advertisement
Dota 2 Вики
16 391
страница

Документация для Шаблон:Infobox [ смотреть | править | очистить ]

Copy & Paste

{{Infobox
<!-- Optional -->
| title-textcolor = 
| title-bgcolor = 
| heading-textcolor = 
| heading-bgcolor = 

<!-- Infobox contents -->
| title = 
| image = 
| heading1 = 
| trait1 = 
| value1 = 
| trait2 = 
| value2 = 
}}
  • The |image= parameter should not include "File:".
    • The image size can be modified through the |image-size= parameter
  • |style= can be used instead of |title-textcolor= and |title-bgcolor= to allow for further customisations.
  • Similarly |heading-style= can be used instead of |heading-textcolor= and |heading-bgcolor=.
  • To have a value (|value#=) span the entire width of the infobox, enter |trait#=fullwidth (Where # is the current number).
    • Custom styles can be used through the |stylevalue#= parameter.
  • Value and trait will automatically be hidden from the inbox, if no value is entered.
  • Headings will only show up if a corresponding trait exists.

Пример

Infobox
Заголовок 1
Название 1:Значение 1
Название 2:Значение 2
Заголовок 3
Название 3:Значение 3
Advertisement