Template:Team: Difference between revisions
Jump to navigation
Jump to search
initial Team template |
put Contact section first, so new readers don't stop reading at the first email address they run across (e.g. an ARO) |
||
| (39 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<infobox layout="stacked"> | <infobox theme="team" layout="stacked"> | ||
<title source="name"> | <title source="name"> | ||
<default>{{SUBPAGENAME}} NET</default> | <default>{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}} NET</default> | ||
<format>{{{name}}} NET</format> | |||
</title> | </title> | ||
<data source="contact"> | |||
<label>How To Contact Us</label> | |||
</data> | |||
<data source="tl"> | <data source="tl"> | ||
<label>Team Leaders</label> | <label>Team Leaders</label> | ||
</data> | </data> | ||
<data source="atl"> | <data source="atl"> | ||
<label>Assistant Team | <label>Assistant Team Leaders</label> | ||
</data> | </data> | ||
<data source="aro"> | <data source="aro"> | ||
<label>Amateur Radio Operators</label> | <label>Amateur Radio Operators</label> | ||
</data> | </data> | ||
<data source=" | <data source="plan_name"> | ||
<label> | <label>Operations Plan</label> | ||
<default>{{#if: {{{no_plan|}}} | | {{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}}}}}</default> | |||
<format>{{OpsPlanLink|{{{plan_name}}}}}</format> | |||
</data> | </data> | ||
<data source="additional"> | <data source="additional"> | ||
<label>Additional Information</label> | <label>Additional Information</label> | ||
</data> | </data> | ||
</infobox> | </infobox><noinclude> | ||
<noinclude> | |||
Example: | Example: | ||
<nowiki> | <nowiki> | ||
| Line 38: | Line 41: | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"contact": {}, | "contact": { | ||
"description": "Content for How To Contact Us section", | |||
"example": "{{EmailLink|team@somewhere.com}}", | |||
"type": "content" | |||
}, | |||
"tl": { | "tl": { | ||
"description": "Team Leader(s)", | "description": "Team Leader(s)", | ||
| Line 61: | Line 67: | ||
"description": "Additional content to append", | "description": "Additional content to append", | ||
"type": "content" | "type": "content" | ||
}, | |||
"name": { | |||
"description": "Team name, if it's different than the page name", | |||
"example": "TaborVilla", | |||
"type": "string" | |||
}, | |||
"plan_name": { | |||
"description": "Base filename for Ops Plan on portland.gov, if different from page name.", | |||
"example": "argay-parkrose" | |||
}, | |||
"no_plan": { | |||
"description": "Set this if the team has no plan at all.", | |||
"example": "true", | |||
"type": "boolean" | |||
} | } | ||
}, | }, | ||
"description": "Displays an infobox with the basic team stats.", | "description": "Displays an infobox with the basic team stats.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"contact", | |||
"tl", | |||
"atl", | |||
"aro", | |||
"additional", | |||
"name", | |||
"plan_name", | |||
"no_plan" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude><includeonly> | ||
{{DISPLAYTITLE:{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}} NET}} | |||
[[Category:Teams]] | |||
</includeonly> | |||
Latest revision as of 13:19, 9 February 2026
Example:
{{Team
|tl=
First Person<br>
Second Person<br>
|atl=
Third Person<br>
|aro=
Fourth Person<br>
|contact=
{{EmailLink|''email@address.com''}}<br>
{{GroupsLink|''group-name''}}<br>
{{SignalLink|#''link''}}<br>
}}
Displays an infobox with the basic team stats.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| contact | contact | Content for How To Contact Us section
| Content | optional |
| tl | tl | Team Leader(s)
| Content | optional |
| atl | atl | Assistant Team Leader(s)
| Content | optional |
| aro | aro | Amateur Radio Operators
| Content | optional |
| additional | additional | Additional content to append | Content | optional |
| name | name | Team name, if it's different than the page name
| String | optional |
| plan_name | plan_name | Base filename for Ops Plan on portland.gov, if different from page name.
| Unknown | optional |
| no_plan | no_plan | Set this if the team has no plan at all.
| Boolean | optional |