Template:Team: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
fix default Ops Plan link
Tag: Manual revert
update template documentation and add alias for ops_plan_prefix
Line 15: Line 15:
     <label>Operations Plan</label>
     <label>Operations Plan</label>
     <default>{{OpsPlanLink|{{SUBPAGENAME}}}}</default>
     <default>{{OpsPlanLink|{{SUBPAGENAME}}}}</default>
     <format>{{OpsPlanLink|{{{plan}}}}}</format>
     <format>{{OpsPlanLink|{{{ops_plan_prefix|{{{plan}}}}}}}}</format>
   </data>
   </data>
   <data source="contact">
   <data source="contact">
Line 63: Line 63:
"type": "content"
"type": "content"
},
},
"plan": {
"ops_plan_prefix": {
"label": "Operations Plan",
"aliases": [
"description": "Link to Operations Plan document",
"plan"
"example": "{{OpsPlanLink|arbor-lodge-kenton}}",
],
"type": "content"
"label": "Operations Plan filename prefix",
"description": "When the portland.gov Operations Plan document name prefix doesn't match the full neighborhood name, provide the portland.gov prefix here.",
"example": "hazelwood-mill-park",
"type": "string"
}
}
},
},
"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",
"ops_plan_prefix"
]
}
}
</templatedata>
</templatedata>

Revision as of 13:15, 12 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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
contactcontact

no description

Unknownoptional
tltl

Team Leader(s)

Example
First Person<br> Second Person<br>
Contentoptional
atlatl

Assistant Team Leader(s)

Example
First Person<br> Second Person<br>
Contentoptional
aroaro

Amateur Radio Operators

Example
First Person<br> Second Person<br>
Contentoptional
additionaladditional

Additional content to append

Contentoptional
Operations Plan filename prefixops_plan_prefix plan

When the portland.gov Operations Plan document name prefix doesn't match the full neighborhood name, provide the portland.gov prefix here.

Example
hazelwood-mill-park
Stringoptional