Template:INIT RELEASE PARAM: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 5: Line 5:


Override RELEASE_PARAM if variable passed to template
Override RELEASE_PARAM if variable passed to template
{{#vardefine:RELEASE_PARAM|{{#var:RELEASE_PARAM | {{{1}}} }}}}
-->{{#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
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 }}}}
-->{{#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
Show a warning if URL release parameter is missing
-->{{#if: {{#urlget:release}} ||
-->{{#if: {{#urlget:release}} ||
{{Note|'''Warning:''' This page is designed to be used with a 'release' URL parameter. Using the default release {{{1}}}.
{{Note|'''Warning:''' This page is designed to be used with a 'release' URL parameter. Using the default release {{#var:RELEASE_PARAM}}.
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:13, 21 December 2022