Content added Content deleted
No edit summary
No edit summary
 
(75 intermediate revisions by the same user not shown)
Line 6: Line 6:
|PolicyID=
|PolicyID=
|Policy=
|Policy=
|Category=
|PCategory=
|SubCategory=
|Description=
|Description=
|CharterItem=
|CharterItem=
Line 15: Line 16:
|Status=
|Status=
|PolicyPaper=
|PolicyPaper=
|SupportDocs1=
|SupportDocs=
|SupportDocs2=
|SupportDocs3=
|UpdatedBy=
|DateUpdated=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Policies
{{#cargo_attach:_table=Policies
|PolicyID=String
|PolicyID=String
|Policy=Text
|Policy=Text
|PCategory=String
|Category=String
|SubCategory=String
|Description=Text
|Description=Text
|CharterItem=String
|CharterItem=String
Line 31: Line 37:
|Status=String
|Status=String
|PolicyPaper=String
|PolicyPaper=String
|SupportDocs=String
|SupportDocs1=String
|SupportDocs2=String
|SupportDocs3=String
|UpdatedBy=String
|DateUpdated=Date
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#seo:
|title= Rise Policy
|keywords= Rise,Policies
|description={{{policy|}}}
|image=https://static.miraheze.org/campaignlabwiki/1/1b/Rise_logo_square_300px.png
|twitter:image:src=https://static.miraheze.org/campaignlabwiki/1/1b/Rise_logo_square_300px.png
|og:url= {{fullurl:{{PAGENAME}}}}
|og:type=article
|fb:app_id=567080903808582
|google-site-verification=GEeHhcxoHWZ4EbFBudyILoYe21RElCR1PFdaJs2iiS8
}}
{{#cargo_store:_table=Policies
{{#cargo_store:_table=Policies
|PolicyID={{{policyid|}}}
|PolicyID={{{policyid|}}}
|Policy={{{policy|}}}
|Policy={{{policy|}}}
|PCategory={{{pcategory|}}}
|Category={{{category|}}}
|SubCategory={{{subcategory|}}}
|Description={{{description|}}}
|Description={{{description|}}}
|CharterItem={{{charteritem|}}}
|CharterItem={{{charteritem|}}}
Line 46: Line 68:
|Status={{{status|}}}
|Status={{{status|}}}
|PolicyPaper={{{policypaper|}}}
|PolicyPaper={{{policypaper|}}}
|SupportDocs1={{{supportdocs1|}}}
|SupportDocs={{#arraymap:{{{supportdocs|}}}|,|x|[[Image:x]]}}
|SupportDocs2={{{supportdocs2|}}}
|SupportDocs3={{{supportdocs3|}}}
|UpdatedBy={{{updatedby|}}}
|DateUpdated={{{dateupdated|}}}
}}
}}
__NOTOC__{{DISPLAYTITLE:Stream: {{{stream|}}}}}{{pgban}}
__NOTOC__{{PAGEBANNER:Simpler Rise Logo2.png|pgname=Stream: {{{stream|}}}|origin=1,0}}<div style="margin-right:3%;margin-left:3%"><div style="font-size:130%">
<div style="margin-right:6%;margin-left:6%">
{| style="width: 30%;margin-left: 40px;text-align:center"
|- style="background-color:#ffffcc;"
| style="width:50%"|[[Special:RunQuery/Search_Policies|Back ]] || [[{{PAGENAME}}PIF|PIF]]
|}
</div>
{{Legend Box2|Policy}}
{{Legend Box2|Policy}}
{|
{{{policyid|}}} {{{policy|}}}</br></br>
|- style="vertical-align:top;"
|style="padding-right:1em;width:5em;"| '''Policy ID:'''
|style="padding-right:2em;"| {{{policyid|}}}
|style="padding-right:1em;width:5.4em;"| '''Policy:'''
|style="padding-right:2em;"| {{{policy|}}}
|- style="vertical-align:top;"
|&nbsp;||
|- style="vertical-align:top;"
|style="padding-right:1em;"| '''Category:'''
|style="padding-right:2em;"| {{#sub:{{{category|}}} |3}}
|style="padding-right:1em;width:5.4em;"| '''SubCategory:'''
| {{#sub:{{{subcategory}}}|2}}
|}
</br>
{{Legend Box Off2}}
{{Legend Box Off2}}
{{Legend Box2|Description and Support Documents}}
{{Legend Box2|Description and Support Documents}}
Line 57: Line 102:
{|
{|
|-
|-
| style="vertical-align:top; padding-right:10em" | {{#if: {{{policypaper|}}} |Policy Paper</br> <span class="newwin">[[File:{{{policypaper|}}}|page=1|100px|Policy Paper {{{policyid|}}}|border]] | }}</span>
| style="vertical-align:top; padding-right:10em" | {{#if: {{{policypaper|}}} |Policy Paper {{#tip-info: Click on image to view the policy paper in the Policy Hub. Once you have opened the policy paper in the Policy Hub, you can open the pdf in your browser by clicking on the file}}</br> <span class="newwin">[[File:{{{policypaper|}}}|page=1|100px|Policy Paper {{{policyid|}}}|border|]] | }}</span>
| style="vertical-align:top;" | {{#if: {{{supportdocs|}}} |Support Documents</br> <span class="newwin">[[File:{{{supportdocs|}}}|page=1|100px|Supporting Document {{{supportdocs}}}|border]] | }}</span>
| style="vertical-align:top;" | {{#if: {{{supportdocs1|}}} |Support Documents {{#tip-info: Click on image to view the supporting document in the Policy Hub. Once you have opened the supporting document in the Policy Hub, you can open the pdf in your browser by clicking on the file}}</br> <span class="newwin">[[File:{{{supportdocs1|}}}|page=1|100px|Supporting Document {{{supportdocs1}}}|border]] | }}</span>
| style="vertical-align:top;" | {{#if: {{{supportdocs2|}}} |</br><span class="newwin">[[File:{{{supportdocs2|}}}|page=1|100px|Supporting Document {{{supportdocs2}}}|border]] | }}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| style="vertical-align:top;" | {{#if: {{{supportdocs3|}}} |</br><span class="newwin">[[File:{{{supportdocs3|}}}|page=1|100px|Supporting Document {{{supportdocs3}}}|border]] | }}</span>
|}
|}
{{Legend Box Off2}}
{{Legend Box Off2}}
Line 99: Line 146:
{| style="width: 30%;margin-left: 40px;text-align:center"
{| style="width: 30%;margin-left: 40px;text-align:center"
|- style="background-color:#ffffcc;"
|- style="background-color:#ffffcc;"
| style="width:50%"|[[Special:RunQuery/Search_Policies|Policies ]] || [[{{PAGENAME}}PIF|PIF]]
| style="width:50%"|[[Special:RunQuery/Search_Policies|Back ]] || [[{{PAGENAME}}PIF|PIF]]
|}
|}
</div>
</div>

Latest revision as of 20:44, 15 August 2022

This is the "to get cargo code" template. It should be called in the following format:

{{to get cargo code
|PolicyID=
|Policy=
|Category=
|SubCategory=
|Description=
|CharterItem=
|KeyPolicyid=
|Stream=
|Approval=
|OriginalPolicy=
|Status=
|PolicyPaper=
|SupportDocs1=
|SupportDocs2=
|SupportDocs3=
|UpdatedBy=
|DateUpdated=
}}

Edit the page to see the template text. This template adds rows to the table "Policies", which is not declared by any template. View table.