Difference between revisions of "Template:Gallery/aux"
Jump to navigation
Jump to search
Template documentation[create]
imported>Wikid77 (forced caption width if {cellwidth| 0} < 30 then {height|180}+20 else {cellwidth}, plus +7 pixels; linked {documentation} to have doc-text page.) |
imported>Wikid77 (cut test phrase) |
||
| Line 1: | Line 1: | ||
<table style="width:{{#expr:{{{cellwidth|{{{width|180}}}}}}+20}}px; float:left; border-collapse:collapse; margin:3px;"><tr><td style="height:{{#expr:{{{height|180}}}+20}}px; border:1px solid #CCCCCC; background-color:#F8F8F8; padding:0px; text-align:center">[[{{{1|File:Flag of None.svg}}}|center|border|{{{width|180}}}x{{{height|180}}}px|alt={{{alt}}}|{{{2}}}]]</td></tr><tr style="vertical-align:top;"><td style="display:block; font-size:1em; height:{{#expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;"><div class="gallerytext" style="height:{{#expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#expr: {{ | <table style="width:{{#expr:{{{cellwidth|{{{width|180}}}}}}+20}}px; float:left; border-collapse:collapse; margin:3px;"><tr><td style="height:{{#expr:{{{height|180}}}+20}}px; border:1px solid #CCCCCC; background-color:#F8F8F8; padding:0px; text-align:center">[[{{{1|File:Flag of None.svg}}}|center|border|{{{width|180}}}x{{{height|180}}}px|alt={{{alt}}}|{{{2}}}]]</td></tr><tr style="vertical-align:top;"><td style="display:block; font-size:1em; height:{{#expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;"><div class="gallerytext" style="height:{{#expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#expr: {{ | ||
#ifexpr: {{{cellwidth|0}}} < 30 | {{{height|180}}}+20 |{{{cellwidth}}} | #ifexpr: {{{cellwidth|0}}} < 30 | {{{height|180}}}+20 |{{{cellwidth}}} | ||
| − | }}+7}}px; line-height:1.3em; padding:2px 6px 1px 6px; overflow-y:auto; margin:0px; border:none; border-width:0px;">{{{2}}} | + | }}+7}}px; line-height:1.3em; padding:2px 6px 1px 6px; overflow-y:auto; margin:0px; border:none; border-width:0px;">{{{2}}} </div></td></tr></table><noinclude> |
{{clear}}{{documentation}} | {{clear}}{{documentation}} | ||
[[af:Sjabloon:Gallery/aux]] | [[af:Sjabloon:Gallery/aux]] | ||
Revision as of 12:25, 18 November 2012
{{{2}}} |
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
af:Sjabloon:Gallery/aux ar:قالب:Gallery/aux as:সাঁচ:Gallery/aux bn:টেমপ্লেট:Gallery/aux bg:Шаблон:Gallery/aux bs:Šablon:Galerija/aux cs:Šablona:Galerie/aux da:Skabelon:Gallery/aux es:Plantilla:Galería de imágenes/aux fa:الگو:Gallery/aux gl:Modelo:Galería/aux ko:틀:갤러리/aux hi:साँचा:Gallery/aux id:Templat:Gallery/aux jv:Cithakan:Gallery/aux ky:Калып:Gallery/aux la:Formula:Gallery/aux mk:Шаблон:Галерија/aux mr:साचा:Gallery/aux arz:قالب:Gallery/aux no:Mal:Bildegalleri/aux or:ଛାଞ୍ଚ:Gallery/aux ro:Format:Gallery/aux si:සැකිල්ල:Gallery/aux simple:Template:Gallery/aux sr:Шаблон:Galerija sh:Šablon:Gallery/aux su:Citakan:Gallery/aux uk:Шаблон:Gallery/aux ur:سانچہ:Gallery/aux vi:Bản mẫu:Gallery/aux