Template:QUICK START GUIDE LINK: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<!-- | <!-- | ||
Usage: {{QUICK_START_GUIDE_LINK|<SOM>}} | Usage: {{QUICK_START_GUIDE_LINK|<SOM>}} | ||
Will create an external link: | Will create an external link, shown as: "<SOM name> Quick Start Guide" | ||
Note: The | Note: The guide's date/version (variable: QSG_DATE) needs to be updated manually. | ||
-->{{#vardefine:SOM|{{{1}}} }}<!-- | -->{{#vardefine:SOM|{{{1}}} }}<!-- | ||
-->{{#switch:{{#var:SOM}} | -->{{#switch:{{#var:SOM}} | ||
Line 26: | Line 26: | ||
}}<!-- | }}<!-- | ||
Create the link | Create the link | ||
-->[https://www.variscite.com/wp-content/uploads/{{#var:QSG_DATE}}/{{#var:SOM}}-quick-start-guide.pdf {{#var:SOM}} Quick Start Guide] | -->[https://www.variscite.com/wp-content/uploads/{{#var:QSG_DATE}}/{{#replace:{{#var:SOM}}|/|_}}-quick-start-guide.pdf {{#var:SOM}} Quick Start Guide] | ||
</includeonly> | </includeonly> |