Difference between revisions of "Template:Foreign relations of Australia"
Jump to navigation
Jump to search
imported>Sawol |
imported>WhatamIdoing (Restoring WP:TemplateData) |
||
| Line 102: | Line 102: | ||
{{collapsible option}} | {{collapsible option}} | ||
| − | + | <templatedata> | |
| + | { | ||
| + | "description": "A template showing a box with lists of articles about the foreign relations of Australia", | ||
| + | "params": { | ||
| + | "state": { | ||
| + | "label": "Collapsed status", | ||
| + | "description": "Whether or not the template is collapsed into one line. Allowed values:collapsed/expanded/autocollapse. Autocollapse only collapses if there are more than one of this same template on the page (unusual)", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
[[Category:Foreign relations of Australia|*]] | [[Category:Foreign relations of Australia|*]] | ||
[[Category:Australia politics and government templates]] | [[Category:Australia politics and government templates]] | ||
[[Category:Foreign relations by country templates|Australia]] | [[Category:Foreign relations by country templates|Australia]] | ||
</noinclude> | </noinclude> | ||
Revision as of 17:21, 18 February 2016
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Foreign relations of Australia|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Foreign relations of Australia|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Foreign relations of Australia|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
A template showing a box with lists of articles about the foreign relations of Australia
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Collapsed status | state | Whether or not the template is collapsed into one line. Allowed values:collapsed/expanded/autocollapse. Autocollapse only collapses if there are more than one of this same template on the page (unusual) | String | optional |