Template:Best practice: Difference between revisions

From Green Policy
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
* Type: {{ #set: Best practice type={{{Best practice type|}}} }}[[:Category:{{{Best practice type|}}}|{{{Best practice type}}}]]
* Type: {{ #set: Best practice type={{{Best practice type|}}} }}[[:Category:{{{Best practice type|}}}|{{{Best practice type}}}]]
{{ #if: {{{Vote|}}}|
{{ #if: {{{Vote|}}}|
* Vote: {{{Best practice vote|}}} }}
* Vote: {{{Best practice vote|}}}  
{{ #if: {{{Status|}}}|
}}{{ #if: {{{Status|}}}|
* Status: [[Best practice status::{{{Best practice status|}}} ]] }}
* Status: [[Best practice status::{{{Best practice status|}}} ]]  
{{ #if: {{{Best practice adopted|}}}|
}}{{ #if: {{{Best practice adopted|}}}|
* Adopted: [[Best practice adopted::{{{Best practice adopted|}}} ]] }}
* Adopted: [[Best practice adopted::{{{Best practice adopted|}}} ]]  
{{ #if: {{{Location|}}}|
}}{{ #if: {{{Location|}}}|
* Location: {{#arraymap:{{{Location|}}}|,|x|{{ #set:Location=x}}[[:Category:x|x]][[Category:x]]}} }}
* Location: {{#arraymap:{{{Location|}}}|,|x|{{ #set:Location=x}}[[:Category:x|x]][[Category:x]]}}  
{{ #if: {{{Best practice source|}}}|
}}{{ #if: {{{Best practice source|}}}|
* Source: [[Best practice source::{{{Best practice source|}}} ]] }}
* Source: [[Best practice source::{{{Best practice source|}}} ]] }}


[[Category:Best practice]]
[[Category:Best practice]]
</includeonly>
</includeonly>

Revision as of 22:29, 21 April 2014

This is the "Best practice" template. It should be called in the following format:

{{Best practice
|Best practice type=
|Best practice vote=
|Best practice source=
|Best practice adopted=
|Best practice status=
|Location=
|Location coordinates=
}}

Edit the page to see the template text.