Difference between revisions of "Template:Infobox Team"

From Electromagnetic Field
Jump to: navigation, search
 
Line 6: Line 6:
 
| colspan=2| [[TeamDesc::{{{desc|}}}|{{{desc|}}}]]{{#if:{{{lead|}}}|<nowiki></nowiki>
 
| colspan=2| [[TeamDesc::{{{desc|}}}|{{{desc|}}}]]{{#if:{{{lead|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=Lead(s)}}{{#arraymap:{{{lead|}}}|,|qwerty|[[TeamLead::qwerty| ]][[qwerty|{{#explode:qwerty|:|1}}]]}}|}}{{#if:{{{deputy|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=Lead(s)}}{{#arraymap:{{{lead|}}}|,|qwerty|[[TeamLead::qwerty| ]][[qwerty|{{#explode:qwerty|:|1}}]]}}|}}{{#if:{{{deputy|}}}|<nowiki></nowiki>
{{InfoboxAddrow|rowlabel=Deputy}}{{#arraymap:{{{deputy|}}}|,|qwerty|[[TeamDeputy::qwerty| ]][[qwerty|{{#explode:qwerty|:|1}}]]}}|}}{{#ifeq:{{{needvolunteers|}}}|Yes|<nowiki></nowiki>
+
{{InfoboxAddrow|rowlabel=Deputy}}{{#arraymap:{{{deputy|}}}|,|qwerty|[[TeamDeputy::qwerty| ]][[qwerty|{{#explode:qwerty|:|1}}]]}}|}}{{#ifeq:{{lc:{{{needvolunteers|}}}}}|yes|<nowiki></nowiki>
 
{{!}}-
 
{{!}}-
 
! colspan=2{{!}} This team needs volunteers|}}{{#if:{{{Location|}}}|<nowiki></nowiki>
 
! colspan=2{{!}} This team needs volunteers|}}{{#if:{{{Location|}}}|<nowiki></nowiki>
Line 20: Line 20:
 
|}
 
|}
 
[[Category:Teams|{{SUBPAGENAME}}]]
 
[[Category:Teams|{{SUBPAGENAME}}]]
{{#ifeq:{{{needvolunteers|}}}|Yes|[[Category:Teams needing volunteers]]|}}
+
{{#ifeq:{{lc:{{{needvolunteers|}}}}}|yes|[[Category:Teams needing volunteers]]|}}
 
{{#default_form:Team}}
 
{{#default_form:Team}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Latest revision as of 08:34, 23 July 2018

If you want to edit, please edit your teampage.

Tech support

This form is used in the following way:

{{Infobox Team
|  Picture = EMFNOC.png
|  Location = 
|  name = NOC
|  desc = Network Operations Centre
|  lead = 
|  needvolunteers = Yes
|  Contact = <contact email>
|  MailingList = <mailing list>
}}