Template:PortalRequirementsTable/head: Difference between revisions

From IdleOn MMO Wiki
m (Added option to render the table collapsed by default)
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{|class="wikitable mw-collapsible {{#if: {{{collapsed|}}}|mw-collapsed|}}"
{|class="wikitable mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed|}}"
|+class="nowrap" |{{{title|Table Title}}}
|+class="nowrap" |{{{title|Table Title}}}
!Area
!Area
!Targets
!Targets
!Portal Requirements
!Portal Requirements
!Portal Areas</includeonly><noinclude><pre>
!Portal Areas
</includeonly><noinclude><pre>
Usage:
Usage:
{{PortalRequirementsHeader/head
{{PortalRequirementsHeader/head

Revision as of 01:29, 30 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.