Template:Day Job Duration: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
m (doh, accidentally deleted a brace (though it doesn't seem to harm anything oddly))
m (clarify)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{charges|}}}
<includeonly>{{#if: {{{charges|}}}
| For every {{{hours|X}}} hours, {{Character}} gains {{{charges|Y}}} charges up to a maximum of {{{max|Z}}} charges.
| For every {{{hours|X}}} hours logged out, a character gains {{{charges|Y}}} charge, up to a maximum of {{{max|Z}}} charges.
| For every {{{hours|X}}} hours, {{Character}} gains {{{duration|Y}}} duration up to a maximum of {{{max|Z}}} hours.}}</includeonly>
| For every {{{hours|X}}} hours logged out, a character gains {{{duration|Y}}} minute duration, up to a maximum of {{{max|Z}}} hours duration.}}</includeonly><noinclude>
<noinclude>:If '''charges''' is defined:
:If '''charges''' is defined:
{{Day Job Duration|hours='''hours'''|charges='''charges'''|max='''max'''}}
<nowiki>{{</nowiki>Day Job Duration|hours='''hours'''|charges='''charges'''|max='''max'''}}
:{{Day Job Duration|hours='''hours'''|charges='''charges'''|max='''max'''}}
----
:If '''charges''' is not defined:
<nowiki>{{</nowiki>Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}
:{{Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}


:If '''charges''' is not defined:
[[Category:Badge Templates]]</noinclude>
{{Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}</noinclude>

Latest revision as of 08:33, 16 May 2022

If charges is defined:

{{Day Job Duration|hours=hours|charges=charges|max=max}}

For every hours hours logged out, a character gains charges charge, up to a maximum of max charges.

If charges is not defined:

{{Day Job Duration|hours=hours|duration=duration|max=max}}

For every hours hours logged out, a character gains duration minute duration, up to a maximum of max hours duration.