Jump to content

Template:EquipmentInfobox: Difference between revisions

From Elite Dangerous Wiki
m fix slot 2; minor grammar changes
m fixed caption-image param
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
<default>'''{{PAGENAME}}'''</default>
<default>'''{{PAGENAME}}'''</default>
</title>
</title>
<image source="image"></image>
<image source="image">
<caption source="caption-image"/>
</image>


<!-- Section Features -->
<!-- Section Features -->
Line 14: Line 16:
<!-- <label> <center>[[File:Guardian insignia.png|25px|link=:Category:Guardian technology]]</center> </label>-->
<!-- <label> <center>[[File:Guardian insignia.png|25px|link=:Category:Guardian technology]]</center> </label>-->
<format>{{#switch:{{{guardian_module|}}}
<format>{{#switch:{{{guardian_module|}}}
             | Yes | yes | Guardian_module | guardian_module | Guardian_Module | Guardian | guardian = {{#if: {{NAMESPACE}} || [[Category:Guardian technology]] }}{{#if: {{NAMESPACE}} || [[Category:Guardian]] }} [[File:Guardian insignia.png|20px|link=:Category:Guardian technology]]  <font font-size="3px" color="00AEEF">'''Guardian Module'''</font>
             | Yes | yes | Guardian_module | guardian_module | Guardian_Module | Guardian | guardian = {{#if: {{NAMESPACE}} || [[Category:Guardian Hybrid Technologies]] }}<!-- {{#if: {{NAMESPACE}} || [[Category:Guardian]] }} --> [[File:Guardian insignia.png|20px|link=:Category:Guardian Hybrid Technologies]]  <font font-size="3px" color="00AEEF">'''Guardian Module'''</font>
             | No | no | =  
             | No | no | =  
             | #default =
             | #default =
Line 26: Line 28:
   <header>Information</header>
   <header>Information</header>
<data source="slot">
<data source="slot">
<label>Ship Module Slots:</label>
<label>Ship Module Slots</label>
<format>{{#switch:{{{slot|}}}
<format>{{#switch:{{{slot|}}}
         | Hardpoints | hardpoints = <table><td style="width:20%">[[File:EDO-Icon-Equipment-Hardpoints.png|25px|link=]]</td><td>Hardpoints</td></table>
         | Hardpoints | hardpoints = <table><td style="width:20%">[[File:EDO-Icon-Equipment-Hardpoints.png|25px|link=]]</td><td>Hardpoints</td></table>
         | Utility Mounts | Utility_Mounts | utility mounts | Utility | Utility | utility = {{#if: {{NAMESPACE}} || [[Category:Utility Mounts]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Utility_Mounts.png|25px|link=]]</td><td>[[Outfitting#Utility Mounts|Utility Mounts]]</td></table>
         | Utility Mounts | Utility_Mounts | utility mounts | Utility | Utility | utility | Utilities | utilities = {{#if: {{NAMESPACE}} || [[Category:Utility Mounts]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Utility_Mounts.png|25px|link=]]</td><td>[[Outfitting#Utility Mounts|Utility Mounts]]</td></table>
         | Core Internal | Core internal | core internal | Core | core = {{#if: {{NAMESPACE}} || [[Category:Core Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Core Internal.png|25px|link=]]</td><td>[[Internal Compartment#Core Internal|Core Internal]]</td></table>
         | Core Internal | Core internal | core internal | Core | core | Core Internals | Core internals  | core internals = {{#if: {{NAMESPACE}} || [[Category:Core Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Core Internal.png|25px|link=]]</td><td>[[Internal Compartment#Core Internal|Core Internal]]</td></table>
         | Optional Internals | Optional internals | optional internals  | Optional Internal | Optional internal | optional internal  | Optional | optional | = {{#if: {{NAMESPACE}} || [[Category:Optional Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Optional Internals.png|25px|link=]]</td><td>[[Internal Compartment#Optional Internal|Optional Internals]]</td></table>
         | Optional Internals | Optional internals | optional internals  | Optional Internal | Optional internal | optional internal  | Optional | optional | = {{#if: {{NAMESPACE}} || [[Category:Optional Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Optional Internals.png|25px|link=]]</td><td>[[Internal Compartment#Optional Internal|Optional Internals]]</td></table>
         | Integrated  | integrated  | Base Integrated Module | Base integrated module | Integrated Module | integrated module | Base Module | Base module | base module = {{#if: {{NAMESPACE}} || [[Category:Base Integrated Modules]] }} [[:Category:Base Integrated Modules|Base Integrated Modules]]
         | Integrated  | integrated  | Base Integrated Module | Base integrated module | Integrated Module | integrated module | Base Module | Base module | base module = {{#if: {{NAMESPACE}} || [[Category:Base Integrated Modules]] }} [[:Category:Base Integrated Modules|Base Integrated Modules]]
             | #default = <font color="red">'''Slot parameter needs to be set!'''</font>
             | #default = <font color="red">'''Slot parameter needs to be set!'''</font><br/>(see [[Template:EquipmentInfobox|EquipmentInfobox]])
             }}
             }}
             </format>
             </format>
</data>
</data>
<data source="slot2">
<data source="slot2">
<label>Additional Ship<br/>Module Slots:</label>
<label>Additional Ship<br/>Module Slots</label>
<format>{{#switch:{{{slot2|}}}
<format>{{#switch:{{{slot2|}}}
         | Hardpoints | hardpoints = <table><td style="width:20%">[[File:EDO-Icon-Equipment-Hardpoints.png|25px|link=]]</td><td>Hardpoints</td></table>
         | Hardpoints | hardpoints = <table><td style="width:20%">[[File:EDO-Icon-Equipment-Hardpoints.png|25px|link=]]</td><td>Hardpoints</td></table>
         | Utility Mounts | Utility_Mounts | utility mounts | Utility | Utility | utility = {{#if: {{NAMESPACE}} || [[Category:Utility Mounts]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Utility_Mounts.png|25px|link=]]</td><td>[[Outfitting#Utility Mounts|Utility Mounts]]</td></table>
         | Utility Mounts | Utility_Mounts | utility mounts | Utility | Utility | utility | Utilities | utilities = {{#if: {{NAMESPACE}} || [[Category:Utility Mounts]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Utility_Mounts.png|25px|link=]]</td><td>[[Outfitting#Utility Mounts|Utility Mounts]]</td></table>
         | Core Internal | Core internal | core internal | Core | core = {{#if: {{NAMESPACE}} || [[Category:Core Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Core Internal.png|25px|link=]]</td><td>[[Internal Compartment#Core Internal|Core Internal]]</td></table>
         | Core Internal | Core internal | core internal | Core | core | Core Internals | Core internals  | core internals = {{#if: {{NAMESPACE}} || [[Category:Core Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Core Internal.png|25px|link=]]</td><td>[[Internal Compartment#Core Internal|Core Internal]]</td></table>
         | Optional Internals | Optional internals | optional internals  | Optional Internal | Optional internal | optional internal  | Optional | optional | = {{#if: {{NAMESPACE}} || [[Category:Optional Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Optional Internals.png|25px|link=]]</td><td>[[Internal Compartment#Optional Internal|Optional Internals]]</td></table>
         | Optional Internals | Optional internals | optional internals  | Optional Internal | Optional internal | optional internal  | Optional | optional | = {{#if: {{NAMESPACE}} || [[Category:Optional Internals]] }}<table><td style="width:20%">[[File:EDO-Icon-Equipment-Optional Internals.png|25px|link=]]</td><td>[[Internal Compartment#Optional Internal|Optional Internals]]</td></table>
         | Integrated  | integrated  | Base Integrated Module | Base integrated module | Integrated Module | integrated module | Base Module | Base module | base module = {{#if: {{NAMESPACE}} || [[Category:Base Integrated Modules]] }} [[:Category:Base Integrated Modules|Base Integrated Modules]]
         | Integrated  | integrated  | Base Integrated Module | Base integrated module | Integrated Module | integrated module | Base Module | Base module | base module = {{#if: {{NAMESPACE}} || [[Category:Base Integrated Modules]] }} [[:Category:Base Integrated Modules|Base Integrated Modules]]
Line 49: Line 51:
             </format>
             </format>
</data>
</data>
<data source="core_compartments"><label>Core Compartments:</label></data><!-- Only for Core Compartments -->
<data source="core_compartments"><label>Core Compartments</label></data><!-- Only for Core Compartments -->
<data source="classes"><label>Classes:</label></data>
<data source="classes"><label>Classes</label></data>
<data source="ratings"><label>Ratings:</label></data>
<data source="ratings"><label>Ratings</label></data>
<data source="refills"><label>Needed<br/>refills:</label></data>
<data source="refills"><label>Needed<br/>refills</label></data>
<data source="refills_cost"><label>Refills<br/>cost, qty:</label><format>{{{refills_cost|}}} Cr</format></data>
<data source="refills_cost"><label>Refills<br/>cost, qty</label><format>{{{refills_cost|}}} Cr</format></data>
<data source="key"><label>Default key:</label>
<data source="key"><label>Default key</label>
</data>
</data>
<data source="synthesis"><label>[[Synthesis]]:</label></data>
<data source="synthesis"><label>[[Synthesis]]</label></data>
<data source="technobroker"><label>[[Technology Broker]]:</label>
<data source="technobroker"><label>[[Technology Broker]]</label>
<format>{{#switch:{{{technobroker|}}}
<format>{{#switch:{{{technobroker|}}}
             | Yes | yes | + = <!-- {{#if: {{NAMESPACE}} || [[Category:Technology Broker]] }} --> Yes
             | Yes | yes | + = {{#if: {{NAMESPACE}} || [[Category:Technology Broker Modules]] }} Yes
             | No | no | - =  
             | No | no | - =  
             | #default =
             | #default =
Line 71: Line 73:
<header>Engineering</header>
<header>Engineering</header>
<data source="engineering">
<data source="engineering">
<label> [[Engineers|Engineering]]: </label>
<label> [[Engineers|Engineering]]</label>
</data>
</data>
<group row-items="1" name="basic-assembly">
<group row-items="1" name="basic-assembly">
<data source="engineers">
<data source="engineers">
<format>
<format>
<div style="text-align: left;"><b>Engineers who can apply:</b><br/>
<div style="text-align: left;"><b>Engineers who can apply</b><br/>
{{#switch:{{{engineers|}}}
{{#switch:{{{engineers|}}}
            | {{{engineers|}}} = {{{engineers|}}}
            | {{{engineers|}}} = {{{engineers|}}}
Line 90: Line 92:
  | name              = Frame Shift Drive
  | name              = Frame Shift Drive
  | image            = Frame Shift Drive.png
  | image            = Frame Shift Drive.png
  | imagecaption      = Frame Shift Drive outfitting icon
  | caption-image    = Frame Shift Drive outfitting icon
<!-- Section Features -->
<!-- Section Features -->
  | guardian_module  =  
  | guardian_module  =  
Line 107: Line 109:
  | engineering      = Yes
  | engineering      = Yes
  | engineers        = Gr.5 - [[Felicity Farseer]]<br />
  | engineers        = Gr.5 - [[Felicity Farseer]]<br />
Gr.5 - [[Elvira Martuuk]]<br />
Gr.5 - [[Elvira Martuuk]]<br/>
Gr.5 - [[Mel Brandon]]<br />
Gr.5 - [[Mel Brandon]]<br/>
Gr.3 - [[Ishmael Palin]]<br />
Gr.3 - [[Ishmael Palin]]<br/>
Gr.3 - [[Bris Dekker]]<br />
Gr.3 - [[Bris Dekker]]<br/>
Gr.3 - [[Chloe Sedesi]]
Gr.3 - [[Chloe Sedesi]]
}}
}}
Line 121: Line 123:
  | name              =  
  | name              =  
  | image            =  
  | image            =  
  | imagecaption      =  
  | caption-image    =  
<!-- Section Features -->
<!-- Section Features -->
  | guardian_module  =  
  | guardian_module  =  

Latest revision as of 22:10, 29 May 2024


Example usage:

{{Equipment_Infobox
 | name              = 
 | image             = 
 | caption-image     = 
<!-- Section Features -->
 | guardian_module   = 
<!-- Section Information -->
 | slot              = 
 | slot2             = 
 | core_compartments = 
 | classes           = 
 | ratings           = 
 | refills           = 
 | refills_cost      = 
 | key               = 
 | synthesis         = 
 | technobroker      = 
<!-- Section Engineering -->
 | engineering       = 
 | engineers         = 
}}