Template:Key Policies: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4:
<pre>
{{to get cargo code
|PCategory=
|Category=
|KeyPolicy=
|Description=
Line 12:
Edit the page to see the template text.
{{#cargo_declare:_table=Key_Policies
|CategoryPCategory=String
|KeyPolicy=String
|Description=Wikitext
Line 19:
</noinclude><includeonly>
{{#cargo_store:_table=Key_Policies
|CategoryPCategory={{{categorypcategory|}}}
|KeyPolicy={{{keypolicy|}}}
|Description={{{description|}}}
|CharterItem={{{charteritem|}}}
}}
{{DISPLAYTITLE:{{{categorypcategory|}}}}}
<div style="margin-right:18%;margin-left:18%">
{{Legend Box2|Key Policy}}
Line 34:
 
{{Legend Box2|Corresponding Charter Article}}
{{#cargo_query:
{{#cargo_query:|tables=Key_Policies,Charter_of_Rights|join on=Key_Policies.CharterItem=Charter_of_Rights.CharterItem|fields=Key_Policies.CharterItem,Charter_of_Rights.Description|format=template|template=Cargo Query CoR}}
|tables=Key_Policies,Charter_of_Rights
|join on=Key_Policies.CharterItem=Charter_of_Rights.CharterItem
|fields=Key_Policies.CharterItem,Charter_of_Rights.Description
|format=template
|template=Cargo Query CoR
}}
{{Legend Box Off2}}
</div>