Template:DNExemptionInfoBox: Difference between revisions

From FOIwiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 5: Line 5:


==Output==
==Output==
* 2-col table showing decisions upheld & not upheld
* 2-col table showing decisions upheld/partly upheld & not upheld
* table uses the semantic mediawiki #ask query to obtain the data
* table uses the semantic mediawiki #ask query to obtain the data
* output for each row formatted using [[:Template:DNRowFormat]]
</noinclude>
</noinclude>
 
<includeonly>
{| {{table}} class="wikitable sortable"
{| {{table}} class="wikitable"
| align="center" style="background:#f0f0f0;"|'''Complaint upheld'''
| align="center" style="background:#f0f0f0;"|'''Complaints upheld / partly upheld (P)'''
| align="center" style="background:#f0f0f0;"|'''Complaint not upheld'''
| align="center" style="background:#f0f0f0;"|'''Complaints not upheld'''
|-
|-
|
| style="text-align:left; vertical-align: top;" |
{{#ask: [[Category:ICO_Decision_Notice]] [[FOI_41::Upheld]] |
{{#ask: [[Category:ICO Decision Notice]] [[{{{exemption}}}::~Complaint* Upheld]]
?Decision_Notice_Reference | ?Public_Authority }}  
  | mainlabel=-
||
  | ?Decision_Notice_Reference  
{{#ask: [[Category:ICO_Decision_Notice]] [[FOI_41::Not Upheld]]}}
  | ?Public_Authority
  | ?Decision_Notice_Date
  | ?{{{exemption}}}
  | format = template
  | template = DNRowFormat
  | sort=Decision_Notice_Date
  | order=descending
  | headers = hide
  | default = None}}  
| style="text-align:left; vertical-align: top;" |
{{#ask: [[Category:ICO Decision Notice]] [[{{{exemption}}}::Complaint Not upheld]]
  | mainlabel=-
  | ?Decision_Notice_Reference
  | ?Public_Authority
  | ?Decision_Notice_Date
  | format = template
  | template = DNRowFormat
  | sort=Decision_Notice_Date
  | order=descending
  | headers = hide
  | default = None}}
|}
|}
 
<small>Includes DNs up to: {{DNLastUploadedDate}}</small>
x
</includeonly>
 
{{#ask: [[Category:ICO_Decision_Notice]] [[FOI_41::Upheld]]
| ?Decision_Notice_Reference
| ?Public_Authority
| format=ul
}}
 
x

Latest revision as of 00:17, 14 May 2010

Box to display on pages that contain user info on foi exemptions, showing relevant ICO decision notices

Usage

{{DNExemptionInfoBox|exemption=nn}} (eg where nn = 14)

Output

  • 2-col table showing decisions upheld/partly upheld & not upheld
  • table uses the semantic mediawiki #ask query to obtain the data
  • output for each row formatted using Template:DNRowFormat