Difference between revisions of "Template:MachineComponents"

From Paradise Station Wiki
Jump to navigation Jump to search
(added width as an option to change)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="width:{{{Width|100%}}};"
{| class="wikitable" style="width:{{{Width|100%}}};margin-bottom:{{{Margin-b|0em}}};"
|- style="vertical-align:top;"
|- style="vertical-align:top;"
| style="width:30%; background-color:{{{Background-c|#E0BADC}}}; text-align:center;" | '''{{{Name|PLACEHOLDER}}}''' <br> [[File:{{{File|burger.png}}}]]
| style="width:30%; background-color:{{{Background-c|#E0BADC}}}; text-align:center;" | '''{{{Name|PLACEHOLDER}}}''' <br> [[File:{{{File|burger.png}}}|{{{File-s|64px}}}]]
| rowspan='2' style="width:70%;" |
| rowspan='2' style="width:70%;" |
{| style="width:100%; text-align:left;"
{| style="width:100%; text-align:left;"
Line 18: Line 18:
<noinclude>
<noinclude>
<br><br>
<br><br>
* ''''Width'''': Changes the width of the chart. '''Default: 100%'''
* ''''Margin-b'''' (optional): Changes the margin of the bottom of the chart. '''Default: 0em'''
* ''''Width'''' (optional): Changes the width of the chart. '''Default: 100%'''
* ''''Background-c'''': The colour that appears behind the Item. '''Default: #E0BADC'''
* ''''Background-c'''': The colour that appears behind the Item. '''Default: #E0BADC'''
* ''''Name'''': Name of the Item. '''Default: PLACEHOLDER'''
* ''''Name'''': Name of the Item. '''Default: PLACEHOLDER'''
* ''''File'''': The Items file. '''Default: burger.png'''
* ''''File'''': The Items file. '''Default: burger.png'''
** Addictions can be made to the string like size modifications. '''Example: burger.png|64px'''
* ''''File-s'''' (optional): Changes the file size. '''Default: 64px'''
* ''''Header-c'''': The colour that the headers take. '''Default: #642d5f'''
* ''''Header-c'''': The colour that the headers take. '''Default: #642d5f'''
* ''''Components'''': The field that contains the amount of components the item requires. '''Default: A long list of every item'''
* ''''Components'''': The field that contains the amount of components the item requires. '''Default: A long list of every item'''
* ''''Information'''': The field that contains information on component upgrading. '''Default: A long list of every item'''
* ''''Information'''': The field that contains information on component upgrading. '''Default: A long list of every item'''
<br><br>
An example of the useage of the template <br>
<nowiki>{{MachineComponents|Width=50%|Background-c=#FF66FF|Name=Purple|File=IPC.png|File-s=64px|Header-c=#660066|Components=[[file:burger.png|32px]] i dunno but i hungry|Information=Why he ourple}}</nowiki>
{{MachineComponents|Width=50%|Background-c=#FF66FF|Name=Purple|File=IPC.png|File-s=64px|Header-c=#660066|Components=[[file:burger.png|32px]] i dunno but i hungry|Information=Why he ourple}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:31, 9 April 2024

PLACEHOLDER
Burger.png
Component Upgrade Information
Capacitor.png Capacitors:

Micro-laser.png Lasers:

Micro Manipulator.png Manipulators:

Scanning Module.gif Scanning Modules:

Matter bin.png Matter Bins:

Powercell.png Power Cells:
Components
Capacitor.png 1x Capacitor
Micro-laser.png 1x Laser
Micro Manipulator.png 1x Manipulator
Scanning Module.gif 1x Scanning Module
Matter bin.png 1x Matter Bin
Powercell.png 1x Power Cell
Crystal.png 1x Bluespace Crystal
Glass.png 1x Sheet of Glass
Plasteel.png 1x Sheet of Plasteel
Igniter.png 1x Igniter
CableCoils.png 1x Piece of Cable



  • 'Margin-b' (optional): Changes the margin of the bottom of the chart. Default: 0em
  • 'Width' (optional): Changes the width of the chart. Default: 100%
  • 'Background-c': The colour that appears behind the Item. Default: #E0BADC
  • 'Name': Name of the Item. Default: PLACEHOLDER
  • 'File': The Items file. Default: burger.png
  • 'File-s' (optional): Changes the file size. Default: 64px
  • 'Header-c': The colour that the headers take. Default: #642d5f
  • 'Components': The field that contains the amount of components the item requires. Default: A long list of every item
  • 'Information': The field that contains information on component upgrading. Default: A long list of every item



An example of the useage of the template
{{MachineComponents|Width=50%|Background-c=#FF66FF|Name=Purple|File=IPC.png|File-s=64px|Header-c=#660066|Components=[[file:burger.png|32px]] i dunno but i hungry|Information=Why he ourple}}

Purple
IPC.png
Component Upgrade Information
Why he ourple
Components
Burger.png i dunno but i hungry