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

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'volunteerinfobox' template.
 
It should be called in the following format:
 
 
<pre>
 
<pre>
{{volunteerinfobox
+
{{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= 30
|site3=
+
|DBR=3
|region=
+
|DFRTR=32
|region2=
+
|DBAR=12
|region3=
+
|DFARTAR=15
|program=
+
|agent= Allison Tanaka
|program2=
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|assignment04=
 
|state=
 
|uscity=
 
|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>{{volunteerinfobox
 
|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
 
|state=Virginia
 
|uscity=Richmond
 
}}
 
 
</pre>
 
</pre>
 
 
|
 
 
 
 
 
 
 
 
 
 
 
{{volunteerinfobox
 
|firstname= Example
 
|middlename=
 
|lastname= Example
 
|country= Armenia
 
|yearservicestarted=
 
|yearserviceended=
 
|groupcode= A-17
 
|site= Jermuk
 
|site2=
 
|site3= Vyke
 
|region= Vayots Dzor
 
|region2=
 
|region3=
 
|program= Environment
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|map= yes
 
|state=Virginia
 
|uscity=Richmond
 
}}
 
|}
 
 
 
[[Category:templates]]
 
[[Category:templates]]
[[Category:templates infoboxes]]
+
</noinclude><includeonly>
[[Category:templates countries]]
+
{|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;"
</noinclude>
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |<div align="right"><small>''[[Template:Foia]] [[Submit FOIA request|HELP]]''</small></div><br>
 
+
United States Peace Corps<br>
<includeonly>
+
[[FOIA|Freedom of Information Act Request]]<br>
{| 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;"
+
<big>[[FOIA request number::{{PAGENAME}}]]</big><br>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<div align="right"><small>''[[Template:Volunteerinfobox]]''</small></div><br>
+
{{#if:{{{summary|}}}|<small>[[Property:FOIA summary|Request Summary:]]</small>|}}<br>
<big>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{{middlename}}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</big>{{#if:{{{country|}}}|[[Image:Flag_of_{{{country}}}.svg‎|50px|none]]|}}
+
{{#if:{{{summary|}}}|''"[[FOIA summary::{{{summary|}}}]]"''|}}
{{#if:{{{flickr|}}}|<br>{{{flickr}}}|}}{{#if:{{{image|}}}|<br>[[Image:{{{image}}}|250px]]|}}
 
 
|-
 
|-
! [[:category:{{{country}}}|Country]]
+
! {{#if:{{{requested|}}}|[[Property:FOIA requested|Requested:]]|}}
| [[Served in::{{{country|}}}]]
+
| {{#if:{{{requested|}}}|[[FOIA requested::{{{requested|}}}]]|}}
 
|-
 
|-
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]|}}
+
! {{#if:{{{received|}}}|[[Property:FOIA received|Received:]]|}}
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}}{{#if:{{{yearserviceended|}}}|-|}}{{#if:{{{yearserviceended|}}}|[[Ended service in::{{{yearserviceended}}}]]|}}
+
| {{#if:{{{received|}}}|[[FOIA received::{{{received|}}}]]|}}
 
|-
 
|-
! {{#if:{{{groupcode|}}}|[[Property:Group code was|Group Code]]|}}
+
! {{#if:{{{response|}}}|[[Property:FOIA response|Response:]]|}}
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
+
| {{#if:{{{response|}}}|[[FOIA response::{{{response|}}}]]|}}
 
|-
 
|-
! {{#if:{{{site|}}}|[[Property:Name of community was|Site(s)]]|}}
+
! {{#if:{{{appealnumber|}}}|[[Property:FOIA appeal number|FOIA Appeal Number:]]|}}
| {{#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:{{{appealnumber|}}}|[[FOIA appeal number::{{{appealnumber|}}}]]|}}
 
|-
 
|-
! {{#if:{{{region|}}}|[[Property:Name of region was|Region(s)]]|}}
+
! {{#if:{{{appealrequested|}}}|[[Property:FOIA appeal requested|Appeal Requested:]]|}}
| {{#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:{{{appealrequested|}}}|[[FOIA appeal requested::{{{appealrequested|}}}]]|}}
 
|-
 
|-
! {{#if:{{{program|}}}|[[Property:Served in sector|Program(s)]]|}}
+
! {{#if:{{{appealreceived|}}}|[[Property:FOIA appeal received|Appeal Received:]]|}}
| {{#if:{{{program|}}}|[[Served in sector::{{{program}}}]]|}}{{#if:{{{program2|}}}|,[[Served in sector::{{{program2}}}]]|}}{{#if:{{{program3|}}}|,[[Served in sector::{{{program3}}}]]|}}
+
| {{#if:{{{appealreceived|}}}|[[FOIA appeal received::{{{appealreceived|}}}]]|}}
 
|-
 
|-
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
+
! {{#if:{{{appealresponse|}}}|[[Property:FOIA appeal response|Appeal Response:]]|}}
| {{#if:{{{assignment01|}}}|[[Primary assignment was::{{{assignment01}}}]]|}}{{#if:{{{assignment02|}}}|,[[Primary assignment was::{{{assignment02}}}]]|}}{{#if:{{{assignment03|}}}|,[[Primary assignment was::{{{assignment03}}}]]|}}
+
| {{#if:{{{appealresponse|}}}|[[FOIA appeal response::{{{appealresponse|}}}]]|}}
 
|-
 
|-
! {{#if:{{{state|}}}|[[Property:Is from state|From US state]]|}}
+
! {{#if:{{{agent|}}}|[[Property:FOIA agent|Agent:]]|}}
| {{#arraymap:{{{state|}}}|,|x|[[Is from state::x]]}}
+
| {{#if:{{{agent|}}}|[[FOIA agent::{{{agent|}}}]]|}}
 
|-
 
|-
! {{#if:{{{uscity|}}}|[[Property:Is from town or city|From US town/city]]|}}
+
! {{#if:{{{businessdays|}}}|FOIA#FOIA_Pending.2C_Closed_or_Pending_Appeal|Business Days:]]|}}
| {{#arraymap:{{{uscity|}}}|,|x|[[Is from town or city::x]]}}
+
| {{#if:{{{DBR|}}}|(standard)[[Property:FOIA business days before reciept|DBR:]][[FOIA business days before reciept::{{{DBR|}}}]]|}}
 +
{{#if:{{{DFRTR|}}}| [[Property:FOIA business days from reciept till response|DFRTR:]][[FOIA business days from reciept till response::{{{DFRTR|}}}]]|}}<br>
 +
{{#if:{{{DBAR|}}}|(appeal)[[Property:FOIA business days before appeal reciept|DBAR:]][[FOIA business days before appeal reciept::{{{DBAR|}}}]]|}}
 +
{{#if:{{{DFARTAR|}}}| [[Property:FOIA business days from appeal reciept till appeal response| DFARTAR:]][[FOIA business days from appeal reciept till appeal response::{{{DFARTAR|}}}]]|}}
 +
{{#if:{{{businessdays|}}}| '''Days Total:<big>[[FOIA business days::{{{businessdays|}}}]]</big>''' |}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{yearservicestarted|}}}|[[:category:years|Started]] in [[{{{country}}}]] [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"|{{#if:{{{yearservicestarted|}}}|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}|}}
+
! colspan="3"|{{#ask:[[FOIA request number::+]]|? FOIA summary=Summary|?FOIA business days=Days|format=table|sort=FOIA requested|order=descending|limit=8}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|[[Property:Name of region was|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:#ccccff;" colspan="3"|{{#if:{{{region2|}}}|[[Property:Name of region was|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:#ccccff;" colspan="3"|{{#if:{{{program|}}}|[[Image:{{{program}}}.gif|25px]]|}} {{#if:{{{program|}}}| [[Property:Served in sector|Program]]: [[{{{program}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in sector::{{{program}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program2|}}}|[[Image:{{{program2}}}.gif|25px]]|}} {{#if:{{{program2|}}}| [[Property:Served in sector|Program]]: [[{{{program2}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{program2|}}}|{{#ask:[[Served in sector::{{{program2}}}]][[Served in sector::{{{program2}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:{{{country}}}_volunteers|Volunteers]] who served in [[{{{country}}}]]{{#if:{{{country|}}}|:[[Image:Flag_of_{{{country}}}.svg‎|20px|none]]|}}
 
|-
 
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|'''Don't see yourself, Add yourself or a friend!'''
 
<small>''Enter your '''first''' and '''last name'''''</small>{{#forminput:Volunteer}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"| {{#if:{{{map|}}}|Mapped [[Volunteers who served in {{{country}}}|Volunteers]] around [[{{{country}}}]] [[:Category:{{{country}}} volunteers located|({{PAGESINCAT:{{{country}}}_volunteers_located}})]].|}}
 
{{#if:{{{map|}}}|You located yourself at based on your site: [[{{{site|}}}]]
 
<small>{{Location2
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}|}}</small>
 
}}
 
|-
 
! colspan="3"|{{#if:{{{map|}}}|{{#compound_query:[[Category:{{{country}}}_volunteers]][[Location Coordinates::+]];?Location Coordinates;icon=Vol.PNG‎|format=googlemap|width=350|height=400}}|}}
 
 
|}
 
|}
  
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers]]|}}
+
 
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers_{{{yearservicestarted}}}]]|}}
+
 
{{#if:{{{yearservicestarted|}}}|[[category:{{{yearservicestarted}}}]]|}}
+
[[category:FOIA requests]]
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}  
+
{{#if:{{{appealrequested|}}}|[[category:FOIA_appeals]]|}}
{{#if:{{{site2|}}}|[[category:{{{site2|}}}]]|}}
+
 
{{#if:{{{site3|}}}|[[category:{{{site3|}}}]]|}}
 
{{#if:{{{site4|}}}|[[category:{{{site4|}}}]]|}}
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 
{{#if:{{{region2|}}}|[[category:{{{region2|}}}]]|}}
 
{{#if:{{{map|}}}|[[category:{{{country}}}_volunteers_located]]|}}
 
{{#if:{{{map|}}}|[[category:volunteers located]]|}}
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 
{{#if:{{{programs|}}}|[[category:{{{country}}}_{{{programs}}}]]|}}
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
[[Category:volunteers]]
 
 
</includeonly>
 
</includeonly>

Revision as of 10:55, 5 August 2011

{{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= 30
|DBR=3
|DFRTR=32
|DBAR=12
|DFARTAR=15	 
|agent= Allison Tanaka
}}