Template:Team: Difference between revisions
Jump to navigation
Jump to search
add no_plan parameter (instead of trying to get empty plan_name to work) |
put Contact section first, so new readers don't stop reading at the first email address they run across (e.g. an ARO) |
||
| Line 4: | Line 4: | ||
<format>{{{name}}} NET</format> | <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> | ||
| Line 17: | Line 20: | ||
<default>{{#if: {{{no_plan|}}} | | {{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}}}}}</default> | <default>{{#if: {{{no_plan|}}} | | {{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}}}}}</default> | ||
<format>{{OpsPlanLink|{{{plan_name}}}}}</format> | <format>{{OpsPlanLink|{{{plan_name}}}}}</format> | ||
</data> | </data> | ||
<data source="additional"> | <data source="additional"> | ||
Latest revision as of 14: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 |