Template:ComponentPolicyIssueTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(38 intermediate revisions by 4 users not shown)
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{StatusWarning|Status={{{Status|}}} }}
<div class="top_container">{{IconTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
{{IconTemplate|{{#titleparts: {{PAGENAME}}|1}} }}
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{FULLPAGENAME}}|1}} }}__TOC__  
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}}|subpage=1 }}__TOC__<br clear="all"/>  
</div><div class="container">
{{InfoBoxSubPageTemplate|PagePartHeader=Component parts|Reference={{{Reference|}}} }}
{{InfoBoxTemplate}}
==Baseline development== __NOEDITSECTION__
<div class="page_standard"><h2>Baseline developments</h2>
{{{Description|}}}
{{{Description|}}}
{{#ask:[[Category:Figure]][[HasFigureType::Baseline figure]][[BelongsToComponent::{{#titleparts:{{BASEPAGENAME}}|1}}]]
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Baseline figure}}
|mainlabel=pagina
<h2>Policy interventions</h2>
|?HasPageName=figure
|?HasAltTitle=alt
|?HasCaption=caption
|?HasOptimalSize
|format=template
|link=none
|headers=plain
|template=ViewPolicyInterventionFigureTemplate
}}
<br clear="all">
==Policy interventions== __NOEDITSECTION__
{{#ask:[[Category:PolicyIntervention]][[HasComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
|mainlabel=Policy intervention
|?HasDescription=Description
|?HasReference=References
|format=template
|template=StyleParameterTemplate
|intro=<table class="ComponentPolicyIssueTemplateTable sortable wikitable smwtable jquery-tablesorter"><tr class="ComponentPolicyIssueTemplateRow"><td class="ComponentPolicyIssueTemplateTd1">'''Policy intervention'''</td><td class="ComponentPolicyIssueTemplateTd2">'''Description'''</td><td class="ComponentPolicyIssueTemplateTd3" >'''References'''</td></tr>
|outro=</table><br/><br/>
}}
 
==Example of policy intervention== __NOEDITSECTION__
{{#ifeq:{{{Example|}}}|||{{{Example|}}}<br/>}}
{{#ifeq:{{{Example|}}}|||{{{Example|}}}<br/>}}
{{#ask:[[Category:Figure]][[[HasFigureType::Policy intervention figure]][[BelongsToComponent::{{#titleparts: {{BASEPAGENAME}} | 1 }}]]
{{DisplayPolicyInterventionFigureTemplate|{{#titleparts: {{PAGENAME}}|1}}|Policy intervention figure}}
|mainlabel=page
</div></div>
|?HasPageName=figure
{{PIEffectOnComponentTemplate }}
|?HasAltTitle=alt
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}} }}
|?HasCaption=caption
|?HasOptimalSize
|format=template
|link=none
|headers=plain
|template=ViewPolicyInterventionFigureTemplate
}}
<br clear=all>
{{ContentPartsTemplate|PagePartHeader=Parts of {{#titleparts: {{PAGENAME}}|1}}|subpage=1 }}


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

Revision as of 16:21, 14 July 2017

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

{{ComponentPolicyIssueTemplate
|Reference=
|Description=
|Example=
}}

Edit the page to see the template text.