Template:Land-useTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{Land-useTemplate
{{Land-useTemplate
Land-useOption
LandCoverOption,LandCover,LandCoverText
Land-use
Land-useText
}}
}}
</pre>
</pre>[[Category:ReferenceCardStructure]]
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>__NOEDITSECTION__  
</noinclude><includeonly>__NOEDITSECTION__  
{{#formlink:form=Land-useForm|link text=edit Land-use|link type=button|target={{PAGENAME}} }}
{{#formlink:form=Land-useForm|link text=edit Land-use|link type=button|target={{PAGENAME}} }}
== Land-use ==
{{DisplayTemplate|model={{PAGENAME}}|group=Land-use|docPage=Land-use}}
''Model documentation: [[Land-use - {{PAGENAME}}]]''
{{SetFeatureTemplate
<div class="toccolours">
|id=Land cover
{{DisplayAttributeTemplate|model={{PAGENAME}}|attribute=Land-use }}
|featurePage=FeatureStructureLand-use
<div style="clear:both">
|selected={{{LandCoverOption|}}}
</div></div>
|specific={{{LandCover|}}}
{{#subobject:Land-use
|comment={{{LandCoverText|}}}
|IsAttributeOfModel={{PAGENAME}}
}}{{SetFeatureTemplate
|HasAttributeLabel=Land-use
|id=Agriculture and forestry demands
|HasDefaultOption={{#show:Property:HasLand-useOption|? Allows value=|sep=;}}|+sep=;
|featurePage=FeatureStructureLand-use
|HasSelectedOption={{{Land-useOption|}}}|+sep=;
|selected={{{AgricultureAndForestryDemandsOption|}}}
|HasSpecificOption={{{Land-use|}}}|+sep=;
|specific={{{AgricultureAndForestryDemands|}}}
|HasAttributeComment={{{Land-useText|}}}
|comment={{{AgricultureAndForestryDemandsText|}}}
}}{{#set:
}}{{SetFeatureTemplate
HasLand-use={{{Land-use|}}}|+sep=;
|id=Agricultural commodities
|HasAttribute=Land-use
|featurePage=FeatureStructureLand-use
}}</includeonly>
|selected={{{AgriculturalCommoditiesOption|}}}
|specific={{{AgriculturalCommodities|}}}
|comment={{{AgriculturalCommoditiesText|}}}
}}
{{#set:
HasLandCover={{{LandCover|}}}|+sep=;
|HasAgricultureAndForestryDemands={{{AgricultureAndForestryDemands|}}}|+sep=;
|HasAgriculturalCommodities={{{AgriculturalCommodities|}}}|+sep=;
}}
</includeonly>

Latest revision as of 14:52, 17 November 2021

This is the "Land-useTemplate" template. It should be called in the following format:

{{Land-useTemplate
LandCoverOption,LandCover,LandCoverText
}}

Edit the page to see the template text.