Template:Item: Difference between revisions
Jump to navigation
Jump to search
Example usage:
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|- | |- | ||
{{#if:{{{image1|}}} | | {{#if:{{{image1|}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}} | {{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image1_caption|}}}|padding-bottom:0;|}}" {{!}}{{{image1}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
| colspan="3" style="{{#if:{{{ | | colspan="3" style="{{#if:{{{image1_caption|}}}| |display: none;}}padding-top:0;" class="infoboxcell" valign="top" align="middle" | '''{{{image1_caption|}}}''' | ||
|- | |- | ||
{{#if:{{{image2|}}} | | {{#if:{{{image2|}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image2}}} | {{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image2_caption|}}}|padding-bottom:0;|}}" {{!}}{{{image2}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
| colspan="3" style="{{#if:{{{ | | colspan="3" style="{{#if:{{{image2_caption|}}}| |display: none;}}padding-top:0;" class="infoboxcell" valign="top" align="middle" | '''{{{image2_caption|}}}''' | ||
|- | |- | ||
{{#if:{{{image3|}}} | | {{#if:{{{image3|}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image3}}} | {{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image3_caption|}}}|padding-bottom:0;|}}" {{!}}{{{image3}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
| colspan="3" style="{{#if:{{{ | | colspan="3" style="{{#if:{{{image3_caption|}}}| |display: none;}}padding-top:0;" class="infoboxcell" valign="top" align="middle" | '''{{{image3_caption|}}}''' | ||
|- | |- | ||
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}} | | colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}} | ||
Line 46: | Line 46: | ||
| style="{{#if:{{{specialeffects|}}}| |display: none;}}" valign="top" | '''Special Effects''' | | style="{{#if:{{{specialeffects|}}}| |display: none;}}" valign="top" | '''Special Effects''' | ||
| style="{{#if:{{{specialeffects|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{specialeffects|}}} | | style="{{#if:{{{specialeffects|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{specialeffects|}}} | ||
|}</div> | |}</div> | ||
|} | |} | ||
Line 92: | Line 71: | ||
| color = black | | color = black | ||
| title = TestItem | | title = TestItem | ||
| image1 = [[File:Exhumed_Milk.png]] | |||
| image1_caption = X | | image1_caption = X | ||
| image2 = [[File:Exhumed_Milk.png]] | | image2 = [[File:Exhumed_Milk.png]] | ||
Line 104: | Line 84: | ||
}} | }} | ||
</pre> | </pre> | ||
<span style="color: red">'''NOTE:''' You don't have to fill every parameter, you can leave them blank.</span> | |||
</div> | </div> | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Latest revision as of 16:04, 21 October 2023
|
Template documentation
{{Item | color = black | title = TestItem | image1 = [[File:Exhumed_Milk.png]] | image1_caption = X | image2 = [[File:Exhumed_Milk.png]] | image2_caption = Y | image3 = [[File:Exhumed_Milk.png]] | image3_caption = Z | itemname = AAAA | item = stone | lore = BBBB | enchants = CCCC | specialeffects = DDDD }}
NOTE: You don't have to fill every parameter, you can leave them blank.