Difference between revisions of "Template:NewGadget"

From Detective Conan Wiki
m
(Added support for direct links)
 
Line 5: Line 5:
 
|-  
 
|-  
 
| class="nospacing" width="100" style="text-align:left; vertical-align:top; padding: 2px 0px 0px 0px;" |  
 
| class="nospacing" width="100" style="text-align:left; vertical-align:top; padding: 2px 0px 0px 0px;" |  
{{#if: {{{image|}}} | <div style="border:1px solid #cccccc">[[Image:{{{image}}}|100px]]</div>|{{#if: {{{2|}}}| <div style="border:1px solid #cccccc">[[Image:{{{2}}}|100px]]</div>}}}}
+
{{#if: {{{image|}}} | <div style="border:1px solid #cccccc">[[Image:{{{image}}}|100px|link={{{link|File:{{{image}}}}}}]]</div>|{{#if: {{{2|}}}| <div style="border:1px solid #cccccc">[[Image:{{{2}}}|100px|link={{{link|File:{{{2}}}}}}]]</div>}}}}
 
|
 
|
 
{{{description|{{{3}}}}}}
 
{{{description|{{{3}}}}}}
Line 20: Line 20:
 
| english-name        =    (Optional)
 
| english-name        =    (Optional)
 
| image              =    (Optional)
 
| image              =    (Optional)
 +
| link                =    (Optional: link to point to when clicking on image)
 
| description        =    (Optional)
 
| description        =    (Optional)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
| footnotes          =    (Optional: will not show the row if omitted)

Latest revision as of 13:44, 20 July 2011

The following is a list of required or optional parameters for introducing a new gadget:

{{NewGadget|<name>|<image>|<description>
| name                =    (Optional)
| english-name        =    (Optional)
| image               =    (Optional)
| link                =    (Optional: link to point to when clicking on image)
| description         =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}