Template:ComponentDescriptionTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(48 intermediate revisions by 4 users not shown)
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{ComponentSubpageTemplate2
{{ComponentDescriptionTemplate
 
|Reference=
|Reference=
|Description=
|Description=
Line 9: Line 10:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly><div class="top_container">{{IconTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
{{StatusWarning|Status={{{Status|}}} }}<div style="float:right; clear:right; ">
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{FULLPAGENAME}}|1}} }}__TOC____NOEDITSECTION__
{{#ifexpr:{{InfoboxTestTemplate|basepage={{#titleparts: {{PAGENAME}}|1}}|subpage={{#titleparts: {{PAGENAME}}|1|2}} }}|
</div><div class="container">
{{InfoBoxStyleTemplate}}
{{InfoBoxTemplate}} {{DisplayFlowchartTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
{{#ifexpr:{{PropertyTestTemplate|prop=HasApplication|page={{#titleparts: {{PAGENAME}}|1}} }}|
<div class="page_standard">
<tr>{{InfoBoxCellStyleTemplate}}<b>Applications</b></td></tr>
==Model description of {{#titleparts: {{FULLPAGENAME}}|1}}==
<tr><td>
{{{Description|}}}
{{#ask: [[Category:Application]][[-HasApplication::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{FULLPAGENAME}}|1}} }}
</td></tr>
</div></div>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasIMAGEComponent|page={{#titleparts: {{PAGENAME}}|1}} }}|
<tr>{{InfoBoxCellStyleTemplate}}<b>IMAGE components</b></td></tr>
<tr><td>
{{#ask: [[Category:Component]][[-HasIMAGEComponent::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasExternalModel|page={{#titleparts: {{PAGENAME}}|1}}}}|
<tr>{{InfoBoxCellStyleTemplate}}<b>External models</b></td></tr>
<tr><td>
{{#ask: [[Category:External Model]][[-HasExternalModel::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasKeyReference|page={{#titleparts: {{PAGENAME}}|1}}}}|
<tr>{{InfoBoxCellStyleTemplate}}<b>Key references</b></td></tr>
<tr><td>
{{#ask: [[Category:Reference]][[-HasKeyReference::{{#titleparts: {{PAGENAME}}|1}}]]|format=ul}}
</td></tr>
|}}
{{#ifexpr:{{PropertyTestTemplate|prop=HasReference|page={{PAGENAME}} }}|
<tr>{{InfoBoxCellStyleTemplate}}<b>References</b></td></tr>
<tr><td> <ul>
{{#arraymap:{{{Reference|}}}|;|x|<li>[[x]]</li>|}}
</ul></td></tr>
|}}
</table>
|}}
</div>
__TOC__
 
{{#ifeq:{{{Flowchart|}}}||| [[File:{{{Flowchart|}}}|thumb|240px|left|alt={{{AltText|}}}|{{{CaptionText}}}]]}}{{{Description|}}}
 
== Main pages of {{#titleparts: {{PAGENAME}}|1}} ==
* Overview page of [[{{#titleparts: {{PAGENAME}}|1}}]]
* [[{{#titleparts: {{PAGENAME}}|1}}/Description|Detailed description]] for a detailed description of this component
* [[{{#titleparts: {{PAGENAME}}|1}}/Policy Interventions|Policy interventions]] for policy interventions and illustrated effects
* [[{{#titleparts: {{PAGENAME}}|1}}/Data_uncertainties_limitations|Data uncertainties and limitations]] for details about data, uncertainty and limitations
Overview of all used [[{{#titleparts: {{PAGENAME}}|1}}/References|references]] for this component.


[[Category:ComponentDescriptionSubpage]]
[[Category:ComponentDescription]]
<!--arraymap assigns the property, but does not display  anything -->
{{#arraymap:{{{Reference|}}}|;|xx|{{#set:HasReference=xx}} |}}
{{#arraymap:{{{Reference|}}}|;|x|[[HasReference::x| ]]|}}
{{#set:HasPageLabel=Model description }}
[[HasStatus::{{{Status|}}}|]]
{{#set:BelongsToPage={{#titleparts: {{FULLPAGENAME}}|1}} }}
{{#set:HasSequence=1}}
</includeonly>
</includeonly>

Revision as of 16:21, 14 July 2017

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

{{ComponentDescriptionTemplate

|Reference=
|Description=
}}

Edit the page to see the template text.