Difference between pages "Template:Categoryvolunteersyear" and "Template:Categoryvolunteersyear/parser"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
m (1 revision imported)
 
(Created page with '{{#explode:{{PAGENAME}}| |0}}{{#if:{{#explode:{{PAGENAME}}| |3}}|_{{#explode:{{PAGENAME}}| |1}}|}}{{#if:{{#explode:{{PAGENAME}}| |4}}|_{{#explode:{{PAGENAME}}| |2}}|}}{{#if:{{#ex…')
 
Line 1: Line 1:
<noinclude>
+
{{#explode:{{PAGENAME}}| |0}}{{#if:{{#explode:{{PAGENAME}}| |3}}|_{{#explode:{{PAGENAME}}| |1}}|}}{{#if:{{#explode:{{PAGENAME}}| |4}}|_{{#explode:{{PAGENAME}}| |2}}|}}{{#if:{{#explode:{{PAGENAME}}| |5}}|_{{#explode:{{PAGENAME}}| |3}}|}}{{#if:{{#explode:{{PAGENAME}}| |6}}|_{{#explode:{{PAGENAME}}| |4}}|}}
 
 
<pre>
 
{{categoryvolunteersyear}}
 
 
 
''NOTE:
 
putting the country and year is no longer necessary,
 
the template now parses the title of the category with #explode
 
 
 
{{categoryvolunteersyear|COUNTRY|YEAR}}''
 
</pre>
 
 
 
 
 
[[Category:templates]]
 
[[Category:templates volunteers]]
 
[[Category:templates groups]]
 
[[Category:templates category]]
 
</noinclude>
 
 
 
<includeonly>
 
{| border="2" class="noprint" class="toccolours" style="clear:right; float:right; background: #f9f9f9; width: 500px;" cellspacing="3" cellpadding="3" rules="none"
 
|-
 
|[[Image:Flag_of_{{categoryvolunteersyear/parser}}.svg|150px|none]]
 
|
 
*The following is a categorized listing of those articles that relate to [[{{categoryvolunteersyear/parser}}]] in [[{{#explode:{{PAGENAME}}| |-1}}]].
 
*RPCVs, [[{{categoryvolunteersyear/parser}}_projects]], [[{{categoryvolunteersyear/parser}}_sites]] and other activities that occurred in [[{{categoryvolunteersyear/parser}}]] are listed. If you're an RPCV you can '''[[Create_Article | create a page]]''' on yourself.
 
|}
 
{| border="2" class="noprint" class="toccolours" style="clear:right; float:right; background: #f9f9f9; width: 500px;" cellspacing="3" cellpadding="3" rules="none"
 
|-
 
|{{#forminput:Volunteer|25||Add or edit Volunteer|Volunteerinfobox[country]={{categoryvolunteersyear/parser}}&Volunteerinfobox[yearservicestarted]={{#explode:{{PAGENAME}}| |-1}}}}
 
|}
 
 
 
[[Category:{{categoryvolunteersyear/parser}}_volunteers]]
 
[[Category:{{#explode:{{PAGENAME}}| |-1}}]]
 
[[Category:Groups]]
 
</includeonly>
 

Revision as of 05:48, 12 September 2009

{{#explode:Categoryvolunteersyear/parser| |0}}{{#if:{{#explode:Categoryvolunteersyear/parser| |3}}|_{{#explode:Categoryvolunteersyear/parser| |1}}|}}{{#if:{{#explode:Categoryvolunteersyear/parser| |4}}|_{{#explode:Categoryvolunteersyear/parser| |2}}|}}{{#if:{{#explode:Categoryvolunteersyear/parser| |5}}|_{{#explode:Categoryvolunteersyear/parser| |3}}|}}{{#if:{{#explode:Categoryvolunteersyear/parser| |6}}|_{{#explode:Categoryvolunteersyear/parser| |4}}|}}