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
 
(moved units to data fields)
Tag: 2017 source edit
 
(3 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  ()
|  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
|  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