Template:Best practice: Difference between revisions

From Green Policy
Jump to navigation Jump to search
No edit summary
No edit summary
 
(24 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>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>
! Best practice type
| |  {{{Best practice type|}}}


|-
<div style="float: right; width: 40%">
! Best practice vote
{{ #display_map: {{{Location|}}} }}
| |  {{{Best practice vote|}}}  
</div>


|-
* Topic: [[Best practice topic::{{{Best practice topic|}}} ]]
! Best practice source
* Type: {{ #set: Best practice type={{{Best practice type|}}} }}[[:Category:{{{Best practice type|}}}|{{{Best practice type}}}]]
| | {{{Best practice source|}}}  
{{ #if: {{{Vote|}}}|
* Vote: {{{Best practice vote|}}}
}}{{ #if: {{{Status|}}}|
* Status: [[Best practice status::{{{Best practice status|}}} ]]
}}{{ #if: {{{Best practice adopted|}}}|
* Adopted: [[Best practice adopted::{{{Best practice adopted|}}} ]]
}}{{ #if: {{{Location|}}}|
* Location: {{#arraymap:{{{Location|}}}|,|x|{{ #set:Location=x}}[[:Category:x|x]][[Category:x]]}} ([[Location coordinates::{{#geocode: {{{Location|}}} }}]])
}}{{ #if: {{{Best practice source|}}}|
* Source: [[Best practice source::{{{Best practice source|}}} ]] }}


|-
! Best practice adopted
| |  {{{Best practice adopted|}}}
|-
! Best practice status
| |  {{{Best practice status|}}}
|-
! Location
| |  {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}
|-
! Location coordinates
| |  {{{Location coordinates|}}}
|}


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

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.