Jump to content

Template:Duration/doc

From HourGlass: The Game Wiki
Revision as of 19:05, April 5, 2025 by PolyFox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description[edit]

This template is used to insert File:Time Icon.png inline with text.

Use[edit]

This template can be used by entering the following onto a relevant page.

{{Duration|length of time}}

which results in... <templatestyles src="Template:Duration/styles.css" />File:Time Icon.png length of time


Inline Styling[edit]

Inline styling can be applied with class=inline.

Example:

The normal length of time is {{Duration|11m 25s|class=inline}}, but can be extended to {{Duration|25m|class=inline}} under the proper conditions.

results in...

The normal length of time is <templatestyles src="Template:Duration/styles.css" />File:Time Icon.png 11m 25s, but can be extended to <templatestyles src="Template:Duration/styles.css" />File:Time Icon.png 25m under the proper conditions.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.