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/Documentation: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>[[Category:Table Template]]</includeonly>
<includeonly>[[Category:Table Template]]</includeonly>
{{Template|TableSlim}} is intended for use alongside other {{Category|Table Template}}s. It sets up a table with different formatting from {{Template|TableTop}}.
{{Template|TableSlim}} is intended for use alongside other {{Category|Table Template}}s. It sets up a table with no header and no embedded formatting.
==Usage==
==Usage==
It accepts {{parameter|none}}.
It accepts {{parameter|none}}.
==Return==
==Return==
The table starts with {{Code|<nowiki><table class="wikitable"></nowiki>}}, then the supplied parameters are used to construct a {{Code|<nowiki><th /></nowiki>}} with each parameter wrapped in a {{Code|<nowiki><td /></nowiki>}}. For example, {{code|<nowiki>{{TableSlim|A|B|C}}</nowiki>}} produces the header in: {{Return|{{Table:Sample|slim}}}}
The table starts with {{Code|<nowiki><table style="border-collapse: collapse;"></nowiki>}}. For example, {{code|<nowiki>{{TableSlim}}{{TableMid|A1|B1|C1}}{{TableMid|A2|B2|C2}}{{TableEnd}}</nowiki>}} produces: {{Return|{{TableSlim}}{{TableMid|A1|B1|C1}}{{TableMid|A2|B2|C2}}{{TableEnd}}}}
Meanwhile, {{code|<nowiki>{{TableTop|A|B|C}}{{TableMid|A1|B1|C1}}{{TableMid|A2|B2|C2}}{{TableEnd}}</nowiki>}} produces: {{Return|{{TableTop|A|B|C}}{{TableMid|A1|B1|C1}}{{TableMid|A2|B2|C2}}{{TableEnd}}}}

Revision as of 15:53, 24 January 2023

Template:TableSlim is intended for use alongside other Table Templates. It sets up a table with no header and no embedded formatting.

Usage

It accepts no parameters.

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