Template:Team: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
infobox title was missing "NET"
rename "file info" link to "upload", and use ":File" namespace to link to the metadata page
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}} NET}}
<infobox theme="team" layout="stacked">
<infobox theme="team" layout="stacked">
   <title source="name">
   <title source="name">
Line 5: 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 14: Line 16:
     <label>Amateur Radio Operators</label>
     <label>Amateur Radio Operators</label>
   </data>
   </data>
   <data source="plan">
   <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/|}}}}}}}}} ([[:File:Team Earthquake Plan - {{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}.pdf|upload]])</default>
     <format>{{OpsPlanLink|{{{ops_plan_prefix|{{{plan}}}}}}}}</format>
     <format>{{OpsPlanLink|{{{plan_name}}}}} ([[:File:Team Earthquake Plan - {{{plan_name}}}.pdf|upload]])</format>
  </data>
  <data source="contact">
    <label>How To Contact Us</label>
   </data>
   </data>
   <data source="additional">
   <data source="additional">
Line 45: Line 44:
{
{
"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 65: Line 68:
"type": "content"
"type": "content"
},
},
"ops_plan_prefix": {
"name": {
"aliases": [
"description": "Team name, if it's different than the page name",
"plan"
"example": "TaborVilla",
],
"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"
"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"
}
}
},
},
Line 83: Line 91:
"aro",
"aro",
"additional",
"additional",
"ops_plan_prefix"
"name",
"plan_name",
"no_plan"
]
]
}
}
</templatedata>
</templatedata>
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{{aro|}}}||[[Category:Teams_Without_Radio_Operators]]}}
{{DISPLAYTITLE:{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}} NET}}
[[Category:Teams]]
[[Category:Teams]]
</includeonly>
</includeonly>

Latest revision as of 16:14, 31 July 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