Template:Gallery: Difference between revisions
From Tolkien Gateway
m (Creation) |
m (Removed gap) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<table style="{{{style|background:transparent; border:1px solid #f0f0f0; margin-top:0.5em;}}}"> | <includeonly><table style="{{{style|background:transparent; border:1px solid #f0f0f0; margin-top:0.5em;}}}"> | ||
{{#if:{{{title|}}} | {{#if:{{{title|}}} | ||
|<tr><td colspan="10" style="text-align:center; font-weight:bold;">{{{title}}}</td></tr> | |<tr><td colspan="10" style="text-align:center; font-weight:bold;">{{{title}}}</td></tr> | ||
}}<tr><td><!-- | }}<tr><td><!-- | ||
-->{{Gallery/aux|{{{1| | -->{{Gallery/aux|{{{1|}}}|{{{2|}}}|width={{{width|180}}}|height={{{height|180}}}|lines={{{lines|2}}}|alt={{{alt1|}}}}}<!-- | ||
-->{{#if:{{{3|}}}|{{Gallery/aux|{{{3|}}}|{{{4|}}}|width={{{width|180}}}|height={{{height|180}}}|lines={{{lines|2}}}|alt={{{alt2|}}}}}}}<!-- | -->{{#if:{{{3|}}}|{{Gallery/aux|{{{3|}}}|{{{4|}}}|width={{{width|180}}}|height={{{height|180}}}|lines={{{lines|2}}}|alt={{{alt2|}}}}}}}<!-- | ||
-->{{#if:{{{5|}}}|{{Gallery/aux|{{{5|}}}|{{{6|}}}|width={{{width|180}}}|height={{{height|180}}}|lines={{{lines|2}}}|alt={{{alt3|}}}}}}}<!-- | -->{{#if:{{{5|}}}|{{Gallery/aux|{{{5|}}}|{{{6|}}}|width={{{width|180}}}|height={{{height|180}}}|lines={{{lines|2}}}|alt={{{alt3|}}}}}}}<!-- | ||
Line 107: | Line 107: | ||
}}{{#if:{{{footer|}}} | }}{{#if:{{{footer|}}} | ||
|<tr><td colspan="10" style="text-align:right; font-size:80%; line-height:1em;">{{{footer}}}</td></tr> | |<tr><td colspan="10" style="text-align:right; font-size:80%; line-height:1em;">{{{footer}}}</td></tr> | ||
}}</table> | }}</table></includeonly><noinclude> | ||
==Usage== | |||
<pre> | |||
{{Gallery | |||
|title= | |||
|width= | |||
|height= | |||
|lines= | |||
|File:Joe Bloggs - Gandalf.jpg|''Gandalf'' by [[Joe Bloggs]] | |||
}}</pre> | |||
[[Category:Utility templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 17:12, 20 October 2015
Usage[edit source]
{{Gallery |title= |width= |height= |lines= |File:Joe Bloggs - Gandalf.jpg|''Gandalf'' by [[Joe Bloggs]] }}