Difference between revisions of "Template:InfoBox Evidence"

From Detective Conan Wiki
m
m (Forgot about image size)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| class="infobox" style="width: 900px; text-align: left; font-size: 1em; float: none; margin-left: 0; margin-right: 1em; clear: left;" cellpadding="2"
 
{| class="infobox" style="width: 900px; text-align: left; font-size: 1em; float: none; margin-left: 0; margin-right: 1em; clear: left;" cellpadding="2"
 
|-
 
|-
| style="color: #ffffff; text-align:center; vertical-align:middle; /*height:28px;*/ font-size: small; background-color: #006666;" |  '''{{#if:{{{clue|}}}|{{{clue}}}|Evidences}}'''
+
| style="color: #ffffff; text-align:center; vertical-align:middle; /*height:28px;*/ font-size: small; background-color: #D40082;" |  '''{{#if:{{{clue|}}}|{{{clue}}}|Evidences}}'''
 
|-
 
|-
 
| style="padding:4px 1px;" |  
 
| style="padding:4px 1px;" |  
 
{{{1|}}}
 
{{{1|}}}
{{!}}-
+
|-
{{#if: {{{img1|}}} | {{!}} style="border-top: 1px dotted #000000; text-align:center;" align="center" {{!}}
+
{{#if: {{{image|}}} |  
{{{!}} style="background-color:transparent; vertical-align: top" align="center" cellpadding="0" cellspacing="0"
+
{{!}} style="border-top: 1px dotted #000000; text-align:center; vertical-align:middle" align="center" {{!}}
{{!}} [[File:{{{img1|}}}|{{{size1|220}}}px]]<br />{{{text1|}}}  
+
{{{image|}}} }}
{{#if: {{{img2|}}} |
+
|}<noinclude>List of parameters:
{{!}} [[File:{{{img2|}}}|{{{size2|220}}}px]]<br />{{{text2|}}} }}
+
<pre>
{{#if: {{{img3|}}} |
+
{{InfoBox Evidence|
{{!}} [[File:{{{img3|}}}|{{{size3|220}}}px]]<br />{{{text3|}}} }}
+
<insert clues/evidences here>
{{#if: {{{img4|}}} |
+
|image= (Optional)                                           
{{!}} [[File:{{{img4|}}}|{{{size4|220}}}px]]<br />{{{text4|}}} }}
+
{{Evidence
{{!}}} }}
+
|<Image1>|text1=<description of Image1>|size1=<size of Image1> (Optional, defaults to "220")
{{#if: {{{img5|}}} | {{{!}} style="background-color:transparent; vertical-align: center" align="center" cellpadding="0" cellspacing="0"
+
|<Image2>|text2=<description of Image2>|size2=<size of Image2> (Optional, defaults to "220")
{{!}} [[File:{{{img5|}}}|{{{size5|220}}}px]]<br />{{{text5|}}}
+
|<Image3>|text3=<description of Image3>|size3=<size of Image3> (Optional, defaults to "220")
{{#if: {{{img6|}}} |
+
|<Image4>|text4=<description of Image4>|size4=<size of Image4> (Optional, defaults to "220")}}
{{!}} [[File:{{{img6|}}}|{{{size6|220}}}px]]<br />{{{text6|}}} }}
+
..........
{{#if: {{{img7|}}} |
+
|clue= (Optional, defaults to "Evidences")}}
{{!}} [[File:{{{img7|}}}|{{{size7|220}}}px]]<br />{{{text7|}}} }}
+
</pre>
{{#if: {{{img8|}}} |
+
 
{{!}} [[File:{{{img8|}}}|{{{size8|220}}}px]]<br />{{{text8|}}} }}
+
Note: Each row can only contain four images. To use more than one row of images, keep repeating the <nowiki>{{Evidence}}</nowiki> template all over again.
{{!}}} }}
 
{{#if: {{{img9|}}} | {{{!}} style="background-color:transparent; vertical-align: center" align="center" cellpadding="0" cellspacing="0"
 
{{!}} [[File:{{{img9|}}}|{{{size9|220}}}px]]<br />{{{text9|}}}
 
{{#if: {{{img10|}}} |
 
{{!}} [[File:{{{img10|}}}|{{{size10|220}}}px]]<br />{{{text10|}}} }}
 
{{#if: {{{img11|}}} |
 
{{!}} [[File:{{{img11|}}}|{{{size11|220}}}px]]<br />{{{text11|}}} }}
 
{{#if: {{{img12|}}} |
 
{{!}} [[File:{{{img12|}}}|{{{size12|220}}}px]]<br />{{{text12|}}} }}
 
{{!}}} }}
 
{{#if: {{{img13|}}} | {{{!}} style="background-color:transparent; vertical-align: center" align="center" cellpadding="0" cellspacing="0"
 
{{!}} [[File:{{{img13|}}}|{{{size13|220}}}px]]<br />{{{text13|}}}
 
{{#if: {{{img14|}}} |
 
{{!}} [[File:{{{img14|}}}|{{{size14|220}}}px]]<br />{{{text14|}}} }}
 
{{#if: {{{img15|}}} |
 
{{!}} [[File:{{{img15|}}}|{{{size15|220}}}px]]<br />{{{text15|}}} }}
 
{{#if: {{{img16|}}} |
 
{{!}} [[File:{{{img16|}}}|{{{size16|220}}}px]]<br />{{{text16|}}} }}
 
{{!}}} }}
 
{{#if: {{{img17|}}} | {{{!}} style="background-color:transparent; vertical-align: center" align="center" cellpadding="0" cellspacing="0"
 
{{!}} [[File:{{{img17|}}}|{{{size17|220}}}px]]<br />{{{text17|}}}
 
{{#if: {{{img18|}}} |
 
{{!}} [[File:{{{img18|}}}|{{{size18|220}}}px]]<br />{{{text18|}}} }}
 
{{#if: {{{img19|}}} |
 
{{!}} [[File:{{{img19|}}}|{{{size19|220}}}px]]<br />{{{text19|}}} }}
 
{{#if: {{{img20|}}} |
 
{{!}} [[File:{{{img20|}}}|{{{size20|220}}}px]]<br />{{{text20|}}} }}
 
{{!}}} }}
 
|}<noinclude>
 
 
[[Category:InfoBox templates]][[Category:Templates]]
 
[[Category:InfoBox templates]][[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 05:37, 19 May 2014

Evidences

List of parameters:

{{InfoBox Evidence|
<insert clues/evidences here>
|image= (Optional)                                            
{{Evidence
|<Image1>|text1=<description of Image1>|size1=<size of Image1> (Optional, defaults to "220")
|<Image2>|text2=<description of Image2>|size2=<size of Image2> (Optional, defaults to "220")
|<Image3>|text3=<description of Image3>|size3=<size of Image3> (Optional, defaults to "220")
|<Image4>|text4=<description of Image4>|size4=<size of Image4> (Optional, defaults to "220")}}
..........
|clue= (Optional, defaults to "Evidences")}}

Note: Each row can only contain four images. To use more than one row of images, keep repeating the {{Evidence}} template all over again.