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
(decay now conditional)
Tag: 2017 source edit
(moved units to data fields)
Tag: 2017 source edit
 
Line 3: Line 3:
  | 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: 50%; text-align: left;
  | labelstyle  = width: 50%; text-align: left;
  | label21  = Outputs  ({{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|units}})
  | label21  = Outputs  ()
|  data21  = {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|electric_charge}}
|  data21  = {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|electric_charge}} <small>{{#invoke:Data|getData|{{PAGENAME}}|modules|generator|outputs|units}}</small>
  | label22  = Always Active
  | label22  = Always Active
  |  data22  = {{#ifeq: {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|always_active}} | true | ✔}}
  |  data22  = {{#ifeq: {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|always_active}} | true | ✔}}
  | 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)
  | label24  = Output Decays
  |  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}}}}
  |  data24  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays}} | {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|y}} <small>y</small> {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|d}} <small>d</small> {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|h}} <small>h</small> {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|m}} <small>m</small> {{#invoke:Data|getData|{{PAGENAME}}|modules|generator|output_decays|lifetime|s}} <small>s</small>}}
}}</includeonly>
}}</includeonly>

Latest revision as of 03:50, 31 December 2024

MediaWiki Appliance - Powered by TurnKey Linux