Warning

< Template:EcosystemFlow
Revision as of 12:52, 14 June 2023 by Registered User
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Usage[edit]

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:
    • Current: the meaning of message associated to the current flow (here v5) highlights the fact that the article or chapter has not been updated for the current version (here v5). To be used when the article should have been updated for the current version (here v5) but the update has not been done yet.
    • Next : the meaning of message associated to the next flow (here v6) highlights that the article has been updated for next version (here v6) in current version (here v5) . Consequently, this updated version must not be published yet.

Generally speaking, "Current" corresponds to current flow, and "Next" 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]

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

unknown flow

Message when flow is Current
{{EcosystemFlow/Warning | flow=Current}}
Warning white.png Warning
This section has NOT been yet updated/tested for/with the STM32 MPU ecosystem-v5.
Information provided in this section may not be fully applicable for v5 and you may need to proceed to some adaptations.
We apologize for this inconvenient.
Message when flow is Next
{{EcosystemFlow/Warning | flow=Next}}

3 More examples[edit]

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=Current}}AFTER<br>
BEFORE{{EcosystemFlow/Warning |flow=Next}}AFTER

BEFOREunknown flow
AFTER
BEFORE

Warning white.png Warning
This section has NOT been yet updated/tested for/with the STM32 MPU ecosystem-v5.
Information provided in this section may not be fully applicable for v5 and you may need to proceed to some adaptations.
We apologize for this inconvenient.
AFTER

BEFOREAFTER

4 Code[edit]

unknown flow