Difference between revisions of "Template:Minor gadget"

From Detective Conan Wiki
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="width: 95%; border-collapse:collapse;"  
+
{| style="width: 100%; border-collapse:collapse; border: 2.5px solid lightgray;"  
 
|-
 
|-
| style="border-collapse:collapse; border: 1px solid lightgray; width: 225px;"|
+
| style="border-collapse:collapse; border: 2.5px solid lightgray; border-right: 1.5px solid lightgray; border-bottom: none; width: 235px; text-align: center;"|
 
[[Image:{{{image}}}|225x125px]]  
 
[[Image:{{{image}}}|225x125px]]  
| style="border-collapse:collapse; border: 1px solid lightgray;"|
+
| style="border-collapse:collapse; border: 2.5px solid lightgray; border-left: 1.5px solid lightgray; border-bottom: none; vertical-align:middle; padding-left: 1em;"|
 
{{{text}}}  
 
{{{text}}}  
|}
+
|-
 
+
{{#if: {{{collapsed|}}} |
 +
{{!}} colspan="2" style="border-collapse:collapse; padding: 0px 5px 8px 5px;" {{!}}
 +
{{Collapse_top|title={{{header|Expand for more content}}}|bg=#E6E6FA | bg2=#F8F8FF}}
 +
{{{collapsed}}}
 +
{{Collapse_bottom}}
 +
{{!}}- }}
 +
|}<!--
  
 +
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #6DAF8F;"
  
 +
{| style="width: 100%; border-collapse:collapse; border: 2.5px solid lightgray;"
 +
|-
 +
| style="border-collapse:collapse; border: 2.5px solid lightgray; border-right: 1.5px solid lightgray; border-bottom: none; width: 235px; text-align: center;"|
 +
[[Image:{{{image}}}|225x125px]]
 +
| style="border-collapse:collapse; border: 2.5px solid lightgray; border-left: 1.5px solid lightgray; border-bottom: none; vertical-align:middle; padding-left: 1em;"|
 +
{{{text}}}
 +
|-
 +
| colspan="2" style="border-collapse:collapse; padding: 0px 5px 8px 5px;"|
 +
{{Collapse_top|title={{{header}}}|bg=#E6E6FA}}
 +
{{Collapse_bottom}}
 +
|}| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #6DAF8F;"
  
<!--| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #6DAF8F;"-->
 
<!--
 
 
{| style="width: 95%; border-collapse:collapse;"  
 
{| style="width: 95%; border-collapse:collapse;"  
 
|-
 
|-
Line 46: Line 62:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
{{Minor gadget
 +
| image              = example.jpg
 +
| text                = Lorem Ipsum
 +
| header              = Example with a gallery
 +
| collapsed          = <gallery>example.jpg
 +
example.jpg
 +
example.jpg</gallery>
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:12, 9 March 2014

[[Image:{{{image}}}|225x125px]]

{{{text}}}

{{Minor gadget
| image               = 
| text                = 
| header              = (Optional)
| collapsed           = (Optional: will not show collapsible box if omitted)
}}

Example.jpg

Lorem Ipsum