Template:INIT RELEASE PARAM: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:RELEASE_PARAM|{{#urlget:release}}|{{{1}}}}} | <!-- | ||
Try to get RELEASE_PARAM from URL | |||
-->{{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | |||
Override RELEASE_PARAM if variable passed to template | |||
{{#vardefine:RELEASE_PARAM|{{#var:RELEASE_PARAM | {{{1}}} }}}} | |||
Finally, use a global default variable if there is no url parameter and one is not passed to this template | |||
{{#vardefine:RELEASE_PARAM|{{#var:RELEASE_PARAM | mx8mm-yocto-kirkstone-5.15-2.0.x-v1.0 }}}} | |||
Show a warning if URL release parameter is missing | |||
-->{{#if: {{#urlget:release}} || | -->{{#if: {{#urlget:release}} || | ||
{{Note|'''Warning:''' | {{Note|'''Warning:''' This page is designed to be used with a 'release' URL parameter. Using the default release {{{1}}}. | ||
To view this page for a specific Variscite SoM and software release, please follow these steps: | To view this page for a specific Variscite SoM and software release, please follow these steps: | ||
Revision as of 18:09, 21 December 2022
Warning: This page is designed to be used with a 'release' URL parameter. Using the default release {{{1}}}.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit About Variscite
- Select your SoM
- Select the software release