Template:Infobox entity: Difference between revisions
add captions for the images |
|||
| Line 4: | Line 4: | ||
#if: {{#pos: {{{image}}} | ; }} | #if: {{#pos: {{{image}}} | ; }} | ||
| {{animate|{{{image}}}|return=[[File:{1}|150px|center]]}} | | {{animate|{{{image}}}|return=[[File:{1}|150px|center]]}} | ||
| [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No block image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|{{{imagesize|150px}}}|center]] | | [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No block image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|{{{imagesize|150px}}}|center|{{{caption|}}}]] | ||
}}{{ | }}{{ | ||
| Line 10: | Line 10: | ||
#if: {{#pos: {{{image2}}} | ; }} | #if: {{#pos: {{{image2}}} | ; }} | ||
| {{animate|{{{image2}}}|return=[[File:{1}|150px|center]]}} | | {{animate|{{{image2}}}|return=[[File:{1}|150px|center]]}} | ||
| [[File:{{{image2}}}|{{{image2size|150px}}}|center]] | | [[File:{{{image2}}}|{{{image2size|150px}}}|center|{{{caption2|}}}]] | ||
}}</div> | }}</div> | ||
}}{{ | }}{{ | ||
| Line 17: | Line 17: | ||
#if: {{#pos: {{{image3}}} | ; }} | #if: {{#pos: {{{image3}}} | ; }} | ||
| {{animate|{{{image3}}}|return=[[File:{1}|150px|center]]}} | | {{animate|{{{image3}}}|return=[[File:{1}|150px|center]]}} | ||
| [[File:{{{image3}}}|{{{image3size|150px}}}|center]] | | [[File:{{{image3}}}|{{{image3size|150px}}}|center|{{{caption3|}}}]] | ||
}}</div> }} | }}</div> }} | ||
| rows = | | rows = | ||