Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:TableSlim: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<includeonly><onlyinclude><table class="{{{1|wikitable}}}" style="border-collapse: collapse;">
<includeonly><onlyinclude><table style="border-collapse: collapse; {{#if:{{{width|}}}|width: {{{width}}};}}">
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Latest revision as of 10:42, 27 January 2023

Icon-documentation.svg

Template:TableSlim is intended for use alongside other Table Templates. It sets up a table with no header and no embedded formatting, different from Template:TableTop. It is typically embeded inside Box Templates that provide structured data.

Usage

It accepts one optional parameter:

  • width, either a pixel value (include "px") or a percentage.

Return

The table starts with <table style="border-collapse: collapse;">.

For example, {{TableSlim}}{{TableMid|A1|B1|C1}}{{TableMid|A2|B2|C2}}{{TableEnd}} produces:
A1B1C1
A2B2C2
Meanwhile, {{TableTop|A|B|C}}{{TableMid|A1|B1|C1}}{{TableMid|A2|B2|C2}}{{TableEnd}} produces:
ABC
A1B1C1
A2B2C2
For example, {{TableSlim|width=100%}}{{TableMid|A1|B1|C1}}{{TableMid|A2|B2|C2}}{{TableEnd}} produces:
A1B1C1
A2B2C2

The documentation above was transcluded from Template:TableSlim/Documentation.