Difference between revisions of "Template:SoftwareLicenseAgreement"

[quality revision] [pending revision]
m
m
 

1 Usage[edit]

The SoftwareLicenseAgreement template is used to insert legal information prior any software package download in the wiki.

Usage:  {{SoftwareLicenseAgreement | distribution=<distribution> | chapter=<chapter>}}

Where:

  • <distribution> is the mandatory distribution or expansion package for which a software package is requested to be downloaded. The possible values are:
    • OpenSTLinux: for the OpenSTLinux distribution.
    • STM32CubeMP1: for the STM32CubeMP1 Package.
    • X-LINUX-AI: for the artificial intelligence expansion packages (X-LINUX-AI)
    • Android: for the STM32MPU distribution for Android.
  • <chapter> is the optional chapter (in the "<distribution> licenses" page) that contains detailed content licenses for that software package.
Summary of the linked pages
<distribution> Linked page for software license agreement Linked page for details
OpenSTLinux OpenSTLinux licenses OpenSTLinux licenses
STM32CubeMP1 OpenSTLinux licenses STM32CubeMP1 licenses
X-LINUX-AI OpenSTLinux licenses X-LINUX-AI licenses
Android STM32MPU distribution for Android licenses STM32MPU distribution for Android licenses

2 Basic examples[edit]

You type You get
SoftwareLicenseAgreement for the OpenSTLinux distribution (no specific chapter)
{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [1]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
SoftwareLicenseAgreement for the OpenSTLinux distribution, and the "Kernel partitions:" chapter
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Kernel partitions:}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [2]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
SoftwareLicenseAgreement for the STM32CubeMP1 Package (no specific chapter)
{{SoftwareLicenseAgreement | distribution=STM32CubeMP1}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [3]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
SoftwareLicenseAgreement for the X-LINUX-AI expansion packages (no specific chapter)
{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

SoftwareLicenseAgreement for the STM32MPU distribution for Android (no specific chapter)
{{SoftwareLicenseAgreement | distribution=Android}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [4]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience

3 More examples[edit]

You type You get
SoftwareLicenseAgreement for the OpenSTLinux distribution, and the "Boot partition:" chapter
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Boot partition:}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [5]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
SoftwareLicenseAgreement with no parameter
{{SoftwareLicenseAgreement}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the [[unknown distribution#Top Software license agreement (SLA) and third-party licences|software license agreement (SLA)]]. The detailed content licenses can be found [[unknown distribution|here]].

Warning.png To download a package, it is recommended to be logged in to your "myst" account [6]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
SoftwareLicenseAgreement with an unknown distribution
{{SoftwareLicenseAgreement | distribution=wrong name}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the [[unknown distribution#Top Software license agreement (SLA) and third-party licences|software license agreement (SLA)]]. The detailed content licenses can be found [[unknown distribution|here]].

Warning.png To download a package, it is recommended to be logged in to your "myst" account [7]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
SoftwareLicenseAgreement with a wrong chapter: take care that the link to the detailed content allows to reach the right licenses page but not the right chapter
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=wrong name}}

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [8]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
Check that the spaces before and after the message
BEFORE{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}AFTER<br>
BEFORE
{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}
AFTER<br>
BEFORE{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}AFTER<br>
BEFORE
{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}
AFTER

BEFOREThe software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [9]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
AFTER

BEFORE The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.

Warning.png To download a package, it is recommended to be logged in to your "myst" account [10]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience

AFTER
BEFOREThe software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here.AFTER
BEFORE The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA). The detailed content licenses can be found here. AFTER

4 Code[edit]

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the [[unknown distribution#Top Software license agreement (SLA) and third-party licences|software license agreement (SLA)]]. The detailed content licenses can be found [[unknown distribution|here]].

Warning.png To download a package, it is recommended to be logged in to your "myst" account [11]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience
<noinclude>

==Usage=={{ReviewsComments|-- [[User:Nathalie Sangouard|Nathalie Sangouard]] ([[User talk:Nathalie Sangouard|talk]]) 11:26, 31 March 2021 (CEST)<br />URL to my.ST.COM seems KO , to be udpated}}The [[Template:SoftwareLicenseAgreement|SoftwareLicenseAgreement]] template is used '''to insert legal information prior any software package download in the wiki'''.

 Usage:  <nowiki>{{</nowiki>SoftwareLicenseAgreement | distribution={{HighlightParam|<distribution>}} | chapter={{HighlightParam|<chapter>}}}}
Where:
* {{HighlightParam|<distribution>}} is the '''mandatory''' distribution or expansion package for which a software package is requested to be downloaded. The possible values are:
** '''OpenSTLinux''': for the OpenSTLinux distribution.
** '''STM32CubeMP1''': for the STM32CubeMP1 Package.
** '''X-LINUX-AI''': for the artificial intelligence expansion packages (X-LINUX-AI)
** '''Android''': for the STM32MPU distribution for Android.
* {{HighlightParam|<chapter>}} is the '''optional''' chapter (in the "{{HighlightParam|<distribution>}} licenses" page) that contains detailed content licenses for that software package.

{| class="st-table"
|+ Summary of the linked pages
! {{HighlightParam|<distribution>}} !! Linked page for software license agreement !! Linked page for details
|-
| OpenSTLinux || [[OpenSTLinux licenses]] || [[OpenSTLinux licenses]]
|-
| STM32CubeMP1 || [[OpenSTLinux licenses]] || [[STM32CubeMP1 licenses]]
|-
| X-LINUX-AI || [[OpenSTLinux licenses]] || [[X-LINUX-AI licenses]]
|-
| Android || [[STM32MPU distribution for Android licenses]] || [[STM32MPU distribution for Android licenses]]
|}

==Basic examples==
{| class="st-table"
! You type !! You get
|-
| SoftwareLicenseAgreement for the OpenSTLinux distribution (no specific chapter)<pre style="white-space: pre-wrap;">

{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}</pre>

|
{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}
|-
| SoftwareLicenseAgreement for the OpenSTLinux distribution, and the "Kernel partitions:" chapter<pre style="white-space: pre-wrap;">

{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Kernel partitions:}}</pre>

|
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Kernel partitions:}}
|-
| SoftwareLicenseAgreement for the STM32CubeMP1 Package (no specific chapter)<pre style="white-space: pre-wrap;">

{{SoftwareLicenseAgreement | distribution=STM32CubeMP1}}</pre>

|
{{SoftwareLicenseAgreement | distribution=STM32CubeMP1}}
|-
| SoftwareLicenseAgreement for the X-LINUX-AI expansion packages (no specific chapter)<pre style="white-space: pre-wrap;">

{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}</pre>

|
{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}
|-
| SoftwareLicenseAgreement for the STM32MPU distribution for Android (no specific chapter)<pre style="white-space: pre-wrap;">

{{SoftwareLicenseAgreement | distribution=Android}}</pre>

|
{{SoftwareLicenseAgreement | distribution=Android}}
|}

==More examples==
{| class="st-table"
! You type !! You get
|-
| SoftwareLicenseAgreement for the OpenSTLinux distribution, and the "Boot partition:" chapter<pre style="white-space: pre-wrap;">

{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Boot partition:}}</pre>

|
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Boot partition:}}
|-
| SoftwareLicenseAgreement with no parameter<pre>

{{SoftwareLicenseAgreement}}</pre>

|
{{SoftwareLicenseAgreement}}
|-
| SoftwareLicenseAgreement with an unknown distribution<pre>

{{SoftwareLicenseAgreement | distribution=wrong name}}</pre>

|
{{SoftwareLicenseAgreement | distribution=wrong name}}
|-
| SoftwareLicenseAgreement with a wrong chapter: take care that the link to the detailed content allows to reach the right licenses page but not the right chapter<pre>

{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=wrong name}}</pre>

|
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=wrong name}}
|-
| Check that the spaces before and after the message<pre style="white-space: pre-wrap;">

