Template:Infobox item: Difference between revisions
DansFriend (talk | contribs) No edit summary |
DansFriend (talk | contribs) No edit summary |
||
(12 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: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 20: | 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 30: | 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 70: | 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 106: | 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 |
---|