Template:DNDecision: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Alex skene (talk | contribs) No edit summary |
Alex skene (talk | contribs) amending to use named parameters |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Usage: | Usage (non-named parameters): | ||
* <nowiki>{{DNDecision|FOI 1| | * <nowiki>{{DNDecision|FOI 1|Upheld}} </nowiki> | ||
* <nowiki>{{DNDecision|FOI 14(1)|Not Upheld}} </nowiki> | * <nowiki>{{DNDecision|FOI 14(1)|Not Upheld}} </nowiki> | ||
Usage (named parameters): | |||
* <nowiki>{{DNDecision|dnd_section=FOI 1|dnd_finding=Upheld/Not Upheld}} </nowiki> | |||
* <nowiki>{{DNDecision|dnd_section=FOI 14(1)|dnd_finding=Not Upheld}} </nowiki> | |||
Should output: | Should output: | ||
Line 12: | Line 16: | ||
</noinclude> | </noinclude> | ||
* Section of Act / Finding: {{{ | * Section of Act / Finding: {{{dnd_section}}} - [[{{{dnd_section}}}::Complaint {{{dnd_finding}}}]] - [[Property:{{{dnd_section}}}|Find other matching decisions]] |
Latest revision as of 17:42, 2 May 2010
Usage (non-named parameters):
- {{DNDecision|FOI 1|Upheld}}
- {{DNDecision|FOI 14(1)|Not Upheld}}
Usage (named parameters):
- {{DNDecision|dnd_section=FOI 1|dnd_finding=Upheld/Not Upheld}}
- {{DNDecision|dnd_section=FOI 14(1)|dnd_finding=Not Upheld}}
Should output:
- Section of Act / Finding: FOI 1 - [[FOI 1::Complaint Upheld]]
- Section of Act / Finding: FOI 14(1) - [[FOI 14(1)::Complaint Not Upheld]]
Repeat template for each decision.
- Section of Act / Finding: {{{dnd_section}}} - - [[Property:{{{dnd_section}}}|Find other matching decisions]]