Difference between revisions of "Template:NewGadget"
From Detective Conan Wiki
(Created page with '<div style="float:left;"> {| class="infobox headerlink" style="width: 210px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellp...') |
(Added support for direct links) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="float:left;"> | <div style="float:left;"> | ||
− | {| class="infobox headerlink" style="width: 210px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellpadding="2" | + | {| class="infobox gadget headerlink" style="width: 210px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellpadding="2" |
|- | |- | ||
− | ! colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; font-size: small; background-color: #FF9900;/*78b3f0;*/" |'''{{{name|{{{1}}}}}}''' {{#if:{{{english-name|}}}|''' / '''{{{english-name}}}}} | + | ! colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; font-size: small; background-color: #FF9900;/*78b3f0;*/ padding-bottom: 3px;" |'''{{{name|{{{1}}}}}}''' {{#if:{{{english-name|}}}|''' / '''{{{english-name}}}}} |
|- | |- | ||
| 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
{{{1}}} | |
---|---|
{{{3}}} |
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) }}