Template:Infobox: Difference between revisions
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" | ||
{ | |- | ||
! 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: {{{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 }} | |||
{{!}}-}} | |||
|- | |||
| colspan="2" style="text-align: center;" | {{#if: {{{quote|}}}| '''{{{quote|}}}''' }} | |||
|- | |||
| colspan="2" style="font-style: italic;" | {{#if: {{{desc|}}}| {{{desc|}}} }} | |||
|- | |||
{{#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> |
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)