Template:Memorialvolunteerbox
From Peace Corps Wiki
(Difference between revisions)
(changed variables slightly...testing) |
m (Reverted edits by AmyRoseLimeTeam (Talk) to last revision by 71.191.14.141) |
||
| (30 intermediate revisions not shown) | |||
| Line 23: | Line 23: | ||
|fatalitycause= | |fatalitycause= | ||
|fatalitydate= | |fatalitydate= | ||
| - | | | + | |state= |
| + | |uscity= | ||
| + | |ageatdeath= | ||
| + | |image= | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 51: | Line 54: | ||
|assignment02= | |assignment02= | ||
|assignment03= | |assignment03= | ||
| - | | | + | |fatalitycause= |
| - | | | + | |fatalitydate= Jan 1 2005 |
| - | | | + | |ageatdeath= |
| + | |image= | ||
| + | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 87: | Line 92: | ||
|assignment02= | |assignment02= | ||
|assignment03= | |assignment03= | ||
| - | |||
|fatalitycause=auto | |fatalitycause=auto | ||
|fatalitydate=Jan 1 2005 | |fatalitydate=Jan 1 2005 | ||
| + | |ageatdeath=24 | ||
| + | |image=Presentation image.jpg | ||
}} | }} | ||
|} | |} | ||
| + | [[Category:templates]] | ||
[[Category:templates infoboxes]] | [[Category:templates infoboxes]] | ||
[[Category:templates volunteers]] | [[Category:templates volunteers]] | ||
| Line 99: | Line 106: | ||
</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: white; 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; :link: #C0C0C0; background-color:mediumorchid;" colspan="2" |<div align="right"><small>''[[Template:memorialvolunteerbox]]''</small></div><br>[[:Category:Volunteer memorials|IN MEMORY OF]]<br><big>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{{middlename}}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</big><br> |
| - | IN MEMORY OF<br> | + | {{#if:{{{fatalitydate|}}}|[[Property:Date of death|Passed away]]: [[Date of death::{{{fatalitydate}}}]]|}} <br> |
| - | <big>{{ | + | {{#if:{{{image|}}}|[[Image:{{{image}}}|200px]]|}} |
| - | {{#if:{{{fatalitydate|}}}|Passed away | + | |
|- | |- | ||
! [[:category:{{{country}}}|Country]] | ! [[:category:{{{country}}}|Country]] | ||
| - | | [[Served in::{{{country | + | | [[Served in::{{{country}}}]] |
|- | |- | ||
| - | ! [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}| | + | ! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Started Service:]]|}} |
| - | | | + | | {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}} |
|- | |- | ||
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}} | ! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}} | ||
| Line 119: | Line 125: | ||
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}{{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region3|}}}|,|x|,[[Name of region was::x]]}} | | {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}{{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region3|}}}|,|x|,[[Name of region was::x]]}} | ||
|- | |- | ||
| - | ! [[Property:Served in sector|Program]] | + | ! {{#if:{{{program|}}}[[Property:Served in sector|Program]]|}} |
| - | | [[Served in sector::{{{program | + | | {{#if:{{{program|}}}[[Served in sector::{{{program}}}]]|}} |
|- | |- | ||
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}} | ! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}} | ||
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}} | | {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}} | ||
|- | |- | ||
| - | ! {{#if:{{{fatalitycause|}}}|[[Property: | + | ! {{#if:{{{fatalitycause|}}}|[[Property:Cause_of_death|Cause of death:]]|}} |
| - | | {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}} | + | | {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}} |
| + | |- | ||
| + | ! {{#if:{{{ageatdeath|}}}|[[Property:Age at death|Age:]]|}} | ||
| + | | {{#if:{{{ageatdeath|}}}|[[Age at death::{{{ageatdeath}}}]]|}} | ||
|- | |- | ||
! {{#if:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}} | ! {{#if:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}} | ||
| Line 133: | Line 142: | ||
! 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:mediumorchid;" colspan="3"|{{#if:{{{country|}}}|Passed away while serving in: [[Special:Browse/{{{country}}}|{{{country}}}]]|}} | ||
|- | |- | ||
| - | ! colspan="3"|{{#ask:[[Category:Volunteer | + | ! colspan="3"|{{#ask:[[Category:Volunteer memorials]][[Served in::{{{country}}}]]|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:mediumorchid;" colspan="3"|{{#if:{{{fatalitydate|}}}|Passed away in: [[Property:Date of death|{{{fatalitydate}}}]]|}} | ||
|- | |- | ||
| - | ! colspan="3"|{{# | + | ! colspan="3"|{{#if:{{{fatalitydate|}}}|{{#ask:[[Category:Volunteer memorials]][[Date of death::{{{fatalitydate}}}]]|format=list|limit=15}}|}} |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
|- | |- | ||
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{state|}}}|From US State: [[{{{state}}}]]|}} | ! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{state|}}}|From US State: [[{{{state}}}]]|}} | ||
|- | |- | ||
| - | ! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Category:Volunteer | + | ! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Category:Volunteer memorials]][[Is from state::{{{state}}}]]|format=list|limit=15}}|}} |
|- | |- | ||
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]] in {{{country}}}|}} | ! 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 | + | ! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]][[Category:Volunteer memorials]]|format=list|limit=15}}|}} |
|- | |- | ||
| - | ! style="text-align: center; background-color:mediumorchid;" colspan="3"|Other | + | ! style="text-align: center; background-color:mediumorchid;" colspan="3"|Other Volunteers who passed away while serving in Peace Corps. |
|- | |- | ||
| - | ! colspan="3"|{{#ask:[[ | + | ! colspan="3"|{{#ask:[[Date of death::+]]|format=list|limit=15}} |
| + | |- | ||
| + | ! style="text-align: center; " colspan="3"|Source: [[FOIA_10076|FOIA request #10076 (June 2010)]] | ||
|} | |} | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
{{#if:{{{yearservicestarted|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]|}} | {{#if:{{{yearservicestarted|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]|}} | ||
{{#if:{{{yearserviceended|}}}[[category:{{{yearserviceended}}}]]|}} | {{#if:{{{yearserviceended|}}}[[category:{{{yearserviceended}}}]]|}} | ||
Latest revision as of 15:55, 26 December 2010
This is the 'memorialvolunteerbox' template. It should be called in the following format:
{{memorialvolunteerbox
|firstname=
|middlename=
|lastname=
|country=
|yearservicestarted=
|yearserviceended=
|groupcode=
|site=
|site2=
|site3=
|region=
|region2=
|region3=
|program=
|assignment01=
|assignment02=
|assignment03=
|fatalitycause=
|fatalitydate=
|state=
|uscity=
|ageatdeath=
|image=
}}
Edit the page to see the template text.
| EXAMPLE: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{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
|ageatdeath=
|image=
}}
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||