Template:Best practice: Difference between revisions

From Green Policy
Jump to navigation Jump to search
(add topic?)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{Best practice
{{Best practice
|Best practice type=
| Best practice topic=
|Best practice vote=
| Best practice type=
|Best practice source=
| Best practice vote=
|Best practice adopted=
| Best practice source=
|Best practice status=
| Best practice adopted=
|Location=
| Best practice status=
|Location coordinates=
| Location=
| Location coordinates=
}}
}}
</pre>
</pre>
Line 20: Line 21:
</div>
</div>


* Topic: [[Best practice topic::{{{Best practice topic|}}} ]]  
* Topic: [[Best practice topic::{{{Best practice topic|}}} ]]
}}{{ #if: {{{Best practice topic|}}}|
* 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|}}}|
Line 30: Line 30:
* 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]]}} ([[Location coordinates::{{#geocode: {{{Location|}}} }}]])
}}{{ #if: {{{Best practice source|}}}|
}}{{ #if: {{{Best practice source|}}}|
* Source: [[Best practice source::{{{Best practice source|}}} ]] }}
* Source: [[Best practice source::{{{Best practice source|}}} ]] }}

Latest revision as of 03:03, 22 April 2014

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

{{Best practice
| Best practice topic=
| 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.