Difference between revisions of "User:R0o0di/Sandbox/New Gadget"

From Detective Conan Wiki
(Created page with "<includeonly><div style="margin: 5px 3px; background: #6969fa7a; border: 1px solid #c8ccd1; border-radius: .25rem; height: min-content;">Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}...")
 
Line 1: Line 1:
<includeonly><div style="margin: 5px 3px; background: #6969fa7a; border: 1px solid #c8ccd1; border-radius: .25rem; height: min-content;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px|link={{{1}}}|alt={{{1}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}<br>[[{{{1}}}|{{{display|{{{1}}}}}}]]}}</div></includeonly><noinclude>
+
<includeonly><div style="margin: 5px 3px; background: #6969fa7a; 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}}}}}}]]</div></includeonly><noinclude>
 
Here are the different values you can set for any of the Gadgets:
 
Here are the different values you can set for any of the Gadgets:
 +
 
== Parameters ==
 
== Parameters ==
 
+
# Gadget name
# Character name
+
# Image name (defaults to <gadget name>.jpg>)
# Image name (defaults to <char 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)
# nolink = 1 (Optional: Show no link. Defaults to 0)
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:46, 27 March 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)