Template:Infobox: Difference between revisions

From Ultros Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(4 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}}}}}}}
    |-
|-style="text-align:center"
    ! colspan="2" class="infoboxname" | {{#if:{{{overridename|}}} | {{{overridename}}} | {{{name|{{BASEPAGENAME}}}}}}}
| colspan="2" style="text-align: center" |
    |-style="text-align:center"
{| width="100%"  
    | colspan="2" style="text-align: center" |
{{#if: {{{overrideimage|}}} | {{!}} {{#if:{{{secondImage|}}}|colspan="1"|colspan="2"}} style="text-align: center; vertical-align: bottom; width:50%" {{!}} [[File:{{{overrideimage|}}}|{{#if:{{{size|}}}|{{{size|}}}px|80px}}]] | {{#if: {{{overridename|}}} | {{!}} {{#if:{{{secondImage|}}}|colspan="1"|colspan="2"}} style="text-align: center; vertical-align: bottom; width:50%"  {{!}} [[File:{{{overridename|}}}.png|{{#if:{{{size|}}}|{{{size|}}}px|80px}}]] | {{!}} {{#if:{{{secondImage|}}}|colspan="1"|colspan="2"}} style="text-align: center; vertical-align: bottom; width:50%" {{!}} [[File:{{BASEPAGENAME}}.png|{{#if:{{{size|}}}|{{{size|}}}px|80px}}]]}}}}
    {| width="100%"  
{{#if: {{{secondImage|}}} | {{!}} style="text-align:center; vertical-align: bottom; width:50%" colspan="1" {{!}} [[File:{{{secondImage|}}}|{{#if:{{{size2|}}}|{{{size2|}}}px|80px}}]]}}
    {{#if: {{{overrideimage|}}} | {{!}} {{#if:{{{secondImage|}}}|colspan="1"|colspan="2"}} style="text-align: center; vertical-align: bottom; width:50%" {{!}} [[File:{{{overrideimage|}}}|{{#if:{{{size|}}}|{{{size|}}}px|80px}}]] | {{#if: {{{overridename|}}} | {{!}} {{#if:{{{secondImage|}}}|colspan="1"|colspan="2"}} style="text-align: center; vertical-align: bottom; width:50%"  {{!}} [[File:{{{overridename|}}}.png|{{#if:{{{size|}}}|{{{size|}}}px|80px}}]] | {{!}} {{#if:{{{secondImage|}}}|colspan="1"|colspan="2"}} style="text-align: center; vertical-align: bottom; width:50%" {{!}} [[File:{{BASEPAGENAME}}.png|{{#if:{{{size|}}}|{{{size|}}}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:'''
    {{#if:{{{quote|}}}{{{desc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Description }}
{{!}} {{{health|}}} }}
    {{!}}-}}
|-
    |-
{{#if: {{{calories|}}}|
    | colspan="2" style="text-align: center;" | {{#if: {{{quote|}}}| '''{{{quote|}}}''' }}
{{!}} '''Calories:'''
    |-
{{!}} {{{calories|}}} }}
    | colspan="2" style="font-style: italic;" | {{#if: {{{desc|}}}| {{{desc|}}} }}
|-
    |-
{{#if: {{{diet|}}}|
    {{#if:{{{health|}}}| ! colspan="2" class="infoboxdetails" {{!}} Health }}
{{!}} '''Diet:'''
    {{!}}-}}
{{!}} {{{diet|}}} }}
    |-
|-
    | colspan="2" style="text-align: center;" | {{#if: {{{health|}}}| '''{{{health|}}}''' }}
{{#if: {{{introduced|}}}|
    {{#if:{{{calories|}}}| ! colspan="2" class="infoboxdetails" {{!}} Calories }}
{{!}} '''Introduced in:'''
    {{!}}-}}
{{!}} {{{introduced|}}} }}
    |-
|-
    | colspan="2" style="text-align: center;" | {{#if: {{{calories|}}}| '''{{{calories|}}}''' }}
{{#if: {{{dialogue|}}}|
    {{#if:{{{diet|}}}| ! colspan="2" class="infoboxdetails" {{!}} Diet }}
{{!}} '''Dialogue:'''
    {{!}}-}}
{{!}} {{{dialogue|}}} }}
    |-
|-
    | colspan="2" style="text-align: center;" | {{#if: {{{diet|}}}| '''{{{diet|}}}''' }}
{{#if: {{{voice|}}}|
    {{#if:{{{altquote|}}}{{{altdesc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Alt Ammonomicon Entry }}
{{!}} '''Voice:'''
    {{!}}-}}
{{!}} {{{voice|}}} }}
    |-
|-
    {{#if: {{{altentryreason|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  <span style="color:grey;">{{{altentryreason|}}}</span> }}
{{#if: {{{aliases|}}}|
    |-
{{!}} '''Aliases:'''
    {{#if: {{{altquote|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  '''{{{altquote|}}}''' }}
{{!}} {{{aliases|}}} }}
    |-
|-
    {{#if: {{{altdesc|}}}|{{!}} colspan="2" style="font-style: italic;" {{!}} {{{altdesc|}}} }}
{{#if:{{{quote|}}}{{{desc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Description }}
    |-
{{!}}-}}
    {{#if:{{{digiquote|}}}{{{digidesc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Diginomicon Entry ([[Exit the Gungeon|XtG]]) }}
|-
    {{!}}-}}
| colspan="2" style="text-align: center;" | {{#if: {{{quote|}}}| '''{{{quote|}}}''' }}
    |-
|-
    {{#if:{{{digiquote|}}}{{{digidesc|}}}|
| colspan="2" style="font-style: italic;" | {{#if: {{{desc|}}}| {{{desc|}}} }}
    {{!}} colspan="2" style="text-align: center;" {{!}} {{#if: {{{overridename|}}} | [[File:Diginomicon {{{overridename|}}}.png|190px]] | [[File:Diginomicon {{BASEPAGENAME}}.png|190px]]}}}}
|-
    |-
{{#if:{{{altquote|}}}{{{altdesc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Alt Ammonomicon Entry }}
    {{#if: {{{digiquote|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  '''{{{digiquote|}}}''' }}
{{!}}-}}
    |-
|-
    {{#if: {{{digidesc|}}}|{{!}} colspan="2" style="font-style: italic;" {{!}} {{{digidesc|}}} }}
{{#if: {{{altentryreason|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  <span style="color:grey;">{{{altentryreason|}}}</span> }}
    |-
|-
    {{#if: {{{drunkard|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  [[File:drunkard face.png|20px|link=Drunkard]] '''[[Drunkard]] Dialogue:'''<br>{{{drunkard|}}} }}
{{#if: {{{altquote|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  '''{{{altquote|}}}''' }}
    |
|-
}
{{#if: {{{altdesc|}}}|{{!}} colspan="2" style="font-style: italic;" {{!}} {{{altdesc|}}} }}
|-
{{#if:{{{digiquote|}}}{{{digidesc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Diginomicon Entry ([[Exit the Gungeon|XtG]]) }}
{{!}}-}}
|-
{{#if:{{{digiquote|}}}{{{digidesc|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} {{#if: {{{overridename|}}} | [[File:Diginomicon {{{overridename|}}}.png|190px]] | [[File:Diginomicon {{BASEPAGENAME}}.png|190px]]}}}}
|-
{{#if: {{{digiquote|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  '''{{{digiquote|}}}''' }}
|-
{{#if: {{{digidesc|}}}|{{!}} colspan="2" style="font-style: italic;" {{!}} {{{digidesc|}}} }}
|-
{{#if: {{{drunkard|}}}|{{!}} colspan="2" style="text-align: center;" {{!}}  [[File:drunkard face.png|20px|link=Drunkard]] '''[[Drunkard]] Dialogue:'''<br>{{{drunkard|}}} }}
|}
[[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.