Template:Table-End: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
</tr></table><noinclude>
<includeonly></tr></table></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==
Line 5: Line 15:
<pre>{{Table-End}}</pre>
<pre>{{Table-End}}</pre>
*The code above can be pasted into your page to end a table.
*The code above can be pasted into your page to end a table.
*Forgetting Table-End is usually bad. If your table goes rogue, you've probably forgotten this.
==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>

Revision as of 02:01, 5 August 2017

Example

StoneCube.png Stone Cube StoneRoundedFull.png Small Round Corner StoneRoundLargeFull.png Large Round Corner
HouseStoneRoundIn.png Round Interior Round Interiors With Doors Round Interiors With Doors StoneArchFull.png Small Arch

Usage

The Table-End template is meant as an easy way to end a table. It closes both the last row and the table. It is used with Template:Table-Start, Template:Table-Cell, Template:Table-ImageCell, Template:Table-ImageNumberCell and Template:Table-AddRow.

{{Table-End}}
  • The code above can be pasted into your page to end a table.
  • Forgetting Table-End is usually bad. If your table goes rogue, you've probably forgotten this.

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 -->