Template:Infobox item: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    No edit summary
    No edit summary
     
    (14 intermediate revisions by the same user not shown)
    Line 5: Line 5:
    {{#if: {{{image|}}} |
    {{#if: {{{image|}}} |
    {{!}} colspan="3" style="text-align: center;" {{!}}[[Image:{{{image}}}|250px]]<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}}
    {{!}} colspan="3" style="text-align: center;" {{!}}[[Image:{{{image}}}|250px]]<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}}
    | {{#if: {{{advancedimage|}}} |
    |  
    {{!}} colspan="3" style="text-align: center;" {{{advancedimage}}}<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}}
    {{#if: {{{advancedimage|}}} |
    | <includeonly>[[Category:Infoboxes lacking an image]]</includeonly>
    {{!}} colspan="3" style="text-align: center;" {{!}}{{{advancedimage}}}<br>{{#if: {{{caption|}}} | ''<small>{{{caption}}}</small>''}}
    }}
    | {{#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 19: Line 24:
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''AKA'''
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''AKA'''
    <!-- -->{{!}} colspan="2" {{!}} {{{aka}}}
    <!-- -->{{!}} colspan="2" {{!}} {{{aka}}}
    }}
    |-
    {{#if: {{{sectionname|}}} |
    ! colspan="4" style="font-size: 1.15em;" {{!}} ''{{{sectionname}}}''
    }}
    }}
    |-
    |-
    Line 29: 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 69: Line 83:
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Taken by'''
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Taken by'''
    <!-- -->{{!}} colspan="2" {{!}} {{{taken}}}
    <!-- -->{{!}} colspan="2" {{!}} {{{taken}}}
    }}
    |-
    {{#if: {{{used|}}} |
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Used on'''
    <!-- -->{{!}} colspan="2" {{!}} {{{used}}}
    }}
    |-
    {{#if: {{{amount|}}} |
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Amount'''
    <!-- -->{{!}} colspan="2" {{!}} {{{amount}}}
    }}
    {{#if: {{{attacks|}}} |
    <!-- -->{{!}} style="vertical-align: top;" {{!}} '''Attack(s)'''{{{attacksSrc|}}}
    <!-- -->{{!}} colspan="2" {{!}} {{{attacks}}}
    }}
    }}
    |-
    |-
    Line 105: Line 133:
    <!-- -->{{!}} colspan="2" {{!}} {{{serviceprice}}}
    <!-- -->{{!}} colspan="2" {{!}} {{{serviceprice}}}
    }}
    }}
    |-
    {{#if: {{{moreinfo|}}} |
    {{{moreinfo}}}
    }}
    |-
    {{#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?)