Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Day Job Duration"

From Paragon Wiki Archive
Jump to: navigation, search
(new)
 
m (merging consecutive noinclude regions to eliminate extra whitespace in rendered page)
 
(8 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, {{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, {{Character}} gains {{{duration|Y}}} minute duration up to a maximum of {{{max|Z}}} hours.}}</includeonly><noinclude>
<noinclude>:If '''charges''' is defined:
+
:If '''charges''' is defined:
"For every '''hours''' hours, {{Character}} gains '''charges''' charges up to a maximum of '''max''' charges."
+
<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:
 
:If '''charges''' is not defined:
"For every '''hours''' hours, {{Character}} gains '''duration''' duration up to a maximum of '''max''' hours.</noinclude>
+
<nowiki>{{</nowiki>Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}
 +
:{{Day Job Duration|hours='''hours'''|duration='''duration'''|max='''max'''}}
 +
 
 +
[[Category:Badge Templates]]</noinclude>

Latest revision as of 01:17, 22 February 2010

If charges is defined:

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

For every hours hours, 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, Character gains duration minute duration up to a maximum of max hours.