Difference between revisions of "Template:ComponentPolicyIssueTemplate"

From IMAGE
Jump to: navigation, search
m (Text replace - "[[HasStatus::{{{Status|}}}| ]]" to "")
(34 intermediate revisions by 3 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 smwtable jquery-tablesorter"><tr class="ComponentPolicyIssueTemplateRow"><th class="ComponentPolicyIssueTemplateTd1 headerSort">'''Policy intervention'''</th><th class="ComponentPolicyIssueTemplateTd2 headerSort">'''Description'''</th><th class="ComponentPolicyIssueTemplateTd3 headerSort" >'''References'''</th></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| ]]|}}
 
  
[[HasPageLabel::Policy issues| ]]
+
{{#set:HasPageLabel=Policy issues}}
[[BelongsToPage::{{#titleparts: {{PAGENAME}}|1}}| ]]
+
{{#set:BelongsToPage={{#titleparts: {{FULLPAGENAME}}|1}} }}
[[HasSequence::2| ]]
+
{{#set:HasSequence=2}}
 
</includeonly>
 
</includeonly>

Revision as of 15: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.