Difference between revisions of "Template:Char"

From Detective Conan Wiki
(Created page with '{{#ifexist: Image:{{{image|name}}}.jpg|[[Image:{{{image|name}}}.jpg|{{{width|80}}}px]] | <center>[[Media:{{{name}}}.jpg| Upload image<br>({{{width|80}}}x{{{height|80}}} please)]]...')
 
 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexist: Image:{{{image|name}}}.jpg|[[Image:{{{image|name}}}.jpg|{{{width|80}}}px]] | <center>[[Media:{{{name}}}.jpg| Upload image<br>({{{width|80}}}x{{{height|80}}} please)]]</center> }}<noinclude>
+
<includeonly><div style="float:left; font-size: 90%;" class="char-image"><div class="center"><div class="thumb tnone"><div class="thumbinner" style="width:102px;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px{{#if:{{{nolink|}}}||{{!}}link={{{1}}}{{!}}alt={{{1}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}]]<div class="thumbcaption">{{#if:{{{nolink|}}}|{{{display|{{{1}}}}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}</div></div></div></div></div></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 100px)
| height = Image height (defaults to 80px)
+
# Image height (defaults to 100px)
}}
+
# display = Display text (defaults to character name)
</pre>
+
# nolink = 1 (Optional: Show no link. Defaults to 0)
 +
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:02, 15 June 2011

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 100px)
  4. Image height (defaults to 100px)
  5. display = Display text (defaults to character name)
  6. nolink = 1 (Optional: Show no link. Defaults to 0)