Jump to content

Template:InfoBox Evidence: Difference between revisions

From Detective Conan Wiki
Black Demon (talk | contribs)
Technically working but there's an annoying gap issue with the images
Black Demon (talk | contribs)
m Forgot about image size
 
(12 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|}}}
|}<noinclude>
|-
{{#if: {{{image|}}} |
{{!}} style="border-top: 1px dotted #000000; text-align:center; vertical-align:middle" align="center" {{!}}
{{{image|}}} }}
|}<noinclude>List of parameters:
<pre>
{{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")}}
</pre>
 
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.
[[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.