Template:Parameters table: Difference between revisions

From Beyond These Stars Official Wiki
Created for consistent template parameter tables
 
Made the name column nowrap
Line 2: Line 2:
<tr><th>Parameter</th><th>Purpose</th></tr>
<tr><th>Parameter</th><th>Purpose</th></tr>
{{#if: {{{1|}}} |
{{#if: {{{1|}}} |
<tr><td><code>{{{1}}}</code></td><td>{{{2|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{1}}}</code></td><td>{{{2|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{3|}}} |
{{#if: {{{3|}}} |
<tr><td><code>{{{3}}}</code></td><td>{{{4|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{3}}}</code></td><td>{{{4|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{5|}}} |
{{#if: {{{5|}}} |
<tr><td><code>{{{5}}}</code></td><td>{{{6|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{5}}}</code></td><td>{{{6|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{7|}}} |
{{#if: {{{7|}}} |
<tr><td><code>{{{7}}}</code></td><td>{{{8|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{7}}}</code></td><td>{{{8|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{9|}}} |
{{#if: {{{9|}}} |
<tr><td><code>{{{9}}}</code></td><td>{{{10|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{9}}}</code></td><td>{{{10|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{11|}}} |
{{#if: {{{11|}}} |
<tr><td><code>{{{11}}}</code></td><td>{{{12|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{11}}}</code></td><td>{{{12|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{13|}}} |
{{#if: {{{13|}}} |
<tr><td><code>{{{13}}}</code></td><td>{{{14|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{13}}}</code></td><td>{{{14|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{15|}}} |
{{#if: {{{15|}}} |
<tr><td><code>{{{15}}}</code></td><td>{{{16|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{15}}}</code></td><td>{{{16|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{17|}}} |
{{#if: {{{17|}}} |
<tr><td><code>{{{17}}}</code></td><td>{{{18|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{17}}}</code></td><td>{{{18|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{19|}}} |
{{#if: {{{19|}}} |
<tr><td><code>{{{19}}}</code></td><td>{{{20|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{19}}}</code></td><td>{{{20|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{21|}}} |
{{#if: {{{21|}}} |
<tr><td><code>{{{21}}}</code></td><td>{{{22|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{21}}}</code></td><td>{{{22|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{23|}}} |
{{#if: {{{23|}}} |
<tr><td><code>{{{23}}}</code></td><td>{{{24|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{23}}}</code></td><td>{{{24|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{25|}}} |
{{#if: {{{25|}}} |
<tr><td><code>{{{25}}}</code></td><td>{{{26|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{25}}}</code></td><td>{{{26|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{27|}}} |
{{#if: {{{27|}}} |
<tr><td><code>{{{27}}}</code></td><td>{{{28|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{27}}}</code></td><td>{{{28|Unspecified}}}</td></tr>
}}
}}
{{#if: {{{29|}}} |
{{#if: {{{29|}}} |
<tr><td><code>{{{29}}}</code></td><td>{{{30|Unspecified}}}</td></tr>
<tr><td style="white-space: nowrap; width: 1%;"><code>{{{29}}}</code></td><td>{{{30|Unspecified}}}</td></tr>
}}
}}
</table></includeonly><noinclude>
</table></includeonly><noinclude>

Revision as of 19:49, 12 September 2026


Formats a list of template parameters in a nice table for developer use.

Usage

ParameterPurpose
1 First parameter's name
2 First parameter's purpose
3 Second parameter's name
4 Second parameter's purpose
... ...
29 Fifteenth parameter's name
30 Fifteenth parameter's purpose

This table was created with this template.