Difference between revisions of "User:R0o0di/Sandbox/Char2"

From Detective Conan Wiki
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="font-size: 90%; text-align:center;"><div style="background: #f8f9fa; border: 1px solid #c8ccd1; padding: 5px; width: min-content;">
+
<includeonly><div style="margin: 5px 3px; border: 1px solid #c8ccd1; border-radius: .25rem; height: min-content;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px{{#if:{{{nolink|}}}||{{!}}link={{{1}}}{{!}}alt={{{1}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}]]<br>{{#if:{{{nolink|}}}|{{{display|{{{1}}}}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}</div><!-- <hr style="width: 2px; margin: 3px; border-radius: 2px; height: auto; background-color: #a2a9b1;"> --></includeonly><noinclude>
[[Image:{{{2|{{{1}}}}}}}.jpg
+
Here are the different values you can set for any of the characters:
| {{{3|100}}}px
+
== Parameters ==
|style="border: 1px solid #ccc;"
+
 
{{#if:{{{nolink}}}
+
# Character name
||{{!}}link={{{1}}}{{!}}alt={{{1}}}
+
# Image name (defaults to <char name>.jpg
|[[{{{1}}}|{{{display|{{{1}}}}}}]]
+
# Image width (defaults to 100px)
}}
+
# Image height (defaults to 100px)
]]
+
# display = Display text (defaults to character name)
{{#if:{{{nolink}}}
+
# nolink = 1 (Optional: Show no link. Defaults to 0)
|{{{display|{{{1}}}}}}
+
 
|[[{{{1}}}|{{{display|{{{1}}}}}}]]
+
</noinclude>
}}
 
</div></div></includeonly>
 

Latest revision as of 08:00, 7 June 2025

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)