Template:Infobox item: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    No edit summary
    No edit summary
     
    (5 intermediate revisions by the same user not shown)
    Line 8: Line 8:
    {{#if: {{{advancedimage|}}} |
    {{#if: {{{advancedimage|}}} |
    {{!}} colspan="3" style="text-align: center;" {{!}}{{{advancedimage}}}<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}}
    {{!}} colspan="3" style="text-align: center;" {{!}}{{{advancedimage}}}<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}}
    | <includeonly>[[Category:Item infoboxes lacking an image]]</includeonly>
    | {{#if:{{{icon|}}}||<includeonly>[[Category:Infoboxes lacking an image]]</includeonly>}}
    }}}}
    }}}}
    |-
    |-
    {{#if: {{{icon|}}} |
    {{#if: {{{icon|}}} | {{#switch:{{{icon}}}
    |No
    |None =
    |#default=
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Icon'''
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Icon'''
    <!-- -->{{!}} colspan="2" {{!}} {{{icon}}}
    <!-- -->{{!}} colspan="2" {{!}} {{{icon}}}
    }}
    | <includeonly>[[Category:Item infoboxes without an icon]]</includeonly>
    | <includeonly>[[Category:Item infoboxes without an icon]]</includeonly>
    }}
    }}
    Line 34: Line 38:
    <!-- -->{{!}} style="vertical-align: top; width: 40%;" {{!}} '''Type'''
    <!-- -->{{!}} style="vertical-align: top; width: 40%;" {{!}} '''Type'''
    <!-- -->{{!}} colspan="2" {{!}} {{{type}}}
    <!-- -->{{!}} colspan="2" {{!}} {{{type}}}
    }}
    |-
    {{#if: {{{gender|}}} |
    <!-- -->{{!}} style="vertical-align: top; width: 40%;" {{!}} '''Gender'''
    <!-- -->{{!}} colspan="2" {{!}} {{{gender}}}
    }}
    }}
    |-
    |-
    Line 130: Line 139:
    |-
    |-
    {{#if: {{{appearances|}}} |
    {{#if: {{{appearances|}}} |
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Appears in'''
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''{{{appearstitle|Appears in}}}'''
    <!-- -->{{!}} colspan="2" {{!}} {{{appearances}}}
    <!-- -->{{!}} colspan="2" {{!}} {{{appearances}}}
    }}
    }}
    |-
    |-
    |}<noinclude>{{Documentation}}</noinclude>
    |}<noinclude>{{Documentation}}</noinclude>

    Latest revision as of 00:04, 6 May 2024

    Infobox item
    About this template

    Visit Template:Infobox item/doc to edit this text! (How does this work?)