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:
- 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 source]
You type | You get |
---|---|
Generic message
{{EcosystemFlow/Warning}} |
unknown flow |
Message when flow is Current
{{EcosystemFlow/Warning | flow=Current}} |
|
Message when flow is Next
{{EcosystemFlow/Warning | flow=Next}} |
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=Current}}AFTER<br> BEFORE{{EcosystemFlow/Warning |flow=Next}}AFTER |
BEFOREunknown flow BEFOREAFTER |
4. Code[edit source]
unknown flow