Difference between revisions of "Template:Standard table/Documentation"
From PCGamingWiki, the wiki about fixing PC games
m (added mention of collapsed=no) |
m (nowiki) |
||
Line 11: | Line 11: | ||
;Prevent collapsed by default | ;Prevent collapsed by default | ||
− | Add the {{code|collapsed=no}} parameter to the syntax: | + | Add the {{code|<nowiki>collapsed=no</nowiki>}} parameter to the syntax: |
<pre><nowiki> | <pre><nowiki> |
Revision as of 17:59, 8 September 2019
- Description
This is the standard table template. It uses the following syntax:
- Syntax
{{Standard table|Header Text 1|Header Text 2|content= {{Standard table/row|Text in 1st row, 1st column|Text in 1st row, 2nd column}} {{Standard table/row|Text in 2nd row, 1st column|Text in 2nd row, 2nd column}} }}
- Prevent collapsed by default
Add the collapsed=no
parameter to the syntax:
{{Standard table|Header Text 1|Header Text 2|content= {{Standard table/row|Text in 1st row, 1st column|Text in 1st row, 2nd column}} {{Standard table/row|Text in 2nd row, 1st column|Text in 2nd row, 2nd column}} |collapsed=no}}