Difference between revisions of "Template:Char"

From Detective Conan Wiki
m
m
Line 1: Line 1:
<includeonly>{{#ifexist: Image:{{{image|name}}}.jpg|[[Image:{{{image|name}}}.jpg|{{{width|80}}}px]] | [[Media:{{{name}}}.jpg| Upload image<br>({{{width|80}}}x{{{height|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)]] }}</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:
<pre>
+
== Parameters ==
{{Char
+
 
| name    = Character name
+
# Character name
| image  = Image name (defaults to <char name>.jpg
+
# Image name (defaults to <char name>.jpg
| width  = Image width (defaults to 80px)
+
# Image width (defaults to 80px)
| height  = Image height (defaults to 80px)
+
# Image height (defaults to 80px)
}}
+
 
</pre>
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

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