Template:Table-Start: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
m (Protected "Template:Table-Start" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="width:70%; margin-left: 1.6em;"><tr><noinclude>
<includeonly><table style="width:60%; margin-left: 1.6em;"><tr></includeonly><noinclude>
 
==Example==
{{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 -->
==Usage==
==Usage==
The Table-Start template is meant as an easy way to create a table. It is used with [[Template:Table-Cell]], [[Template:Table-AddRow]] and [[Template:Table-End]].
The Table-Start template is meant as an easy way to create a table. It is used with [[Template:Table-Cell]], [[Template:Table-ImageCell]], [[Template:Table-ImageNumberCell]], [[Template:Table-AddRow]] and [[Template:Table-End]].
<pre>{{Table-Start}}</pre>
<pre>{{Table-Start}}</pre>
*The code above can be pasted into your page to create a table.
*The code above can be pasted into your page to create a table.
==Example Source==
<pre>{{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 --></pre>
[[Category:Templates/Formatting]]</noinclude>
[[Category:Templates/Formatting]]</noinclude>

Latest revision as of 02:17, 5 August 2017

Example

 Stone Cube  Small Round Corner  Large Round Corner
 Round Interior Round Interiors With Doors Round Interiors With Doors  Small Arch

Usage

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

{{Table-Start}}
  • The code above can be pasted into your page to create 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 -->