ARK: Survival Evolved Wiki
Will130 (discusión | contribuciones)
m
 
Línea 27: Línea 27:
 
-->{{#ifexpr: {{#var:input}} >= 60 | {{#ifexpr: {{#var:minutes}} > 0 | {{#var:minutes}}m | }} }} <!--
 
-->{{#ifexpr: {{#var:input}} >= 60 | {{#ifexpr: {{#var:minutes}} > 0 | {{#var:minutes}}m | }} }} <!--
 
-->{{#ifexpr: {{#var:seconds}} > 0 | {{#var:seconds}}s | }}
 
-->{{#ifexpr: {{#var:seconds}} > 0 | {{#var:seconds}}s | }}
}}</includeonly>
+
}}</includeonly><noinclude>{{doc}}
<noinclude>{{doc}}
 
 
[[Category:Plantillas de formato]]
 
[[Category:Plantillas de formato]]
  +
[[en:Template:Duration]]</noinclude>
 
  +
[[de:Vorlage:Duration]]
 
[[en:Template:Duration]]
  +
[[fr:Modèle:Duration]]
  +
[[it:Template:Duration]]
  +
[[ja:テンプレート:Duration]]
  +
[[pl:Szablon:Duration]]
  +
[[pt-br:Predefinição:Duration]]
  +
[[ru:Шаблон:Duration]]
  +
[[th:แม่แบบ:Duration]]
 
</noinclude>

Revisión actual del 13:32 5 jul 2021

Template-info.png Documentación

Formats a duration given in seconds.

Usage

{{duration|s}}

Examples

  • {{duration|20}} creates 20s
  • {{duration|140}} creates 2m 20s
  • {{duration|86406}} creates 1d 6s