Difference between revisions of "Template:Time"

From Twilight Heroes Wiki
Jump to: navigation, search
(looks better this way)
Line 1: Line 1:
 
<includeonly>{|
 
<includeonly>{|
| [[Image:clock-white.gif]] || '''Bedtime: +{{{1}}} minutes'''
+
| [[Image:clock-white.gif]] || '''{{{type|}}}|current|Current time: {{{1}}}|Bedtime: +{{{1}}}}} minutes'''
 
|}<br clear="all"></includeonly><noinclude>
 
|}<br clear="all"></includeonly><noinclude>
 
==Template==
 
==Template==
'''<nowiki>{{time|minutes}}</nowiki>'''
+
'''<nowiki>{{time|minutes added}}</nowiki>'''
  
 +
''or''
 +
 +
'''<nowiki>{{time|minutes changed|type=current}}</nowiki>'''
 
==Usage==
 
==Usage==
 
'''<nowiki>{{time|45}}</nowiki>'''
 
'''<nowiki>{{time|45}}</nowiki>'''
  
 +
''Results in...''
 +
{{time|45}}
 +
 +
'''<nowiki>{{time|-1|type=current}}</nowiki>'''
  
 
''Results in...''
 
''Results in...''
 +
{{time|-1|type=current}}
  
{|
 
| [[Image:clock-white.gif]] || '''Bedtime: +45 minutes'''
 
|}<br clear="all">
 
 
[[Category:Standardization Templates]]
 
[[Category:Standardization Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:37, 31 August 2009

Template

{{time|minutes added}}

or

{{time|minutes changed|type=current}}

Usage

{{time|45}}

Results in...

Clock-white.gif Bedtime: +45 minutes

{{time|-1|type=current}}

Results in...

Clock-white.gif Current time: -1 minutes