Difference between revisions of "Template:Vol"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{multi-lang}}{{#ifeq:{{#var:lang}}||{{#vardefine:Name|{{{Name|{{PAGENAME}}}}}|}}{{ | <includeonly>{{#ifeq:{{{noML|}}}|*||{{multi-lang}}}}{{#ifeq:{{#var:lang}}||{{#vardefine:Name|{{{Name|{{PAGENAME}}}}}|}}{{ | ||
#ifeq:{{{G}}}|*|[[Category:SL Greeters|{{#var:Name}}]]|}}{{ | #ifeq:{{{G}}}|*|[[Category:SL Greeters|{{#var:Name}}]]|}}{{ | ||
#ifeq:{{{M}}}|*|[[Category:SL Mentors|{{#var:Name}}]]|}}{{ | #ifeq:{{{M}}}|*|[[Category:SL Mentors|{{#var:Name}}]]|}}{{ | ||
#ifeq:{{{M&G}}}|*|[[Category:SL Mentors & Greeters|{{#var:Name}}]][[Category:SL Mentors|{{#var:Name}}]][[Category:SL Greeters|{{#var:Name}}]]|}}|}}</includeonly> | #ifeq:{{{RHN}}}|*|[[Category:Resident_Help_Network|{{#var:Name}}]]|}}{{ | ||
#ifeq:{{{M&G}}}|*|[[Category:SL Mentors & Greeters|{{#var:Name}}]][[Category:SL Mentors|{{#var:Name}}]][[Category:SL Greeters|{{#var:Name}}]]|}}|}}[[Category:Second Life Volunteers]]</includeonly><noinclude>This template is supposed to be used at pages connected to Second Life Volunteers. | |||
== Usage == | |||
Min spec:<br> | |||
<nowiki>{{Vol}}</nowiki> | |||
Full spec:<br> | |||
<nowiki>{{Vol</nowiki><br> | |||
<nowiki>|M=</nowiki><br> | |||
<nowiki>|G=</nowiki><br> | |||
<nowiki>|M&G=</nowiki><br> | |||
<nowiki>|RHN=</nowiki><br> | |||
<nowiki>|noML=</nowiki><br> | |||
<nowiki>}}</nowiki><br> | |||
This template includes <nowiki>{{</nowiki>[[Template:Multi-lang|multi-lang]]<nowiki>}}</nowiki>. '''English''' pages containing this template will be added to [[:Category:Second Life Volunteers]]. | |||
The template has four more attributes | |||
<div align="center"> | |||
{|style={{prettytable}} | |||
!input | |||
!registers to | |||
|- | |||
|M=* | |||
|[[:Category:SL Mentors]] | |||
|- | |||
|G=* | |||
|[[:Category:SL Greeters]] | |||
|- | |||
|M&G=* | |||
|[[:Category:SL Mentors]], [[:Category:SL Greeters]], [[:Category:SL Mentors & Greeters]] | |||
|- | |||
|RHN=* | |||
|[[:Category:Resident Help Network]] | |||
|- | |||
|noML=* | |||
|disables inclusion of <nowiki>{{</nowiki>[[Template:Multi-lang|multi-lang]]<nowiki>}}</nowiki> | |||
|}</div> |
Latest revision as of 19:09, 8 December 2008
This template is supposed to be used at pages connected to Second Life Volunteers.
Usage
Min spec:
{{Vol}}
Full spec:
{{Vol
|M=
|G=
|M&G=
|RHN=
|noML=
}}
This template includes {{multi-lang}}. English pages containing this template will be added to Category:Second Life Volunteers.
The template has four more attributes
input | registers to |
---|---|
M=* | Category:SL Mentors |
G=* | Category:SL Greeters |
M&G=* | Category:SL Mentors, Category:SL Greeters, Category:SL Mentors & Greeters |
RHN=* | Category:Resident Help Network |
noML=* | disables inclusion of {{multi-lang}} |