Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Standard table/Documentation"

From PCGamingWiki, the wiki about fixing PC games
m (added mention of collapsed=no)
Line 8: Line 8:
 
{{Standard table/row|Text in 2nd row, 1st column|Text in 2nd row, 2nd column}}
 
{{Standard table/row|Text in 2nd row, 1st column|Text in 2nd row, 2nd column}}
 
}}
 
}}
 +
</nowiki></pre>
 +
 +
;Prevent collapsed by default
 +
Add the {{code|collapsed=no}} parameter to the syntax:
 +
 +
<pre><nowiki>
 +
{{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}}
 
</nowiki></pre>
 
</nowiki></pre>

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 {{{1}}} 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}}