Template:Day Job Duration: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
mNo edit summary
m (clarify)
 
(5 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}}} minutes duration up to a maximum of {{{max|Z}}} hours.}}</includeonly><noinclude>:If '''charges''' is defined:
| 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>
{{Day Job Duration|hours='''hours'''|charges='''charges'''|max='''max'''}}
:If '''charges''' is defined:
<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.