Difference between pages "Template:Memorialvolunteerbox" and "Template:Foia"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
(changed..to properties)
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'memorialvolunteerbox' template.
 
It should be called in the following format:
 
 
<pre>
 
<pre>
{{memorialvolunteerbox
+
{{foia
|firstname=
+
|summary=
|middlename=
+
|requested=Mar 29 2008
|lastname=
+
|received= Mar 31 2008
|country=
+
|response=May 12 2008
|yearservicestarted=
+
|appealnumber=10-000
|yearserviceended=
+
|appealrequested=Jun 3 2008
|groupcode=  
+
|appealreceived=Jun 6 2008
|site=
+
|appealresponse=Dec 12 2008
|site2=
+
|businessdays=
|site3=
+
|agent= Allison Tanaka
|region=
 
|region2=
 
|region3=
 
|program=
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|fatalitycause=
 
|fatalitydate=
 
|map= ("yes" to display; "no" leave field blank)
 
 
}}
 
}}
</pre>
 
 
Edit the page to see the template text.
 
  
{|
 
| colspan="2" align="center" | '''<big>EXAMPLE:</big>'''
 
|-
 
|
 
<pre>{{memorialvolunteerbox
 
|firstname= Joe
 
|middlename=
 
|lastname= Peaceman
 
|country= Armenia
 
|yearservicestarted= 2008
 
|yearserviceended= 2010
 
|groupcode= A-17
 
|site= Jermuk
 
|site2=
 
|site3= Vyke
 
|region= Vayots Dzor
 
|region2=
 
|region3=
 
|program= Environment
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|map= yes
 
|fatalitycause=
 
|fatalitydate=
 
}}
 
 
</pre>
 
</pre>
 
+
[[Category:templates]]
 
 
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
{{memorialvolunteerbox
 
|firstname= Joe
 
|middlename=
 
|lastname= Peaceman
 
|country= Armenia
 
|yearservicestarted= 2008
 
|yearserviceended= 2010
 
|groupcode= A-17
 
|site= Jermuk
 
|site2=
 
|site3= Vyke
 
|region= Vayots Dzor
 
|region2=
 
|region3=
 
|program= Environment
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|map= yes
 
|fatalitycause=auto
 
|fatalitydate=Jan 1 2005
 
}}
 
|}
 
 
 
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: white; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; :link: #C0C0C0; background-color:mediumorchid;" colspan="2" |
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |<div align="right"><small>''[[Template:Foia]] [[Submit FOIA request|HELP]]''</small></div><br>
IN MEMORY OF<br>
+
United States Peace Corps<br>
<big>{{PAGENAME}}</big><br>
+
[[FOIA|Freedom of Information Act Request]]<br>
{{#if:{{{fatalitydate|}}}|Passed away on:[[Date of death::{{{fatalitydate}}}]]|}}<br>
+
<big>[[FOIA request number::{{PAGENAME}}]]</big><br>
|-
+
{{#if:{{{summary|}}}|<small>[[Property:FOIA summary|Request Summary:]]</small>|}}<br>
! [[:category:{{{country}}}|Country]]
+
{{#if:{{{summary|}}}|''"[[FOIA summary::{{{summary|}}}]]"''|}}
| [[Served in::{{{country|}}}]]
 
|-
 
! [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]
 
| [[Started service in::{{{yearservicestarted|}}}]]-[[Ended service in::{{{yearserviceended|}}}]]
 
|-
 
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
 
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
 
|-
 
|-
! {{#if:{{{site|}}}|[[Property:Name of community was|Site(s)]]|}}
+
! {{#if:{{{requested|}}}|[[Property:FOIA requested|Requested:]]|}}
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}{{#arraymap:{{{site2|}}}|,|x|, [[Name of community was::x]]}}{{#arraymap:{{{site3|}}}|,|x|, [[Name of community was::x]]}}
+
| {{#if:{{{requested|}}}|[[FOIA requested::{{{requested|}}}]]|}}
 
|-
 
|-
! {{#if:{{{region|}}}|[[Property:Name of region was|Region(s)]]|}}
+
! {{#if:{{{received|}}}|[[Property:FOIA received|Received:]]|}}
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}{{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region3|}}}|,|x|,[[Name of region was::x]]}}
+
| {{#if:{{{received|}}}|[[FOIA received::{{{received|}}}]]|}}
 
|-
 
|-
! [[Property:Served in sector|Program]]
+
! {{#if:{{{response|}}}|[[Property:FOIA response|Response:]]|}}
| [[Served in sector::{{{program|}}}]]
+
| {{#if:{{{response|}}}|[[FOIA response::{{{response|}}}]]|}}
 
|-
 
|-
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
+
! {{#if:{{{appealnumber|}}}|[[Property:FOIA appeal number|FOIA Appeal Number:]]|}}
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
+
| {{#if:{{{appealnumber|}}}|[[FOIA appeal number::{{{appealnumber|}}}]]|}}
 
|-
 
|-
! {{#if:{{{fatalitycause|}}}|[[Property:Cause of fatality|Cause of fatality:]]|}}  
+
! {{#if:{{{appealrequested|}}}|[[Property:FOIA appeal requested|Appeal Requested:]]|}}
| {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}<br>
+
| {{#if:{{{appealrequested|}}}|[[FOIA appeal requested::{{{appealrequested|}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{country|}}}|Passed away while serving in: [[{{{country}}}]]|}}
+
! {{#if:{{{appealreceived|}}}|[[Property:FOIA appeal received|Appeal Received:]]|}}
 +
| {{#if:{{{appealreceived|}}}|[[FOIA appeal received::{{{appealreceived|}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Served in::{{{country}}}]]|format=list|limit=15}}
+
! {{#if:{{{appealresponse|}}}|[[Property:FOIA appeal response|Appeal Response:]]|}}
 +
| {{#if:{{{appealresponse|}}}|[[FOIA appeal response::{{{appealresponse|}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{yearserviceended|}}}|Passed away in: [[{{{yearserviceended}}}]]|}}
+
! {{#if:{{{agent|}}}|[[Property:FOIA agent|Agent:]]|}}
 +
| {{#if:{{{agent|}}}|[[FOIA agent::{{{agent|}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Ended service in::{{{yearserviceended}}}]]|format=list|limit=15}}
+
! {{#if:{{{businessdays|}}}|[[Property:FOIA business days|Total Business Days:]]|}}
 +
| {{#if:{{{businessdays|}}}|[[FOIA business days::{{{businessdays|}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Started service in [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|FOIA Request Summaries & Total Days until Final Response[[:Category:FOIA requests|({{PAGESINCAT:FOIA requests}})]].
 
|-
 
|-
! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}
+
! colspan="3"|{{#ask:[[FOIA request number::+]]|? FOIA summary=|?FOIA business days|format=table|sort=FOIA requested|order=descending|limit=8}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{region|}}}|Region: [[{{{region}}}]]|}}
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{appealrequested|}}}|FOIA Appeals [[:Category:FOIA appeals|({{PAGESINCAT:FOIA appeals}})]].|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
+
! colspan="3"|{{#if:{{{appealrequested|}}}|{{#ask:[[Category:FOIA_appeals]][[FOIA request number::+]]|? FOIA appeal requested= |format=ul|sort=FOIA requested|order=descending|limit=15}}|}}
|-
 
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{region2|}}}|Region: [[{{{region2}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|Program: [[{{{program}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]]
 
|-
 
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
 
 
|}
 
|}
  
{{#if:{{{map|}}}|{{Location
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 
}}|}}
 
  
[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]
+
 
[[category:{{{yearservicestarted}}}]]
+
[[category:FOIA requests]]
{{#if:{{{site|}}}|[[category:{{{site|}}}]]}}
+
{{#if:{{{appealrequested|}}}|[[category:FOIA_appeals]]|}}
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
+
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 
{{#if:{{{fatalitydate|}}}|[[category:Volunteer memorials]]}}
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
[[Category:volunteers]]
 
 
</includeonly>
 
</includeonly>

Revision as of 10:56, 24 October 2010

{{foia
|summary=
|requested=Mar 29 2008 	 
|received= Mar 31 2008
|response=May 12 2008
|appealnumber=10-000
|appealrequested=Jun 3 2008
|appealreceived=Jun 6 2008
|appealresponse=Dec 12 2008 
|businessdays= 	 
|agent= Allison Tanaka
}}