Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary |
||
Line 8: | Line 8: | ||
{{#if: {{{secondImage|}}} | {{!}} style="text-align:center; vertical-align: bottom; width:50%" colspan="1" {{!}} [[File:{{{secondImage|}}}|{{#if:{{{size2|}}}|{{{size2|}}}px|80px}}]]}} | {{#if: {{{secondImage|}}} | {{!}} style="text-align:center; vertical-align: bottom; width:50%" colspan="1" {{!}} [[File:{{{secondImage|}}}|{{#if:{{{size2|}}}|{{{size2|}}}px|80px}}]]}} | ||
|} | |} | ||
|- | |||
{{#if: {{{health|}}}| | |||
{{!}} '''Health:''' | |||
{{!}} {{{health|}}} }} | |||
|- | |||
{{#if: {{{calories|}}}| | |||
{{!}} '''Calories:''' | |||
{{!}} {{{calories|}}} }} | |||
|- | |||
{{#if: {{{diet|}}}| | |||
{{!}} '''Diet:''' | |||
{{!}} {{{diet|}}} }} | |||
|- | |- | ||
{{#if: {{{introduced|}}}| | {{#if: {{{introduced|}}}| |
Revision as of 00:24, 13 March 2025
Syntax
{{Infobox | name = | overridename = //optional | overrideimage = //optional | size = //optional | quote = | desc = }}
Example
The above documentation is transcluded from Template:Infobox/doc. (edit | history)