Anonymous

Template:Chapter info: Difference between revisions

From No Man's Land - A Trigun Wiki
if "img" is given the name of a file that doesn't exist, display File:Image.png with a link to upload a file to the given name
m (superscipt revision reverted. br added instead)
(if "img" is given the name of a file that doesn't exist, display File:Image.png with a link to upload a file to the given name)
Line 3: Line 3:
! colspan="2" | {{{title|}}}{{#if:{{{engtitle|}}}|<br><small>{{{engtitle|}}}</small>}}
! colspan="2" | {{{title|}}}{{#if:{{{engtitle|}}}|<br><small>{{{engtitle|}}}</small>}}
|-
|-
| colspan="2" style="text-align:center; {{#if:{{{img|}}}||display: none}}" | [[File:{{{img|}}}|300px|x400px]]{{#if:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}}
| colspan="2" style="text-align:center; {{#if:{{{img|}}}||display: none}}" | {{#ifexist:File:{{{img|}}}|[[File:{{{img}}}|300x400px]]|[[File:Image.png|300x400px|link={{fullurl:Special:Upload|wpDestFile={{urlencode:{{{img}}}}}}}]]}}
|-
|-
|- {{#if: {{{series|}}}||style="display: none"}}
|- {{#if: {{{series|}}}||style="display: none"}}