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
 
(added output decay element)
Tag: 2017 source edit
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  = {{#invoke:Data|getData|Example/generator|modules|generator|output_decays|lifetime|y}}:{{#invoke:Data|getData|Example/generator|modules|generator|output_decays|lifetime|d}}:{{#invoke:Data|getData|Example/generator|modules|generator|output_decays|lifetime|h}}:{{#invoke:Data|getData|Example/generator|modules|generator|output_decays|lifetime|m}}:{{#invoke:Data|getData|Example/generator|modules|generator|output_decays|lifetime|s}}
}}</includeonly>
}}</includeonly>

Revision as of 18:03, 25 December 2024

MediaWiki Appliance - Powered by TurnKey Linux