Template:Team: Difference between revisions

From Portland NET Wiki
update template metadata
put Contact section first, so new readers don't stop reading at the first email address they run across (e.g. an ARO)
 
(10 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 16: 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>{{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 46: Line 45:
"params": {
"params": {
"contact": {
"contact": {
"description": "content for How To Contact Us section",
"description": "Content for How To Contact Us section",
"example": "{{EmailLink|team@somewhere.com}}",
"example": "{{EmailLink|team@somewhere.com}}",
"type": "content"
"type": "content"
Line 75: Line 74:
},
},
"plan_name": {
"plan_name": {
"description": "base filename for Ops Plan on portland.gov, if different from page name",
"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 88: Line 92:
"additional",
"additional",
"name",
"name",
"plan_name"
"plan_name",
"no_plan"
]
]
}
}
</templatedata>
</templatedata>
</noinclude><includeonly>
</noinclude><includeonly>
{{DISPLAYTITLE:{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}} NET}}
[[Category:Teams]]
[[Category:Teams]]
</includeonly>
</includeonly>