Template:T2012

From Peace Corps Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with " {{#if:{{{2}}}|{{#set_internal:Country staging date |Country name is={{{1}}} |Staging date={{{2}}} 2012 {{#if:{{{3}}}|Staging date={{{3}}} 2012|}} }}|}}")
m (Protected "Template:T2012" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(5 intermediate revisions not shown)
Line 1: Line 1:
 +
<noinclude>
 +
Used on [[Timeline]] to populate pages that need the following country and group info throughout wiki:
 +
Use:
 +
<pre>
 +
{{T2012|countryname|stagingdate|stagingcity|groupcode|swearingin}}
-
{{#if:{{{2}}}|{{#set_internal:Country staging date
+
{{T2012|Zambia|February 1|Washington DC|Z65|March 4}}
-
|Country name is={{{1}}}
+
 
 +
</pre>
 +
 
 +
[[Category:templates]]
 +
</noinclude>
 +
 
 +
<includeonly>
 +
{{#if:{{{2|}}}|{{#set_internal:Country staging date  
 +
 +
|Country name is={{{1}}}  
 +
|Staging date={{{2}}} 2012
|Staging date={{{2}}} 2012
-
{{#if:{{{3}}}|Staging date={{{3}}} 2012|}}
+
-
}}|}}
+
|2012 staging date={{{2}}} 2012
 +
 +
|Staging city={{{3}}}  
 +
 +
|2012 staging city={{{3}}}  
 +
 +
|group code={{{4}}}
 +
 +
|2012 swearing in={{{5}}} 2012
 +
 +
|swearing in={{{5}}} 2012
 +
 +
}}|}}</includeonly>

Latest revision as of 18:39, 22 August 2011

Used on Timeline to populate pages that need the following country and group info throughout wiki: Use:

{{T2012|countryname|stagingdate|stagingcity|groupcode|swearingin}}

{{T2012|Zambia|February 1|Washington DC|Z65|March 4}}

Personal tools
Namespaces
Variants
Actions
Tell Your Friends
Navigation
Peace Corps News
Timelines
Country Information
Groups
Help
About
Toolbox