Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{ | <includeonly>{| class="infoboxtable" | ||
| class="infoboxtable" | |||
|- | |- | ||
! colspan="2" class="infoboxname" | {{#if:{{{overridename|}}} | {{{overridename}}} | {{{name|{{BASEPAGENAME}}}}}}} | ! colspan="2" class="infoboxname" | {{#if:{{{overridename|}}} | {{{overridename}}} | {{{name|{{BASEPAGENAME}}}}}}} | ||
Line 9: | 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|}}}| | |||
{{!}} '''Introduced in:''' | |||
{{!}} {{{introduced|}}} }} | |||
|- | |||
{{#if: {{{dialogue|}}}| | |||
{{!}} '''Dialogue:''' | |||
{{!}} {{{dialogue|}}} }} | |||
|- | |||
{{#if: {{{voice|}}}| | |||
{{!}} '''Voice:''' | |||
{{!}} {{{voice|}}} }} | |||
|- | |||
{{#if: {{{aliases|}}}| | |||
{{!}} '''Aliases:''' | |||
{{!}} {{{aliases|}}} }} | |||
|- | |- | ||
{{#if:{{{quote|}}}{{{desc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Description }} | {{#if:{{{quote|}}}{{{desc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Description }} | ||
Line 17: | Line 44: | ||
| colspan="2" style="font-style: italic;" | {{#if: {{{desc|}}}| {{{desc|}}} }} | | colspan="2" style="font-style: italic;" | {{#if: {{{desc|}}}| {{{desc|}}} }} | ||
|- | |- | ||
{{#if:{{{altquote|}}}{{{altdesc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Alt Ammonomicon Entry }} | {{#if:{{{altquote|}}}{{{altdesc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Alt Ammonomicon Entry }} | ||
{{!}}-}} | {{!}}-}} | ||
Line 51: | Line 66: | ||
|} | |} | ||
[[Category:Enemies]]</includeonly><noinclude>{{clear}}{{doc}} | [[Category:Enemies]]</includeonly><noinclude>{{clear}}{{doc}} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:25, 13 March 2025
Syntax[edit source]
{{Infobox | name = | overridename = //optional | overrideimage = //optional | size = //optional | quote = | desc = }}
Example[edit source]
The above documentation is transcluded from Template:Infobox/doc. (edit | history)