Template:DNExemptionInfoBox: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Alex skene (talk | contribs) No edit summary |
Alex skene (talk | contribs) No edit summary |
||
(21 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 | {| {{table}} class="wikitable" | ||
| align="center" style="background:#f0f0f0;"|''' | | align="center" style="background:#f0f0f0;"|'''Complaints upheld / partly upheld (P)''' | ||
| align="center" style="background:#f0f0f0;"|''' | | align="center" style="background:#f0f0f0;"|'''Complaints not upheld''' | ||
|- | |- | ||
| | | style="text-align:left; vertical-align: top;" | | ||
{{#ask: [[Category:ICO Decision Notice]] [[ | {{#ask: [[Category:ICO Decision Notice]] [[{{{exemption}}}::~Complaint* Upheld]] | ||
? | | mainlabel=- | ||
|| | | ?Decision_Notice_Reference | ||
{{#ask: [[Category:ICO Decision Notice]] [[ | | ?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> | |||
</includeonly> | |||
{{ | |||
}} | |||
Latest revision as of 23:17, 13 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