Difference between pages "Template:Volunteerinfobox" and "Form:Volunteer"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'volunteerinfobox' template.
+
This is the 'Volunteer' form.
It should be called in the following format:
+
To add a page with this form, enter the page name below;
<pre>
+
if a page with that name already exists, you will be sent to a form to edit that page.
{{volunteerinfobox
 
|firstname=
 
|middlename=
 
|lastname=
 
|country=
 
|yearservicestarted=
 
|yearserviceended=
 
|groupcode=
 
|site=
 
|site2=
 
|site3=
 
|region=
 
|region2=
 
|region3=
 
|program=
 
|program2=
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|assignment04=
 
|state=
 
|uscity=
 
|map= ("yes" to display; "no" leave field blank)
 
}}
 
</pre>
 
  
Edit the page to see the template text.
+
{{#forminput:Volunteer}}
 +
</noinclude><includeonly>
 +
{{{info|add title=Add Volunteer Info|edit title=Edit Volunteer Info|page name=<Firstname[firstname]> <Lastname[firstname]>}}}
  
{|
 
| 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>
 
 
 
|
 
  
 +
</noinclude><includeonly>
 +
{{{for template|Volunteerinfobox|label=Vital Volunteer Information Box}}}
 +
'''Firstname:''' {{{field|firstname|input type=text|mandatory}}}
  
 +
'''Lastname:''' {{{field|lastname|input type=text|mandatory}}}
  
 +
'''Country:''' {{{field|country|mandatory}}}
  
 +
'''Yearservicestarted:''' {{{field|yearservicestarted|mandatory}}}
  
 +
'''Yearserviceended:''' {{{field|yearserviceended|mandatory}}}
  
 +
'''Site:''' {{{field|site|input type=text|mandatory}}}
  
 +
'''Program:''' {{{field|program}}}
  
 +
'''Assignment01:''' {{{field|assignment01|chooser=volunteerbox}}}
  
 +
{{{end template}}}
  
{{volunteerinfobox
+
{{{choosers}}}  
|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]]
+
{{{for template|Volunteer|label=More about Volunteer|chooser=add more volunteer info|chooser caption=more volunteer info}}}
[[Category:templates infoboxes]]
+
{| class="formtable"
[[Category:templates countries]]
+
! Dos:
</noinclude>
+
| {{{field|dos}}}
 
 
<includeonly>
 
{| 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; background-color:#ccccff;" colspan="2" |<div align="right"><small>''[[Template:Volunteerinfobox]]''</small></div><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:{{{flickr|}}}|<br>{{{flickr}}}|}}{{#if:{{{image|}}}|<br>[[Image:{{{image}}}|250px]]|}}
 
|-
 
! [[:category:{{{country}}}|Country]]
 
| [[Served in::{{{country|}}}]]
 
|-
 
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]|}}
 
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}}{{#if:{{{yearserviceended|}}}|-|}}{{#if:{{{yearserviceended|}}}|[[Ended service in::{{{yearserviceended}}}]]|}}
 
|-
 
! {{#if:{{{groupcode|}}}|[[Property:Group code was|Group Code]]|}}
 
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
|-
 
! {{#if:{{{site|}}}|[[Property:Name of community was|Site(s)]]|}}
 
| {{#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:{{{region|}}}|[[Property:Name of region was|Region(s)]]|}}
 
| {{#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:{{{program|}}}|[[Property:Served in sector|Program(s)]]|}}
 
| {{#if:{{{program|}}}|[[Served in sector::{{{program}}}]]|}}{{#if:{{{program2|}}}|,[[Served in sector::{{{program2}}}]]|}}{{#if:{{{program3|}}}|,[[Served in sector::{{{program3}}}]]|}}
 
|-
 
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
 
| {{#if:{{{assignment01|}}}|[[Primary assignment was::{{{assignment01}}}]]|}}{{#if:{{{assignment02|}}}|,[[Primary assignment was::{{{assignment02}}}]]|}}{{#if:{{{assignment03|}}}|,[[Primary assignment was::{{{assignment03}}}]]|}}
 
|-
 
! {{#if:{{{state|}}}|[[Property:Is from state|From US state]]|}}
 
| {{#arraymap:{{{state|}}}|,|x|[[Is from state::x]]}}
 
|-
 
! {{#if:{{{uscity|}}}|[[Property:Is from town or city|From US town/city]]|}}
 
| {{#arraymap:{{{uscity|}}}|,|x|[[Is from town or city::x]]}}
 
|-
 
! 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}}}]|}}
 
|-
 
! colspan="3"|{{#if:{{{yearservicestarted|}}}|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|[[Property:Name of region was|Region]]: [[{{{region}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|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|}}}|[[File:{{{program}}}.jpg|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|}}}|[[File:{{{program2}}}.jpg|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}}|}}
+
! Lessons Learned:
 +
| {{{field|lessons}}}
 
|-
 
|-
! 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]]|}}
+
! About:
 +
| {{{field|about}}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
+
! External Links:
 +
| {{{field|homepage}}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|'''Don't see yourself, Add yourself or a friend!'''
+
! References:
<small>''Enter your '''first''' and '''last name'''''</small>{{#forminput:Volunteer}}
+
| {{{field|references}}}
 
|-
 
|-
! 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}})]].|}}
+
! Facebook public profile link:
{{#if:{{{map|}}}|You located yourself at based on your site: [[{{{site|}}}]]
+
| {{{field|facebook}}}
<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}}|}}
+
! Linkedin public profile link:
 +
| {{{field|linkedin}}}
 
|}
 
|}
 +
{{{end template}}}
 +
 +
'''Free text:'''
 +
 +
{{{standard input|free text}}}
 +
 +
 +
{{{standard input|summary}}}
 +
 +
{{{standard input|minor edit}}} {{{standard input|watch}}}
  
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers]]|}}
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers_{{{yearservicestarted}}}]]|}}
 
{{#if:{{{yearservicestarted|}}}|[[category:{{{yearservicestarted}}}]]|}}
 
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}
 
{{#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 00:42, 27 December 2008

This is the 'Volunteer' form. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.

{{#forminput:Volunteer}}