Difference between revisions of "Template:MachineComponents"
Jump to navigation
Jump to search
(added an expample and fixed the file size thingy a mabob) |
m (made 0em the default for the bottom margin of chart) |
||
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}}}|{{{File-s|64px}}}]] | | style="width:30%; background-color:{{{Background-c|#E0BADC}}}; text-align:center;" | '''{{{Name|PLACEHOLDER}}}''' <br> [[File:{{{File|burger.png}}}|{{{File-s|64px}}}]] | ||
Line 18: | Line 18: | ||
<noinclude> | <noinclude> | ||
<br><br> | <br><br> | ||
* ''''Margin-b'''' (optional): Changes the margin of the bottom of the chart. '''Default: 0em''' | |||
* ''''Width'''' (optional): Changes the width of the chart. '''Default: 100%''' | * ''''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''' |
Revision as of 05:35, 9 April 2024
- '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=#FF00FF|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 |
| ||
|