Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Difference between revisions of "Template:Permaculture element"

From Appropedia
Jump to: navigation, search
m (Added edit link to the bottom of the table.)
(Attempt #2 at quickfix separator.)
 
(4 intermediate revisions by the same user not shown)
Line 14: Line 14:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 248px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}" align="{{{2|{{{align|right}}}}}}" <!-- Taken from  http://www.appropedia.org/Template:Userboxtop -->
+
{| name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 248px; text-align:center; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}" align="{{{2|{{{align|right}}}}}}" <!-- Taken from  http://www.appropedia.org/Template:Userboxtop -->
 
|-
 
|-
 
!<b>[[Permaculture|Permaculture element]]</b>
 
!<b>[[Permaculture|Permaculture element]]</b>
Line 31: Line 31:
 
| {{#arraymap:{{{functions|}}}|,|x|[[Performs function::x]] }}
 
| {{#arraymap:{{{functions|}}}|,|x|[[Performs function::x]] }}
 
|-
 
|-
! Used in
+
|
 
|-
 
|-
| {{#ask: [[Category:Permaculture system]][[Uses element::{{{name|}}}]] | format=list }}
+
! <small>Need of</small>
 +
|-
 +
| {{#ask: [[Category:Permaculture element]][[Has need::{{{name|}}}]] | format=list | default=No data available. }}
 +
|-
 +
! <small>Product of</small>
 +
|-
 +
| {{#ask: [[Category:Permaculture element]][[Creates product::{{{name|}}}]] | format=list | default=No data available. }}
 +
|-
 +
! <small>Used in these systems</small>
 +
|-
 +
| {{#ask: [[Category:Permaculture system]][[Uses element::{{{name|}}}]] | format=list | default=No data available. }}
 
|-
 
|-
 
|<div style="text-align:right">{{#formlink:form=Permaculture element data|link text=Edit this data|target={{PAGENAME}} }}</div>
 
|<div style="text-align:right">{{#formlink:form=Permaculture element data|link text=Edit this data|target={{PAGENAME}} }}</div>

Latest revision as of 08:55, 5 June 2013

A template to be added to permaculture element pages to show a permaculture element box, and store the values as semantic data. The template can either be used with the Permaculture element form, or by using the following template syntax.

At present, it provides no visual element on the page.

{{Permaculture element | name = Chicken | needs = Grain, Shelter | products = Manure, Food, Protein | functions = Pest control }}