Difference between revisions of "Template:GPC"
Jump to navigation
Jump to search
Template documentation
imported>Ivanvector (Reverted good faith edits by 142.160.89.97: Disambiguation is relevant for this template, and the template is about parties in Canada which call themselves "Green Party", not Green parties in general (TW)) |
(Undid revision 900255992 by Ivanvector (talk) – The scope is not limited to those formally affiliated with the Green Party of Canada, however. Also, WP:EASTEREGG is relevant here.) |
||
| Line 1: | Line 1: | ||
| − | + | {{Navbox | |
| − | |||
| − | |||
|name = GPC | |name = GPC | ||
| − | |title = | + | |title = <span style="color:#FFFFFF;">Green parties in Canada</span> |
|listclass = hlist | |listclass = hlist | ||
|state = {{{state|autocollapse}}} | |state = {{{state|autocollapse}}} | ||
| − | |||
|titlestyle = background-color:#289728;color:white; | |titlestyle = background-color:#289728;color:white; | ||
|groupstyle = background-color:white; {{box-shadow border|a|#289728|2px}} | |groupstyle = background-color:white; {{box-shadow border|a|#289728|2px}} | ||
Revision as of 04:30, 5 June 2019
Usage
This template is to be placed at the bottom of articles related to green political parties in Canada, affiliated with the Green Party of Canada.
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{GPC|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{GPC|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{GPC|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.
Use one of the following depending on the transcluding article. This will show all related articles while hiding the less relevant ones.
{{GPC|Canada}}{{GPC|Alberta}}{{GPC|BC}}{{GPC|Manitoba}}{{GPC|New Brunswick}}{{GPC|Nova Scotia}}{{GPC|Ontario}}{{GPC|PEI}}{{GPC|Quebec}}{{GPC|Saskatchewan}}{{GPC|Yukon}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |