Template:Infobox: Difference between revisions

From Ultros Wiki
Jump to navigation Jump to search
No edit summary
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: {{{location|}}}|
{{!}} '''Location:'''
{{!}} style="width:60%" {{!}} {{{location|}}} }}
|-
|-
{{#if: {{{introduced|}}}|
{{#if: {{{introduced|}}}|
Line 31: Line 27:
{{#if:{{{quote|}}}{{{desc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Ammonomicon Entry }}
{{#if:{{{quote|}}}{{{desc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Ammonomicon Entry }}
{{!}}-}}
{{!}}-}}
|-
| colspan="2" style="text-align: center;" |
{{#if:{{{noImg|}}}||{{#if:{{{quote|}}}{{{desc|}}}|{{#if: {{{overrideAmmonomicon|}}} | [[File:{{{overrideAmmonomicon|}}}.png|230px]] | {{#if: {{{overridename|}}} | [[File:Ammonomicon {{{overridename|}}}.png|230px]] | [[File:Ammonomicon {{BASEPAGENAME}}.png|230px]]}}}}}}}}
|-
|-
| colspan="2" style="text-align: center;" | {{#if: {{{quote|}}}| '''{{{quote|}}}''' }}
| colspan="2" style="text-align: center;" | {{#if: {{{quote|}}}| '''{{{quote|}}}''' }}

Revision as of 22:21, 12 March 2025

Syntax

{{Infobox
| name = 
| overridename = //optional
| overrideimage = //optional
| size = //optional
| quote = 
| desc = 
}}

Example

PomPom
Ammonomicon Entry
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.