Template:Team: Difference between revisions

From Portland NET Wiki
append "file info" link to Team Earthquake Plan
rename "file info" link to "upload", and use ":File" namespace to link to the metadata page
 
Line 18: Line 18:
   <data source="plan_name">
   <data source="plan_name">
     <label>Operations Plan</label>
     <label>Operations Plan</label>
     <default>{{#if: {{{no_plan|}}} | | {{OpsPlanLink|{{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}}}}} ([[File:Team Earthquake Plan - {{{name|{{#invoke:String|replace|{{SUBPAGENAME}}|Teams/|}}}}}.pdf|file info]])</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|{{{plan_name}}}}} ([[File:Team Earthquake Plan - {{{plan_name}}}.pdf|file info]])</format>
     <format>{{OpsPlanLink|{{{plan_name}}}}} ([[:File:Team Earthquake Plan - {{{plan_name}}}.pdf|upload]])</format>
   </data>
   </data>
   <data source="additional">
   <data source="additional">