Template:Team: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
put Contact section first, so new readers don't stop reading at the first email address they run across (e.g. an ARO)
 
(2 intermediate revisions by the same user not shown)
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 15: Line 18:
   <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>{{#if: {{{no_plan|}}} | | {{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}}}}}</default>
     <format>{{#if: {{{plan_name|}}} | {{OpsPlanLink|{{{plan_name}}} }} }}</format>
     <format>{{OpsPlanLink|{{{plan_name}}}}}</format>
  </data>
  <data source="contact">
    <label>How To Contact Us</label>
   </data>
   </data>
   <data source="additional">
   <data source="additional">
Line 74: Line 74:
},
},
"plan_name": {
"plan_name": {
"description": "Base filename for Ops Plan on portland.gov, if different from page name. May be empty.",
"description": "Base filename for Ops Plan on portland.gov, if different from page name.",
"example": "argay-parkrose"
"example": "argay-parkrose"
},
"no_plan": {
"description": "Set this if the team has no plan at all.",
"example": "true",
"type": "boolean"
}
}
},
},
Line 87: Line 92:
"additional",
"additional",
"name",
"name",
"plan_name"
"plan_name",
"no_plan"
]
]
}
}

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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
contactcontact

Content for How To Contact Us section

Example
{{EmailLink|team@somewhere.com}}
Contentoptional
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
namename

Team name, if it's different than the page name

Example
TaborVilla
Stringoptional
plan_nameplan_name

Base filename for Ops Plan on portland.gov, if different from page name.

Example
argay-parkrose
Unknownoptional
no_planno_plan

Set this if the team has no plan at all.

Example
true
Booleanoptional