Template:Item: Difference between revisions

From EarthMC
Jump to navigation Jump to search
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:{{{map_caption|}}}| }}" class="infoboxcell" valign="top" align="middle" |{{{image1_caption|}}}
| 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:{{{map_caption|}}}| }}" class="infoboxcell" valign="top" align="middle" |{{{image2_caption|}}}
| 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:{{{map_caption|}}}| }}" class="infoboxcell" valign="top" align="middle" |{{{image3_caption|}}}
| 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|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{organization|}}}| |display: none;}}" valign="top" | '''Organization'''
| style="{{#if:{{{organization|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{organization|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{political_party|}}}| |display: none;}}" valign="top" | '''Political Party'''
| style="{{#if:{{{political_party|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{political_party|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{clan|}}}| |display: none;}}" valign="top" | '''Clan'''
| style="{{#if:{{{clan|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{clan|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{religion|}}}| |display: none;}}" valign="top" | '''Religion'''
| style="{{#if:{{{religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{religion|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{spouse|}}}| |display: none;}}" valign="top" | '''Spouse(s)'''
| style="{{#if:{{{spouse|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{spouse|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{signature|}}}| |display: none;}}" valign="top" | '''Signature'''
| style="{{#if:{{{signature|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{signature|}}}
|}</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

Item
Item Information
Item Name
Item
Lore
Enchants
Special Effects

Template documentation

TestItem
Exhumed Milk.png
X
Exhumed Milk.png
Y
Exhumed Milk.png
Z
Item Information
Item Name AAAA
Item Stone.png Stone
Lore BBBB
Enchants CCCC
Special Effects DDDD
Example usage:
{{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.