Template:OpsPlanLink: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
don't default to SUBPAGENAME; require user to provide name in parameter
switch Ops Plan link to local "Team Earthquake Plan" PDFs
Line 1: Line 1:
[[File:Document icon.png|18px|link=]] [https://www.portland.gov/pbem/neighborhood-emergency-teams/documents/{{lc: {{#invoke:String|replace|{{#invoke:String|replace|{{{netname|{{{1}}}}}}| |-}}|,|}}}}-net-ops-plan/download Operations Plan]
[[File:Document icon.png|18px|link=]] [[File:Team Earthquake Plan - {{{1}}}.pdf|Team Earthquake Plan]]
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"netname": {
"1": {
"aliases": [
"1"
],
"label": "NET name",
"label": "NET name",
"description": "The name of the NET on PBEM's Ops Plans page",
"description": "The NET's name",
"example": "arbor-lodge-kenton",
"example": "Arbor Lodge, Kenton",
"type": "string",
"type": "string"
"default": "lowercase page name"
}
}
},
},
"description": "Link to PBEM-hosted Ops Plan",
"description": "Link to Team Earthquake Plan PDF",
"paramOrder": [
"netname"
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 17:52, 23 November 2025

[[File:Team Earthquake Plan - {{{1}}}.pdf|Team Earthquake Plan]]

Link to Team Earthquake Plan PDF

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
NET name1

The NET's name

Example
Arbor Lodge, Kenton
Stringoptional