Template:Key Policies: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(146 intermediate revisions by the same user not shown)
Line 4:
<pre>
{{to get cargo code
|PCategory=
|Sequence=
|Category=
|KeyPolicy=
|Description=
Line 13 ⟶ 12:
Edit the page to see the template text.
{{#cargo_declare:_table=Key_Policies
|CategoryPCategory=String
|Sequence=Integer
|KeyPolicy=StringText
|Category=String
|Description=WikitextText
|KeyPolicy=String
|Description=Wikitext
|CharterItem=String
}}
</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
|SequencePCategory={{{sequencepcategory|}}}
|Category={{{category|}}}
|KeyPolicy={{{keypolicy|}}}
|Description={{{description|}}}
|CharterItem={{{charteritem|}}}
}}
__NOTOC__{{DISPLAYTITLE:{{{pcategory|}}}}}
{|
<div style="margin-right:5%;margin-left:5%">
|-
|{{{sequence|}pgban}}
<div style="font-size:120%;margin-left:5%"> {{Clickable button 2|Key policies|Goto All Key Policies|class=mw-ui-progressive}} </div>
|{{{category|}}}
{{Legend Box2|Key Policy}}
|{{{keypolicy|}}}
|{{{descriptionkeypolicy|}}}</br></br>
{{Legend Box Off2}}
|{{{charteritem|}}}
{{Legend Box2|Description}}
|}
{{{description|.....}}}</br></br>
{{Legend Box Off2}}
 
{{Legend Box2|Corresponding Charter Article}}
{{#cargo_query:
|tables=Key_Policies,Charter_of_Rights
|join on=Key_Policies.CharterItem=Charter_of_Rights._pageName
|where=Key_Policies.CharterItem="{{{charteritem|}}}"
|group by=Key_Policies.CharterItem
|fields=Charter_of_Rights.CharterItem,Charter_of_Rights.Description
|format=template
|template=Cargo Query CoR
}}
{{Legend Box Off2}}
 
{{Legend Box2|Policies}}
{{#cargo_query:
|tables=Policies
|where=Policies.KeyPolicyid="{{PAGENAME}}" AND Policies.Approval="Yes"
|fields=CONCAT( '[[', Policies._pageName, '|',Policies.PolicyID, ']]' ), CONCAT( '[[', Policies._pageName, '|',Policies.Policy, ']]' )
|format=template
|template=Cargo Query Policies
}}
{{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>
</br>
<div style="margin-left:15%">{{Join_and_Follow}}</div>
 
[[Category:Key Policies]]
</includeonly>