Template:AMCheader: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
mNo edit summary
Legate (talk | contribs)
m trying out width instead of max-width
Line 1: Line 1:
<includeonly>{|  class="unsortable wikitable" cellpadding=5 px style="{{#switch: {{{1|}}} | = | max-width:{{{1}}}px}}; background-color:#{{Tan 4}}; text-align:center;"  
<includeonly>{|  class="unsortable wikitable" cellpadding=5 px style="{{#switch: {{{1|}}} | = | width:{{{1}}}px}}; background-color:#{{Tan 4}}; text-align:center;"  
! height=30px class="unsortable" style="background-color:#{{Tan 1}}; color:white" | Town
! height=30px class="unsortable" style="background-color:#{{Tan 1}}; color:white" | Town
! style="background-color:#{{Tan 1}}; color:white" | 1
! style="background-color:#{{Tan 1}}; color:white" | 1
Line 21: Line 21:


== Example ==
== Example ==
{{AMCheader}}
{{AMCheader|1000}}
|}
|}
[[Category:Table templates]]</noinclude>
[[Category:Table templates]]</noinclude>

Revision as of 19:35, 9 December 2024

Adventure Map Creature Header (for Adventure map creature sprites). To be used with Template: AMCrow.

Usage

  1. width (in px)

Example

Town 1 1+ 2 2+ 3 3+ 4 4+ 5 5+ 6 6+ 7 7+