Warning

Revision as of 10:08, 15 December 2020 by Registered User (Created page with "<noinclude> ==Usage== The EcosystemFlow/Warning template is used '''to insert a message about the current status of the article or chapter c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1. Usage[edit source]

The EcosystemFlow/Warning template is used to insert a message about the current status of the article or chapter containing it.

Usage: {{EcosystemFlow/Warning| flow=<flow> }}

Where:

  • <flow> is the identifier of the wiki, 2 values are possible :
    • v2: the meaning of message associated to this v2 value highlights the fact that the article or chapter has not been udpated for the v2 version. to be used when the article should have been updated for the v2 version but the udpate has not been done.
    • v3 : the meaning of message associated to the v3 value highlights that the article has been udpated for v3 in v2 version

Genrally speaking v2 (resp vN) corresponds to current flowand v3 (resp vN+1) corresponds to the up coming flow.

The returned value is:

  • a generic or custom message depending on the parameters
  • "unknown flow", if <flow> is not supported.

2. Basic examples[edit source]

You type You get
Generic message
{{EcosystemFlow/Warning}}

unknown flow

Message when flow is v2
{{EcosystemFlow/Warning| flow=v2}}
Warning white.png Warning
This section has not been yet updated for the STM32 MPU ecosystem-v2 flow, so information provided in this section may not be not applicable for v2. We apologize with this inconvenient.
Message when flow is v3
{{EcosystemFlow/Warning| flow=v3}}

3. More examples[edit source]

You type You get
Unknown flow
{{EcosystemFlow/Warning| flow=v0}}

unknown flow

Unspecified flow
{{EcosystemFlow/Warning}}

unknown flow

Check that there's no space before and after the text
BEFORE{{EcosystemFlow/Warning}}AFTER<br>
BEFORE{{EcosystemFlow/Warning| flow=v2}}AFTER<br>
BEFORE{{EcosystemFlow/Warning|flow=v2}}AFTER

BEFOREunknown flow
AFTER
BEFORE

Warning white.png Warning
This section has not been yet updated for the STM32 MPU ecosystem-v2 flow, so information provided in this section may not be not applicable for v2. We apologize with this inconvenient.
AFTER

BEFOREAFTER

4. Code[edit source]

unknown flow

No categories assignedEdit