Template:PortalRequirementsTable/head: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
m (Added option to render the table collapsed by default)
Line 1: Line 1:
<includeonly>
<includeonly>
{|class="wikitable mw-collapsible"
{|class="wikitable mw-collapsible {{#if: {{{collapsed|}}}|mw-collapsed|}}"
|+class="nowrap" |<span id="{{{1}}}">{{{1|}}}</span>
|+class="nowrap" |{{{title|Table Title}}}
!Area
!Area
!Targets
!Targets
Line 7: Line 7:
!Portal Areas</includeonly><noinclude><pre>
!Portal Areas</includeonly><noinclude><pre>
Usage:
Usage:
{{PortalRequirementsHeader/head|YOUR_TITLE}}</pre>
{{PortalRequirementsHeader/head
|title=example
|collapsed=y (if set, the table will be collapsed by default)
}}
 
To end the table, add "|}" after the final row.</pre>
[[Category:Table templates]]
[[Category:Table templates]]
</noinclude>
</noinclude>

Revision as of 22:19, 29 May 2023

Usage:
{{PortalRequirementsHeader/head
|title=example
|collapsed=y (if set, the table will be collapsed by default)
}}

To end the table, add "|}" after the final row.