Template:Team: Difference between revisions
From Portland NET Wiki
put DISPLAYTITLE here to combine with Ops Plan link |
put Contact section first, so new readers don't stop reading at the first email address they run across (e.g. an ARO) |
||
| (17 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<infobox theme="team" layout="stacked"> | <infobox theme="team" layout="stacked"> | ||
<title source="name"> | <title source="name"> | ||
<default>{{SUBPAGENAME}} NET</default> | <default>{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}} NET</default> | ||
<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 13: | Line 16: | ||
<label>Amateur Radio Operators</label> | <label>Amateur Radio Operators</label> | ||
</data> | </data> | ||
<data source=" | <data source="plan_name"> | ||
<label>Operations Plan</label> | <label>Operations Plan</label> | ||
<default>{{OpsPlanLink|{{SUBPAGENAME}}}}</default> | <default>{{#if: {{{no_plan|}}} | | {{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}}}}}</default> | ||
<format>{{OpsPlanLink|{{{ | <format>{{OpsPlanLink|{{{plan_name}}}}}</format> | ||
</data> | </data> | ||
<data source="additional"> | <data source="additional"> | ||
| Line 44: | 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 64: | Line 68: | ||
"type": "content" | "type": "content" | ||
}, | }, | ||
" | "name": { | ||
"description": "Team name, if it's different than the page name", | |||
"example": "TaborVilla", | |||
"description": " | |||
"example": " | |||
"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 82: | Line 91: | ||
"aro", | "aro", | ||
"additional", | "additional", | ||
" | "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> | ||
