Template:Infobox: Difference between revisions

From Ultros Wiki
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:{{{health|}}}| ! colspan="2" class="infoboxdetails" {{!}} Health }}
{{!}}-}}
|-
| colspan="2" style="text-align: center;" | {{#if: {{{health|}}}| '''{{{health|}}}''' }}
{{#if:{{{calories|}}}| ! colspan="2" class="infoboxdetails" {{!}} Calories }}
{{!}}-}}
|-
| colspan="2" style="text-align: center;" | {{#if: {{{calories|}}}| '''{{{calories|}}}''' }}
{{#if:{{{diet|}}}| ! colspan="2" class="infoboxdetails" {{!}} Diet }}
{{!}}-}}
|-
| colspan="2" style="text-align: center;" | {{#if: {{{diet|}}}| '''{{{diet|}}}''' }}
{{#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]

PomPom
Description
PomPom
An affectionate creature that helps cultivate the Sarcophagus. Will nevertheless defend itself when agitated.

An affectionate creature that helps cultivate the Sarcophagus. Will nevertheless defend itself when agitated.