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) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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:{{{ | | 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:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}} | ||
{{#if:{{{imgcaption|}}}|<br/>{{{imgcaption|}}}}} | |||
|- | |- | ||
|- {{#if: {{{ja_kanji|{{{ja_name|}}}}}}||style="display: none"}} | |- {{#if: {{{ja_kanji|{{{ja_name|}}}}}}||style="display: none"}} |
Latest revision as of 10:23, 7 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= }}