Template:Infobox: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{ | ||
{ | | class="infoboxtable" | ||
|- | |||
! colspan="2" class="infoboxname" | {{#if:{{{overridename|}}} | {{{overridename}}} | {{{name|{{BASEPAGENAME}}}}}}} | |||
|-style="text-align:center" | |||
| colspan="2" style="text-align: center" | | |||
{| width="100%" | |||
{{#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:{{{quote|}}}{{{desc|}}}| ! colspan="2" class="infoboxdetails" {{!}} Description }} | |||
{{!}}-}} | |||
|- | |||
| colspan="2" style="text-align: center;" | {{#if: {{{quote|}}}| '''{{{quote|}}}''' }} | |||
|- | |||
| 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: {{{altentryreason|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} <span style="color:grey;">{{{altentryreason|}}}</span> }} | |||
|- | |||
{{#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> |
Revision as of 00:19, 13 March 2025
Syntax
{{Infobox | name = | overridename = //optional | overrideimage = //optional | size = //optional | quote = | desc = }}
Example
{ | class="infoboxtable" |- ! colspan="2" class="infoboxname" | PomPom |-style="text-align:center" | colspan="2" style="text-align: center" |
![]() |
|- ! colspan="2" class="infoboxdetails" | Description |-}} |- | colspan="2" style="text-align: center;" | PomPom |- | colspan="2" style="font-style: italic;" | 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. |-
|-}} |- | colspan="2" style="text-align: center;" |
|-}} |- | colspan="2" style="text-align: center;" |
|-}} |- | colspan="2" style="text-align: center;" |
|-}} |-
|-
|-
|-
|-}} |-
|-
|-
|-
|}
The above documentation is transcluded from Template:Infobox/doc. (edit | history)