Template:Day Job Duration: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
m (merging consecutive noinclude regions to eliminate extra whitespace in rendered page)
(rephrase)
Line 1: Line 1:
<includeonly>{{#if: {{{charges|}}}
<includeonly>{{#if: {{{charges|}}}
| For every {{{hours|X}}} hours, {{Character}} gains {{{charges|Y}}} charge 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}}} minute duration up to a maximum of {{{max|Z}}} hours.}}</includeonly><noinclude>
| For every {{{hours|X}}} hours logged out, a character gains {{{duration|Y}}} minute duration, up to a maximum of {{{max|Z}}} hours.}}</includeonly><noinclude>
:If '''charges''' is defined:
:If '''charges''' is defined:
<nowiki>{{</nowiki>Day Job Duration|hours='''hours'''|charges='''charges'''|max='''max'''}}
<nowiki>{{</nowiki>Day Job Duration|hours='''hours'''|charges='''charges'''|max='''max'''}}

Revision as of 07:40, 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.