Template:Day Job Duration: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Zombie Man
m (Moved within heirarchy of categories)
m (clarify)
 
(2 intermediate revisions by 2 users not shown)
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 duration.}}</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'''}}
Line 8: Line 8:
:If '''charges''' is not defined:
:If '''charges''' is not defined:
<nowiki>{{</nowiki>Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}
<nowiki>{{</nowiki>Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}
:{{Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}</noinclude>
:{{Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}
<noinclude>


[[Category:Badge Templates]]</noinclude>
[[Category:Badge Templates]]</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.