m (Protected "Template:Images" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(69 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"  
+
</noinclude><includeonly><div class="panel panel-primary" style="margin-top:2%;">
|+ style="background-color: #256BA8; width: 100%; font-size: 20px; "|
+
{{#if:{{{Image1|}}}|
'''Images'''
+
<div class="panel-heading" >
|-
+
<p class="panel-title" style="text-align:center; font-weight:bold;">Images</p>
 +
</div>
 +
}}
 +
<div class="row">
 +
  <div class="col-sm-6 col-md-4">
 +
    <div class="thumbnail" style="border:  none !important;">
 
{{#if:{{{Image1|}}}|
 
{{#if:{{{Image1|}}}|
 
{{!}}-
 
{{!}}-
{{!}} [[File:{{{Image1|}}}|300px]] }}
+
{{!}}<div style="margin-top:-16%;">[[File:{{{Image1|}}}]]</div> }}
|-
+
</div>
{{#if:{{{Caption1|}}}|
+
      <div class="caption"><span class="label label-info" style="text-align:center;">{{{Caption1|}}}</span></div>   
{{!}}-
+
  </div>
{{!}} [[Caption 1::{{{Caption1|}}}]] }}
+
  <div class="col-sm-6 col-md-4">
|-
+
    <div class="thumbnail" style="border:  none !important;">
 
{{#if:{{{Image2|}}}|
 
{{#if:{{{Image2|}}}|
 
{{!}}-
 
{{!}}-
{{!}} [[File:{{{Image2|}}}|300px]] }}
+
<span style="visibility:hidden">{{!}}</span><div style="margin-top:-16%;"> [[File:{{{Image2|}}}]] </div>}}
|-
+
</div>
{{#if:{{{Caption2|}}}|
+
      <div class="caption"><span class="label label-info" style="text-align:center;">{{{Caption2|}}}</span></div>   
{{!}}-
+
  </div>
{{!}} [[Caption 2::{{{Caption2|}}}]] }}
+
  <div class="col-sm-6 col-md-4">
|-
+
    <div class="thumbnail" style="border:  none !important;">
 
{{#if:{{{Image3|}}}|
 
{{#if:{{{Image3|}}}|
{{!}}-
+
{{!}}
{{!}} [[File:{{{Image3|}}}|300px ]] }}
+
{{!}}<div style="margin-top:-16%;"> [[File:{{{Image3|}}}]] </div>}}
|-
+
</div>
{{#if:{{{Caption3|}}}|
+
      <div class="caption"><span class="label label-info" style="text-align:center;">{{{Caption3|}}}</span></div>   
{{!}}-
+
  </div>
{{!}} [[Caption 3::{{{Caption3|}}}]] }}
+
</div>
|-
+
|}
+
 
</includeonly>
 
</includeonly>

Latest revision as of 06:28, 6 March 2015

This is the "Images" template. It should be called in the following format:

{{Images
|Image1=
|Caption1=
|Image2=
|Caption2=
|Image3=
|Caption3=
}}

Edit the page to see the template text.

© 2026 by sail-la-vie • Powered by Powered by MediaWiki Powered by SMW Powered by Bootstrap