Sail-la-vie (Talk | contribs) |
Sail-la-vie (Talk | contribs) 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=" | + | </noinclude><includeonly><div class="panel panel-primary" style="margin-top:2%;"> |
| − | + | {{#if:{{{Image1|}}}| | |
| − | + | <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|}}} | + | {{!}}<div style="margin-top:-16%;">[[File:{{{Image1|}}}]]</div> }} |
| − | + | </div> | |
| − | + | <div class="caption"><span class="label label-info" style="text-align:center;">{{{Caption1|}}}</span></div> | |
| − | + | </div> | |
| − | + | <div class="col-sm-6 col-md-4"> | |
| − | + | <div class="thumbnail" style="border: none !important;"> | |
{{#if:{{{Image2|}}}| | {{#if:{{{Image2|}}}| | ||
{{!}}- | {{!}}- | ||
| − | {{!}} [[File:{{{Image2|}}} | + | <span style="visibility:hidden">{{!}}</span><div style="margin-top:-16%;"> [[File:{{{Image2|}}}]] </div>}} |
| − | + | </div> | |
| − | + | <div class="caption"><span class="label label-info" style="text-align:center;">{{{Caption2|}}}</span></div> | |
| − | + | </div> | |
| − | + | <div class="col-sm-6 col-md-4"> | |
| − | + | <div class="thumbnail" style="border: none !important;"> | |
{{#if:{{{Image3|}}}| | {{#if:{{{Image3|}}}| | ||
| − | {{!}} | + | {{!}} |
| − | {{!}} [[File:{{{Image3|}}} | + | {{!}}<div style="margin-top:-16%;"> [[File:{{{Image3|}}}]] </div>}} |
| − | + | </div> | |
| − | + | <div class="caption"><span class="label label-info" style="text-align:center;">{{{Caption3|}}}</span></div> | |
| − | + | </div> | |
| − | + | </div> | |
| − | + | ||
| − | + | ||
</includeonly> | </includeonly> | ||
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.