Template:Key Policies: Difference between revisions
Content added Content deleted
Michaeldakin (talk | contribs) No edit summary |
Michaeldakin (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
<pre> |
<pre> |
||
{{to get cargo code |
{{to get cargo code |
||
|PCategory= |
|||
|Category= |
|||
|KeyPolicy= |
|KeyPolicy= |
||
|Description= |
|Description= |
||
Line 12: | Line 12: | ||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
{{#cargo_declare:_table=Key_Policies |
{{#cargo_declare:_table=Key_Policies |
||
| |
|PCategory=String |
||
|KeyPolicy=String |
|KeyPolicy=String |
||
|Description=Wikitext |
|Description=Wikitext |
||
Line 19: | Line 19: | ||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
{{#cargo_store:_table=Key_Policies |
{{#cargo_store:_table=Key_Policies |
||
| |
|PCategory={{{pcategory|}}} |
||
|KeyPolicy={{{keypolicy|}}} |
|KeyPolicy={{{keypolicy|}}} |
||
|Description={{{description|}}} |
|Description={{{description|}}} |
||
|CharterItem={{{charteritem|}}} |
|CharterItem={{{charteritem|}}} |
||
}} |
}} |
||
{{DISPLAYTITLE:{{{ |
{{DISPLAYTITLE:{{{pcategory|}}}}} |
||
<div style="margin-right:18%;margin-left:18%"> |
<div style="margin-right:18%;margin-left:18%"> |
||
{{Legend Box2|Key Policy}} |
{{Legend Box2|Key Policy}} |
||
Line 34: | Line 34: | ||
{{Legend Box2|Corresponding Charter Article}} |
{{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}} |
{{Legend Box Off2}} |
||
</div> |
</div> |