Difference between revisions of "Template:Char"

From Detective Conan Wiki
m
m
Line 1: Line 1:
<includeonly>{{#ifexist: Image:{{{2|{{{1}}}}}}.jpg|[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|80}}}px]] | [[Media:{{{2|{{{1}}}}}}.jpg| Upload image<br>({{{3|80}}}x{{{4|80}}} please)]] }}
+
<includeonly>{{#ifexist: Image:{{{2|{{{1}}}}}}.jpg|[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|80}}}px]] | [[Media:{{{2|{{{1}}}}}}.jpg| Upload image<br>({{{3|80}}}x{{{4|80}}} please)]] }}</includeonly><noinclude>
{{#if: {{{test}}} | Test}}
 
</includeonly><noinclude>
 
 
Here are the different values you can set for any of the characters:
 
Here are the different values you can set for any of the characters:
 
== Parameters ==
 
== Parameters ==
Line 9: Line 7:
 
# Image width (defaults to 80px)
 
# Image width (defaults to 80px)
 
# Image height (defaults to 80px)
 
# Image height (defaults to 80px)
 
== Test ==
 
 
{{Char|Test2|test2=Boom}}
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:14, 10 May 2009

Here are the different values you can set for any of the characters:

Parameters

  1. Character name
  2. Image name (defaults to <char name>.jpg
  3. Image width (defaults to 80px)
  4. Image height (defaults to 80px)