Anonymous

Template:Character 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
(eh, never mind)
Tag: Manual revert
(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 2: Line 2:
! colspan="2" | {{{subj|{{{name|{{PAGENAME}}}}}}}}
! colspan="2" | {{{subj|{{{name|{{PAGENAME}}}}}}}}
|-
|-
| 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|link={{fullurl:Special:Upload|wpDestFile={{urlencode:{{{image}}}}}}}]]}}
 
{{#if:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}}
|-
|-
|- {{#if: {{{ja_kanji|{{{ja_name|}}}}}}||style="display: none"}}
|- {{#if: {{{ja_kanji|{{{ja_name|}}}}}}||style="display: none"}}