Template:INIT RELEASE PARAM: Difference between revisions

From Variscite Wiki
No edit summary
(Undo revision 22109 by Nate (talk))
Tag: Undo
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><!--
<!--
Try to get RELEASE_PARAM from URL
Try to get RELEASE_PARAM from URL
-->{{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
-->{{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
Line 8: Line 7:


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 }}}}
** This isn't working, leave it commented out for now **
{{#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 {{#var:RELEASE_PARAM}}.
{{Note|'''Warning:''' This page is designed to be used with a 'release' URL parameter.
This page is using the default release '''{{#var:RELEASE_PARAM}}'''.<br>
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:


# Visit [[Main_Page|About Variscite]]
# Visit [[Main_Page|variwiki.com]]
# Select your SoM
# Select your SoM
# Select the software release
# Select the software release
|error}}}}
|error}}}}</includeonly>
{{#var:RELEASE_PARAM}}
</includeonly>

Latest revision as of 18:23, 21 March 2023