BEFORE{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}AFTER<br>

BEFORE
{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}
AFTER<br>

BEFORE{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}AFTER<br>

BEFORE
{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}
AFTER</pre>

|
BEFORE{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}AFTER<br>

BEFORE
{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}
AFTER<br>

BEFORE{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}AFTER<br>

BEFORE
{{SoftwareLicenseAgreement | distribution=X-LINUX-AI}}
AFTER
|}

==Code==</noinclude>{{#vardefine:sla|}}{{#switch: {{{distribution|}}}
| OpenSTLinux = {{#vardefine:sla|OpenSTLinux licenses}}
| STM32CubeMP1 = {{#vardefine:sla|OpenSTLinux licenses}}
| X-LINUX-AI = {{#vardefine:sla|OpenSTLinux licenses}}
| Android = {{#vardefine:sla|STM32MPU distribution for Android licenses}}
| #default = {{#vardefine:sla|{{Highlight|unknown distribution}}}}
}}''The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the [[{{#var:sla}}#Top Software license agreement (SLA) and third-party licences|software license agreement (SLA)]]''. ''The detailed content licenses can be found [[{{#switch: {{{distribution|}}}
| STM32CubeMP1 = STM32CubeMP1 licenses
| X-LINUX-AI = X-LINUX-AI licenses
| {{#var:sla}}
}}{{#if: {{{chapter|}}}|&#35;{{{chapter}}}|}}|here]].''{{#switch: {{{distribution|}}}
| X-LINUX-AI =
| #default =

{{Warning|To download a package,  it is recommended to be logged in to your "myst" account [https://my.st.com/b/content/my_st_com/en/header-only.html]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.<br> We apologize for this inconvenience}}
}}
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
  +
{{ReviewsComments|-- [[User:Nathalie Sangouard|Nathalie Sangouard]] ([[User talk:Nathalie Sangouard|talk]]) 11:26, 31 March 2021 (CEST)<br />URL to my.ST.COM seems KO , to be udpated}}
 
The [[Template:SoftwareLicenseAgreement|SoftwareLicenseAgreement]] template is used '''to insert legal information prior any software package download in the wiki'''.
 
The [[Template:SoftwareLicenseAgreement|SoftwareLicenseAgreement]] template is used '''to insert legal information prior any software package download in the wiki'''.