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><noinclude>
+
<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)]] }}
 +
{{#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 7: Line 9:
 
# Image width (defaults to 80px)
 
# Image width (defaults to 80px)
 
# Image height (defaults to 80px)
 
# Image height (defaults to 80px)
 +
 +
== Test ==
 +
 +
{{Char|Test2|test=Boom}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:13, 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)

Test