Category:Entity: Difference between revisions

From Battery Knowledge Base
support both local and remote images (wgAllowExternalImages must be enable)
(fix)
Tags: Manual revert Metadata slot edit
(support both local and remote images (wgAllowExternalImages must be enable))
Tag: Metadata slot edit
header_template
Line 32: Line 32:
{{#if: {{{image|}}}|<!-- show a row if an image exists -->
{{#if: {{{image|}}}|<!-- show a row if an image exists -->
     <tr>
     <tr>
     <td class="picture" colspan="2">[[{{{image|}}}|200x800px]]</td>
     <td class="picture" colspan="2">{{#if: {{#pos:{{{image|}}}|File:}} | [[{{{image|}}}|200x800px]] | {{{image|}}}}}</td><!-- support both local and remote images (wgAllowExternalImages must be enabled-->
     </tr>
     </tr>
     |<!-- don't show a row, if there is no image -->}}
     |<!-- don't show a row, if there is no image -->}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.