Template:Item: Difference between revisions
Jump to navigation
Jump to search
Example usage:
(Created page with "{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5" |- |<div> {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle; background: linear-gradient(to top, MistyRose, AntiqueWhite, Ivory, Beige, AliceBlue, WhiteSmoke,...") |
mNo edit summary |
||
(3 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:{{{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:{{{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:{{{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 40: | 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 71: | Line 56: | ||
| title = TestItem | | title = TestItem | ||
| image1 = [[File:Exhumed_Milk.png]] | | image1 = [[File:Exhumed_Milk.png]] | ||
| image1_caption = X | |||
| image2 = [[File:Exhumed_Milk.png]] | | image2 = [[File:Exhumed_Milk.png]] | ||
| image2_caption = Y | |||
| image3 = [[File:Exhumed_Milk.png]] | | image3 = [[File:Exhumed_Milk.png]] | ||
| image3_caption = Z | |||
| itemname = AAAA | | itemname = AAAA | ||
| item = stone | | item = stone | ||
Line 84: | Line 72: | ||
| title = TestItem | | title = TestItem | ||
| image1 = [[File:Exhumed_Milk.png]] | | image1 = [[File:Exhumed_Milk.png]] | ||
| image1_caption = X | |||
| image2 = [[File:Exhumed_Milk.png]] | | image2 = [[File:Exhumed_Milk.png]] | ||
| image2_caption = Y | |||
| image3 = [[File:Exhumed_Milk.png]] | | image3 = [[File:Exhumed_Milk.png]] | ||
| image3_caption = Z | |||
| itemname = AAAA | | itemname = AAAA | ||
| item = stone | | item = stone | ||
Line 93: | 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.