Template:Table-ImageCell

From Medieval Engineers Wiki
Revision as of 02:17, 5 August 2017 by CptTwinkie (talk | contribs) (Protected "Template:Table-ImageCell" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Jump to navigation Jump to search

Example

StoneCube.pngStone Cube StoneRoundedFull.pngSmall Round Corner StoneRoundLargeFull.pngLarge Round Corner
HouseStoneRoundIn.pngRound Interior Round Interiors With DoorsRound Interiors With Doors StoneArchFull.pngSmall Arch

Usage

The Table-ImageCell template is meant as an easy way to create a table cell with a Template:Small_Image_Link embedded. It is used with Template:Table-Start, Template:Table-Cell, Template:Table-ImageNumberCell, Template:Table-AddRow and Template:Table-End.

{{Table-ImageCell|<imagename>|<link>}}
  • The code above can be pasted into your page to add a cell with a small image link to a table.

Example Source

{{Table-Start}}<!--Top of the table: Row 1 -->
{{Table-ImageCell|StoneCube.png|Stone Cube}}
{{Table-ImageCell|StoneRoundedFull.png|Small Round Corner}}
{{Table-ImageCell|StoneRoundLargeFull.png|Large Round Corner}}
{{Table-AddRow}}<!--Add a new row: Row 2 -->
{{Table-ImageCell|HouseStoneRoundIn.png|Round Interior}}
{{Table-ImageCell|StoneRoundInDoorLeft.png|:Category:Block Group/Round Interiors With Doors{{!}}Round Interiors With Doors}}
{{Table-ImageCell|StoneArchFull.png|Small Arch}}
{{Table-End}}<!--Finish the table - Forgetting this will cause trouble -->