Template:Team: Difference between revisions
Jump to navigation
Jump to search
make DISPLAYTITLE includeonly so it doesn't affect the template page name |
handle empty plan_name param for missing Ops Plans |
||
| Line 15: | Line 15: | ||
<data source="plan_name"> | <data source="plan_name"> | ||
<label>Operations Plan</label> | <label>Operations Plan</label> | ||
<default>{{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}}}</default> | <default>{{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}} }} }}}</default> | ||
<format>{{OpsPlanLink|{{{plan_name}}}}}</format> | <format>{{#if: {{{plan_name}}} | {{OpsPlanLink|{{{plan_name}}} }} }}</format> | ||
</data> | </data> | ||
<data source="contact"> | <data source="contact"> | ||
| Line 45: | Line 45: | ||
"params": { | "params": { | ||
"contact": { | "contact": { | ||
"description": " | "description": "Content for How To Contact Us section", | ||
"example": "{{EmailLink|team@somewhere.com}}", | "example": "{{EmailLink|team@somewhere.com}}", | ||
"type": "content" | "type": "content" | ||
| Line 74: | Line 74: | ||
}, | }, | ||
"plan_name": { | "plan_name": { | ||
"description": " | "description": "Base filename for Ops Plan on portland.gov, if different from page name. May be empty.", | ||
"example": "argay-parkrose" | "example": "argay-parkrose" | ||
} | } | ||
Revision as of 11:33, 30 May 2025
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. May be empty.
| Unknown | optional |