Difference between revisions of "Template:Time"
From Twilight Heroes Wiki
(testing) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| | ||
− | | [[Image:clock-white.gif]] || '''{{#ifeq:{{{type|}}}|current|Current time: {{{1}}}|Bedtime: +{{#if:{{{1|}}}|{{{1}}}|''some''}}}} {{#ifeq:{{{measure|}}}|si|seconds|minutes}}''' | + | | [[Image:clock-white.gif]] || '''{{#ifeq:{{{type|}}}|current|Current time: {{{1}}}|Bedtime: +{{#if:{{{1|}}}|{{{1}}}|''some''}}}} {{#ifeq:{{{measure|}}}|si|seconds |minutes }}''' |
|}<br clear="all"></includeonly><noinclude> | |}<br clear="all"></includeonly><noinclude> | ||
==Template== | ==Template== |
Latest revision as of 07:32, 4 October 2014
Template
{{time|minutes added}}
or
{{time|minutes changed|type=current}}
Usage
{{time}}
Results in...
Bedtime: +some minutes |
{{time|45}}
Results in...
Bedtime: +45 minutes |
{{time|-1|type=current}}
Results in...
Current time: -1 minutes |
{{time|-30|type=current|measure=si}}
Results in...
Current time: -30 seconds |