Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox generator: Difference between revisions

Template page
(implement box via PAGENAME)
Tag: 2017 source edit
 
(decay now conditional)
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Infobox | subbox = yes
{{Infobox | subbox = yes
  | headerstyle  = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left;
  | headerstyle  = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left;
  | labelstyle  = width: 70%; text-align: left;
  | labelstyle  = width: 50%; text-align: left;
  | label21  = Outputs  EC{{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|units}}
  | label21  = Outputs  ({{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|units}})
  |  data21  = {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|electric_charge}}
  |  data21  = {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|electric_charge}}
  | label22  = Always Active
  | label22  = Always Active
Line 9: Line 9:
  | label23  = Engine Alternator
  | label23  = Engine Alternator
  |  data23  = {{#ifeq: {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|engine_alternator}} | true | ✔}}
  |  data23  = {{#ifeq: {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|engine_alternator}} | true | ✔}}
| label24  = Output Decays (YY:DD:HH:MM:SS)
|  data24  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays}} | {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|y}}:{{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|d}}:{{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|h}}:{{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|m}}:{{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|s}}}}
}}</includeonly>
}}</includeonly>

Latest revision as of 05:00, 26 December 2024

MediaWiki Appliance - Powered by TurnKey Linux