Template:Day Job Duration: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Fleeting Whisper (historical)
mNo edit summary
imported>Sekoia (historical)
m (converting examples to be template calls, so that if the template changes, so do the examples)
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, {{Character}} gains {{{charges|Y}}} charges 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, {{Character}} gains {{{duration|Y}}} duration up to a maximum of {{{max|Z}}} hours.}</includeonly>
<noinclude>:If '''charges''' is defined:
<noinclude>:If '''charges''' is defined:
"For every '''hours''' hours, {{Character}} gains '''charges''' charges up to a maximum of '''max''' charges."
{{Day Job Duration|hours='''hours'''|charges='''charges'''|max='''max'''}}


:If '''charges''' is not defined:
:If '''charges''' is not defined:
"For every '''hours''' hours, {{Character}} gains '''duration''' duration up to a maximum of '''max''' hours."</noinclude>
{{Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}</noinclude>

Revision as of 14:43, 19 February 2009

If charges is defined:

{{#if: charges | For every hours hours, Character gains charges charges up to a maximum of max charges. | For every hours hours, Character gains Y duration up to a maximum of max hours.}


If charges is not defined:

{{#if: | For every hours hours, Character gains Y charges up to a maximum of max charges. | For every hours hours, Character gains duration duration up to a maximum of max hours.}