Template:Character Info: Difference between revisions
Jump to navigation
Jump to search
(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) |
(forgot to limit image.png's size) |
||
Line 2: | Line 2: | ||
! colspan="2" | {{{subj|{{{name|{{PAGENAME}}}}}}}} | ! colspan="2" | {{{subj|{{{name|{{PAGENAME}}}}}}}} | ||
|- | |- | ||
| 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}}}}}}}]]}} | | 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:{{{image}}}}}}}]]}} | ||
{{#if:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}} | {{#if:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}} |
Revision as of 20:31, 3 January 2024
Description
This template is intended for use on No Man's Land - A Trigun Wiki pages that discuss various characters within the wider Trigun universe.
Usage
Parameters
Many parameters have been included for the sake of thoroughness, but not all are required. To omit a parameter, simply leave its space in the list blank. That will cause the row to hide itself.
Code
Paste this code at the top of the text box in "Edit Source" mode and fill in the parameters with the appropriate values:
{{Character Info |subj= |img= |imgcaption= |ja_kanji= |altspelling= |age= |born= |alias= |race= |height= |hair= |eye= |gender= |occupation= |affiliation= |first= |last= |firstmanga= |lastmanga= |firstanime= |lastanime= |firststampede= |laststampede= |ja_va= |en_va= }}