Template:Infobox image
From CruisersWiki
(Difference between revisions)
(wikipedia image) |
|||
(7 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
| colspan="2" style="text-align:center;" | <div>{{if | | colspan="2" style="text-align:center;" | <div>{{if | ||
| test= {{filepath:{{{1}}}}} | | test= {{filepath:{{{1}}}}} | ||
- | | then= [[Image:{{{1}}}{{!}}{{if |test={{{3|}}} | then={{{3}}} | else=350px}} | + | | then= [[Image:{{{1}}}{{!}}{{if |test={{{3|}}} | then={{{3}}} | else=350px}}]] |
- | | else= {{#Widget: | + | | else= {{#Widget:wikipedia image|file={{{1}}}|width={{if |test={{{3|}}} | then={{{3}}} | else=350px}}}} |
}}</div><div class="thumbcaption"><div class="magnify">[[File:Magnify-clip.png|link={{if | }}</div><div class="thumbcaption"><div class="magnify">[[File:Magnify-clip.png|link={{if | ||
| test= {{filepath:{{{1}}}}} | | test= {{filepath:{{{1}}}}} | ||
- | | then= {{ | + | | then= File:{{{1}}} |
+ | | else= wikipedia:File:{{{1}}} | ||
}}]]</div><div>{{{2|}}}</div></div></includeonly><noinclude> | }}]]</div><div>{{{2|}}}</div></div></includeonly><noinclude> | ||
- | + | ||
Image section for [[Template:Infobox]] | Image section for [[Template:Infobox]] | ||
[[Category:Templates|Infobox image]] | [[Category:Templates|Infobox image]] | ||
</noinclude> | </noinclude> |
Latest revision as of 13:18, 16 November 2016
Image section for Template:Infobox