Content added Content deleted
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 14: Line 14:
|PCategory=String
|PCategory=String
|KeyPolicy=Text
|KeyPolicy=Text
|Description=Wikitext
|Description=Text
|CharterItem=String
|CharterItem=String
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#seo:
|title= A Rise Key Policy
|keywords= Rise,Policies
|description={{{keypolicy|}}}
|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=Key_Policies
{{#cargo_store:_table=Key_Policies
|PCategory={{{pcategory|}}}
|PCategory={{{pcategory|}}}
Line 25: Line 36:
}}
}}
__NOTOC__{{DISPLAYTITLE:{{{pcategory|}}}}}
__NOTOC__{{DISPLAYTITLE:{{{pcategory|}}}}}
<div style="margin-right:13%;margin-left:13%">
<div style="margin-right:5%;margin-left:5%">
{{pgban}}
[[File:Temp Banner.png|970px|link=Main Page]]
<div style="font-size:120%;margin-left:5%"> {{Clickable button 2|Key policies|Key Policies|class=mw-ui-progressive}} </div>
<div style="font-size:120%;margin-left:5%"> {{Clickable button 2|Key policies|Goto All Key Policies|class=mw-ui-progressive}} </div>
{{Legend Box2|Key Policy}}
{{Legend Box2|Key Policy}}
{{{keypolicy|}}}</br></br>
{{{keypolicy|}}}</br></br>
{{Legend Box Off2}}
{{Legend Box Off2}}
{{Legend Box2|Description}}
{{Legend Box2|Description}}
{{{description|...}}}</br></br>
{{{description|.....}}}</br></br>
{{Legend Box Off2}}
{{Legend Box Off2}}


Line 38: Line 49:
{{#cargo_query:
{{#cargo_query:
|tables=Key_Policies,Charter_of_Rights
|tables=Key_Policies,Charter_of_Rights
|join on=Key_Policies.CharterItem=Charter_of_Rights.CharterItem
|join on=Key_Policies.CharterItem=Charter_of_Rights._pageName
|where=Key_Policies.CharterItem="{{{charteritem|}}}"
|where=Key_Policies.CharterItem="{{{charteritem|}}}"
|group by=Key_Policies.CharterItem
|group by=Key_Policies.CharterItem
Line 49: Line 60:
{{Legend Box2|Policies}}
{{Legend Box2|Policies}}
{{#cargo_query:
{{#cargo_query:
|tables=Policies,Key_Policies
|tables=Policies
|join on=Policies.KeyPolicyid=Key_Policies._pageName
|where=Policies.KeyPolicyid="{{PAGENAME}}" AND Policies.Approval="Yes"
|where=Policies.KeyPolicyid="{{PAGENAME}}"
|fields=CONCAT( '[[', Policies._pageName, '|',Policies.PolicyID, ']]' ), CONCAT( '[[', Policies._pageName, '|',Policies.Policy, ']]' )
|fields=CONCAT( '[[', Policies._pageName, '|',Policies.PolicyID, ']]' ), CONCAT( '[[', Policies._pageName, '|',Policies.Policy, ']]' )
|format=template
|format=template
|template=Cargo Query Policies
|template=Cargo Query Policies
}}
}}
{{Legend Box Off2}}
{{Legend Box Off2}}</br>
<div style="font-size:120%;margin-left:5%"> {{Clickable button 2|Key policies|Goto All Key Policies|class=mw-ui-progressive}}</div>

<div style="font-size:120%;margin-left:5%"> {{Clickable button 2|Key policies|Key Policies|class=mw-ui-progressive}} </div>
</div>
</div>
</br>

<div style="margin-left:15%">{{Join_and_Follow}}</div>



[[Category:Key Policies]]
[[Category:Key Policies]]

Latest revision as of 16:03, 26 July 2022

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

{{to get cargo code
|PCategory=
|KeyPolicy=
|Description=
|CharterItem=
}}

Edit the page to see the template text. This template defines the table "Key_Policies". View table.