Difference between revisions of "Template:Gadget"

From Detective Conan Wiki
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><div style="float:left; font-size: 90%;" class="gadget-image"><div class="center"><div class="thumb tnone"><div class="thumbinner" style="width:102px;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px|link={{{1}}}|alt={{{1}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]]]<div class="thumbcaption">[[{{{1}}}|{{{display|{{{1}}}}}}]]</div></div></div></div></div></includeonly><noinclude>
+
<includeonly><div style="margin: 5px 3px; border: 1px solid #c8ccd1; border-radius: .25rem; height: min-content;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px|link={{{1}}}|alt={{{1}}}]]<br>[[{{{1}}}|{{{display|{{{1}}}}}}]]
Here are the different values you can set for any of the characters:
+
</div></includeonly><noinclude>
 +
Here are the different values you can set for any of the Gadgets:
 +
 
 
== Parameters ==
 
== Parameters ==
 
 
# Gadget name
 
# Gadget name
# Image name (defaults to <gadg name>.jpg
+
# Image name (defaults to <gadget name>.jpg>)
 
# Image width (defaults to 100px)
 
# Image width (defaults to 100px)
 
# Image height (defaults to 100px)
 
# Image height (defaults to 100px)
# display = Display text (defaults to character name)
+
# display = Display text (defaults to gadget name)
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:55, 2 April 2025

Here are the different values you can set for any of the Gadgets:

Parameters

  1. Gadget name
  2. Image name (defaults to <gadget name>.jpg>)
  3. Image width (defaults to 100px)
  4. Image height (defaults to 100px)
  5. display = Display text (defaults to gadget name)