Difference between revisions of "Template:InfoBox Evidence"

From Detective Conan Wiki
(I wonder if this fixed it)
m (Forgot about image size)
 
(11 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;" |  
{{{clue-list|}}}
+
{{{1|}}}
{{!}}-
+
|-
{{#if: {{{img1|}}} |  
+
{{#if: {{{image|}}} |  
{{!}} style="border-top: 1px dotted #000000; text-align:center;" align="center" {{!}}
+
{{!}} style="border-top: 1px dotted #000000; text-align:center; vertical-align:middle" align="center" {{!}}
{{{!}} style="background-color:transparent; vertical-align: center" align="center" cellpadding="12px; 0px; 0px" cellspacing="0"
+
{{{image|}}} }}
{{!}} [[File:{{{img1|}}}|{{{size1|220}}}px]]<br />{{{text1|}}}
+
|}<noinclude>List of parameters:
{{#if: {{{img2|}}} |
+
<pre>
{{!}} [[File:{{{img2|}}}|{{{size2|220}}}px]]<br />{{{text2|}}} }}
+
{{InfoBox Evidence|
{{#if: {{{img3|}}} |
+
<insert clues/evidences here>
{{!}} [[File:{{{img3|}}}|{{{size3|220}}}px]]<br />{{{text3|}}} }}
+
|image= (Optional)                                           
{{#if: {{{img4|}}} |
+
{{Evidence
{{!}} [[File:{{{img4|}}}|{{{size4|220}}}px]]<br />{{{text4|}}} }}
+
|<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")
{{#if: {{{img5|}}} | {{{!}} style="background-color:transparent; vertical-align: center" align="center" cellpadding="12px; 0px; 0px" cellspacing="0"
+
|<Image3>|text3=<description of Image3>|size3=<size of Image3> (Optional, defaults to "220")
{{!}} [[File:{{{img5|}}}|{{{size5|220}}}px]]<br />{{{text5|}}}
+
|<Image4>|text4=<description of Image4>|size4=<size of Image4> (Optional, defaults to "220")}}
{{#if: {{{img6|}}} |
+
..........
{{!}} [[File:{{{img6|}}}|{{{size6|220}}}px]]<br />{{{text6|}}} }}
+
|clue= (Optional, defaults to "Evidences")}}
{{#if: {{{img7|}}} |
+
</pre>
{{!}} [[File:{{{img7|}}}|{{{size7|220}}}px]]<br />{{{text7|}}} }}
+
 
{{#if: {{{img8|}}} |
+
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.
{{!}} [[File:{{{img8|}}}|{{{size8|220}}}px]]<br />{{{text8|}}} }}
 
{{!}}} }}
 
{{#if: {{{img9|}}} | {{{!}} style="background-color:transparent; vertical-align: center" align="center" cellpadding="12px; 0px; 0px" 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="12px; 0px; 0px" 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="12px; 0px; 0px" 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.