Template:OpsPlanLink: Difference between revisions

From Portland NET Wiki
need to explicitly embed param 1; <templatedata> "aliases" doesn't do it for us.
use Media instead of File link to go directly to the PDF
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://www.portland.gov/pbem/neighborhood-emergency-teams/documents/{{{netname|{{{1|{{lc: {{SUBPAGENAME}}}}}}}}}}-net-ops-plan/download Operations Plan]
[[File:Document icon.png|18px|link=]] [[Media: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>