Difference between revisions of "Template:Infobox Item"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude><p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/doc|> Template:{{PAGENAME}}/doc]]</p> | ||
+ | <p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/version|> Template:{{PAGENAME}}/version]]</p> | ||
+ | {{{{PAGENAME}}/doc}} | ||
+ | |||
+ | == Exemplary presentation ==</noinclude> | ||
+ | [[Category:Item]] __NOTOC__ __NOEDITSECTION__ | ||
<div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: left; margin: 0 1em 1em 0; padding: 1em; width: 400px;"> | <div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: left; margin: 0 1em 1em 0; padding: 1em; width: 400px;"> | ||
<div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div> | <div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div> | ||
− | <div class="infobox-image" style= "text-align: center;">{{#ifexist: Media:Item_{{PAGENAME}}.png | [[File:Item_{{PAGENAME}}.png|100px]] |}}</div></div> | + | <div class="infobox-image" style= "text-align: center;">{{#ifexist: Media:Item_{{PAGENAME}}.png | [[File:Item_{{PAGENAME}}.png|100px]] |}}</div> |
+ | |||
+ | {| style="margin:auto; width: 100%" | ||
+ | {{#if: {{{contraband|}}} | | ||
+ | {{!}} style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" {{!}} Contraband | ||
+ | {{!}} style="width: 98%;" {{!}} <hr> | ||
+ | {{!}} style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" {{!}} [[File:Icon_Question_Mark.png|30px|link=Contraband|Tutorial for contraband]] | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" {{!}} This item is contraband to the {{{contraband|}}}. | ||
+ | {{!}}- | ||
+ | |}} | ||
+ | |} | ||
+ | |||
+ | </div> |
Latest revision as of 12:25, 3 May 2025
> Template:Infobox Item/version
Styleguide
Changing the template
Parameter
Template
Use this template to copy and paste it onto the page of your liking.
{{In-Game_Desciption | version = 2025.04.25.0 | }}
Exemplary presentation
Infobox Item