Template:Stadiumimg/doc

From Wikipedia, the free encyclopedia

Usage[edit]

These templates are used to format the content of each row the a table of stadiums. Example code:

{{StadiumimgStart|caption=Stadiums in example place}} {{Stadiumimg|rank=1|image=notre-dame-stadium-small.jpg|stadium=[[Notre Dame Stadium]]|capacity=80,795|city=Notre Dame|state=Indiana|team=[[Notre Dame Fighting Irish]]|ref=?}} {{StadiumimgEnd}}

Stadiums in example place
Image Stadium Capacity City State/Province Home teams Refs
Notre Dame Stadium 80,795 Notre Dame Indiana Notre Dame Fighting Irish ?



Optional columns can be added after the state column by using the parameters Option1 and Option2.

{{StadiumimgStart|caption=Stadiums in example place|Option1=Surface|Option1Size=75|Option2=Opened|Option2Size=75}} {{Stadiumimg|rank=1|image=notre-dame-stadium-small.jpg|stadium=[[Notre Dame Stadium]]|capacity=80,795|city=Notre Dame|state=Indiana|team=[[Notre Dame Fighting Irish]]|ref=?}} {{StadiumimgEnd}}

Stadiums in example place
Image Stadium Capacity City State/Province Surface Home teams Opened Refs
Notre Dame Stadium 80,795 Notre Dame Indiana Grass Notre Dame Fighting Irish 1930 ?



Note:

  • That the default sort order of the rows is the order they are listed within the wikipage.
  • That the 'rank' parameter is deprecated and no longer displayed.
  • Caption text is required per MOS:TABLECAPTION.

See also[edit]