Difference between revisions of "Template:Char"
From Detective Conan Wiki
m |
(To clip the overflowing of images through round borders) |
||
| (51 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><div style="margin: 5px 3px; border: 1px solid #c8ccd1; border-radius: .25rem; overflow: clip;">[[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> |
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 5: | Line 5: | ||
# Character name | # Character name | ||
# Image name (defaults to <char name>.jpg | # Image name (defaults to <char name>.jpg | ||
| − | # Image width (defaults to | + | # Image width (defaults to 100px) |
| − | # Image height (defaults to | + | # Image height (defaults to 100px) |
| + | # display = Display text (defaults to character name) | ||
| + | # nolink = 1 (Optional: Show no link. Defaults to 0) | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:29, 22 July 2025
Here are the different values you can set for any of the characters:
Parameters
- Character name
- Image name (defaults to <char name>.jpg
- Image width (defaults to 100px)
- Image height (defaults to 100px)
- display = Display text (defaults to character name)
- nolink = 1 (Optional: Show no link. Defaults to 0)