Documentation La documentation ci-dessous est transcluse de Modèle:Buffduration/doc. (modifier | historique)
[purger]
Use as a shortcut when adding in the buff times in the main paragraph of a buff item.
Usage
{{ buffduration | <buff duration> | eversions = no/<page name> }}
- Unnamed parameter 1
- Duration of the buff.
- eversions
- By default, the template will hide information about how to cancel a buff on certain platforms based on the platforms the buff is available on (utilizing {{eversions}} with the name of the page the template is used on). Set this parameter to
to suppress this behavior and make it display information for all versions. Set it to any page's name to cause the template to take that entity as an {{eversions}} base.no
- Exclusivity can be manually overridden with the version parameters described on Template:Exclusive.
Examples
Code | Result | Notes |
---|---|---|
{{buffduration| 5 minutes }} |
Standard behavior. This page ("Buffduration") does not have any exclusivity information, so all platforms are displayed. | |
{{buffduration| 5 minutes | eversions = Moon Lord }} |
Specify a different page for exclusivity. | |
{{buffduration| 5 minutes | 3ds = no }} |
Remove the information about explicitly specified platforms. | |
{{buffduration| 5 minutes | console = no | mobile = no }} |
||
{{buffduration| 5 minutes | console = no | old-gen = no | 3ds = no }} |
||
{{buffduration| 5 minutes | desktop = no | console = no | old-gen = no | mobile = no }} |
||
{{buffduration| 5 minutes | eversions = Moon Lord | mobile = no | 3ds = yes }} |
Specify a page for exclusivity and modify the eversions manually. |