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

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'memorialvolunteerbox' template.
 
It should be called in the following format:
 
 
<pre>
 
<pre>
{{memorialvolunteerbox
+
{{foia
|firstname=
+
|requested=Mar 29 2008
|middlename=
+
|received= Mar 31 2008
|lastname=
+
|response=May 12 2008
|country=
+
|appealrequested=Jun 3 2008
|yearservicestarted=
+
|appealreceived=Jun 6 2008
|yearserviceended=
+
|appealresponse=Dec 12 2008 
|groupcode=
+
|agent= Allison Tanaka
|site=
 
|site2=
 
|site3=
 
|region=
 
|region2=
 
|region3=
 
|program=
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|fatalitycause=
 
|fatalitydate=
 
|state=
 
|uscity=
 
 
}}
 
}}
</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=
 
|fatalitycause=
 
|fatalitydate= Jan 1 2005
 
}}
 
 
</pre>
 
</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=
 
|fatalitycause=auto
 
|fatalitydate=Jan 1 2005
 
}}
 
|}
 
 
[[Category:templates]]
 
[[Category:templates infoboxes]]
 
[[Category:templates volunteers]]
 
[[Category:templates memorials]]
 
 
 
</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" |<div align="right"><small>''[[Template:memorialvolunteerbox]]''</small></div><br>
+
! 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>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{{middlename}}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</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>
|-
 
! [[:category:{{{country}}}|Country]]
 
| [[Served in::{{{country|}}}]]
 
|-
 
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Started Service:]]||}
 
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted|}}}]]|}}
 
 
|-
 
|-
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
+
! {{#if:{{{requested|}}}|[[Property:FOIA requested|Requested:]]|}}
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
+
| {{#if:{{{requested|}}}|[[FOIA requested::{{{requested|}}}]]|}}
 
|-
 
|-
! {{#if:{{{site|}}}|[[Property:Name of community was|Site(s)]]|}}
+
! {{#if:{{{received|}}}|[[Property:FOIA received|Received:]]|}}
| {{#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:{{{received|}}}|[[FOIA received::{{{received|}}}]]|}}
 
|-
 
|-
! {{#if:{{{region|}}}|[[Property:Name of region was|Region(s)]]|}}
+
! {{#if:{{{response|}}}|[[Property:FOIA response|Response:]]|}}
| {{#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:{{{response|}}}|[[FOIA response::{{{response|}}}]]|}}
 
|-
 
|-
! {{#if:{{{program|}}}[[Property:Served in sector|Program]]
+
! {{#if:{{{appealrequested|}}}|[[Property:FOIA appeal requested|Appeal Requested:]]|}}
| {{#if:{{{program|}}}[[Served in sector::{{{program}}}]]
+
| {{#if:{{{appealrequested|}}}|[[FOIA appeal requested::{{{appealrequested|}}}]]|}}
 
|-
 
|-
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
+
! {{#if:{{{appealreceived|}}}|[[Property:FOIA appeal received|Appeal Received:]]|}}
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
+
| {{#if:{{{appealreceived|}}}|[[FOIA appeal received::{{{appealreceived|}}}]]|}}
 
|-
 
|-
! {{#if:{{{fatalitycause|}}}|[[Property:Cause of fatality|Cause of fatality:]]|}}  
+
! {{#if:{{{appealresponse|}}}|[[Property:FOIA appeal response|Appeal Response:]]|}}
| {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}<br>
+
| {{#if:{{{appealresponse|}}}|[[FOIA appeal response::{{{appealresponse|}}}]]|}}
 
|-
 
|-
! {{#if:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}}
+
! {{#if:{{{agent|}}}|[[Property:FOIA agent|Agent:]]|}}
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
+
| {{#if:{{{agent|}}}|[[FOIA agent::{{{agent|}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{country|}}}|Passed away while serving in: [[Special:Browse/{{{country}}}|{{{country}}}]]|}}
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{requested|}}}|FOIA Requests [[:Category:FOIA requests|({{PAGESINCAT:FOIA requests}})]].|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Served in::{{{country}}}]]|format=list|limit=15}}
+
! colspan="3"|{{#if:{{{requested|}}}|{{#ask:[[category:FOIA_requests]]| ?FOIA_request_number|format=list|limit=15}}|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{fatalitydate|}}}|Passed away in: [[Property:Date of death|{{{fatalitydate}}}]]|}}
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{appealrequested|}}}|FOIA Appeals [[:Category:FOIA appeals|({{PAGESINCAT:FOIA appeals}})]].|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{fatalitydate|}}}|{{#ask:[[Category:Volunteer memorial]][[Date of death::{{{fatalitydate}}}]]|format=list|limit=15}}|}}
+
! colspan="3"|{{#if:{{{appealrequested|}}}|{{#ask:[[category:FOIA_appeals]]|?FOIA_request_number|format=list|limit=15}}|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{state|}}}|From US State: [[{{{state}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Category:Volunteer memorial]][[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]] in {{{country}}}|}}
 
|-
 
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]][[Category:Volunteer memorial]]|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:[[Date of death::+]]|format=list|limit=15}}
 
 
|}
 
|}
  
{{#if:{{{yearservicestarted|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]|}}
+
 
{{#if:{{{yearserviceended|}}}[[category:{{{yearserviceended}}}]]|}}
+
 
{{#if:{{{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]]|}}
 
{{#if:{{{state|}}}|[[category:{{{state}}}]]|}}
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
[[Category:volunteers]]
 
 
</includeonly>
 
</includeonly>

Revision as of 16:56, 24 March 2010

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