Jump to content

Template:Duration/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
I tan trpe
Line 15: Line 15:


Example:
Example:
<pre>The normal lenght of time is {{Duration|11m 25s|class=inline}}, but can be extended to {{Duration|25m|class=inline}} under the proper conditions.</pre>
<pre>The normal length of time is {{Duration|11m 25s|class=inline}}, but can be extended to {{Duration|25m|class=inline}} under the proper conditions.</pre>
results in...
results in...


The normal lenght of time is {{Duration|11m 25s|class=inline}}, but can be extended to {{Duration|25m|class=inline}} under the proper conditions.
The normal length of time is {{Duration|11m 25s|class=inline}}, but can be extended to {{Duration|25m|class=inline}} under the proper conditions.
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>{{Addlanglinks}}</includeonly>
<includeonly>{{Addlanglinks}}</includeonly>

Revision as of 00:42, 22 May 2021

Description

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

Use

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

{{Duration|length of time}}

which results in... length of time


Inline Styling

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 11m 25s, but can be extended to 25m under the proper conditions.