Template:Item: Difference between revisions
Jump to navigation
Jump to search
Example usage:
No edit summary |
No edit summary |
||
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> | ||
|} | |} |
Revision as of 16:00, 21 October 2023
|
Template documentation
{{Item | color = black | title = TestItem | 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 }}