Template:Policies: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(143 intermediate revisions by the same user not shown)
Line 6:
|PolicyID=
|Policy=
|Category=
|PCategory=
|SubCategory=
|Description=
|CharterItem=
Line 12 ⟶ 13:
|Stream=
|Approval=
|OriginalPolicy=
|Status=
|PolicyPaper=
|SupportDocs1=
|SupportDocs2=
|SupportDocs3=
|UpdatedBy=
|DateUpdated=
}}
</pre>
Edit the page to see the template text.
{{#cargo_declarecargo_attach:_table=Policies
|PolicyID=String
|Policy=Text
|PCategoryCategory=String
|SubCategory=String
|Description=Text
|CharterItem=String
Line 24 ⟶ 34:
|Stream=String
|Approval=String
|OriginalPolicy=String
|Status=String
|PolicyPaper=String
|SupportDocs1=String
|SupportDocs2=String
|SupportDocs3=String
|UpdatedBy=String
|DateUpdated=Date
}}
</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
|PolicyID={{{policyid|}}}
|Policy={{{policy|}}}
|PCategoryCategory={{{pcategorycategory|}}}
|SubCategory={{{subcategory|}}}
|Description={{{description|}}}
|CharterItem={{{charteritem|}}}
Line 35 ⟶ 65:
|Stream={{{stream|}}}
|Approval={{{approval|}}}
|OriginalPolicy={{{originalpolicy|}}}
|Status={{{status|}}}
|PolicyPaper={{{policypaper|}}}
|SupportDocs1={{{supportdocs1|}}}
|SupportDocs2={{{supportdocs2|}}}
|SupportDocs3={{{supportdocs3|}}}
|UpdatedBy={{{updatedby|}}}
|DateUpdated={{{dateupdated|}}}
}}
__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%">
__NOTOC__{{DISPLAYTITLE:{{{pcategory|}}}}}[[File:Temp Banner.png|1000px|link=]]
<div{| style="margin-rightwidth:18 30%;margin-left:18% 40px;text-align:center">
|- style="background-color:#ffffcc;"
| style="width:50%"|[[Special:RunQuery/Search_Policies|Back ]] || [[{{PAGENAME}}PIF|PIF]]
|-}
</div>
{{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 Box2|Description and Support Documents}}
{{{description|...}}}</br></br>
{|
|-
| 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: {{{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 Box2|Corresponding Key Policy}}
{{#cargo_query:
|tables=Key_Policies
|where=_pageName="{{{keypolicyid|}}}"
|fields=PCategory,CONCAT( '[[', "{{{keypolicyid|}}}", '|', KeyPolicy, ']]')
|format=template
|template=Cargo Query CoR
|default=''A Key Policy hasn't been attached to this policy yet''
}}
{{Legend Box Off2}}
 
Line 53 ⟶ 128:
|fields=Charter_of_Rights.CharterItem,Charter_of_Rights.Description
|format=template
|template=Cargo Query CoRUniversal
|default=''A Charter article hasn't been attached to this policy yet''
}}
{{Legend Box Off2}}
 
{{Legend Box2|Amendments}}
{{#cargo_query:
|tables=Amendments
|where=PolicyHeader="{{PAGENAME}}"
|fields=Type, CONCAT( '[[', _pageName, '|', Description, ']]' )
|format=template
|template=Cargo Query Universal
}}
{{Legend Box Off2}}<br>
 
<div style="font-size:130%">
{| style="width: 10030%;margin-left: 40px;text-align:center"
|- style="background-color:#ffffcc;"
|-
| style="width:50%"|[[Special:RunQuery/Search_Policies|Back ]] || [[{{PAGENAME}}PIF|PIF]]
| [[{{{keypolicyid|}}}|Back]] || [[{{PAGENAME}}PIF|PIF]] || {{#formlink:form=Amendments|link text=Amend|link type=text|query string=Amendments[policyheader]={{PAGENAME}}|reload|returnto={{PAGENAME}} }} || {{#formlink:form=New|link text=New|link type=text|reload|returnto={{PAGENAME}} }}
|}
</div>