Template:ColorGallery/Color: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="text-align:left; float:left; overflow:hidden; margin-left:1px; margin-right:1px;"><div>[[File:{{#var:filePrefix}}{{{1}}}.{{#var:imageFileTypes}} | {{{width|{{#var:imagewidths}}}}}x{{{height|{{#var:imageheights}}}}}px | {{{text|Color {{{1}}}}}}]]</div><div style="line-height:1; text-align:center; font-size:{{{textsize|{{#var:textsize}}}}}em; width:{{{textwidth|{{#var:textwidth}}}}}px; height:28px">{{{text|Color {{{number}}}}}}</div></span></includeonly><noinclude>__NOTOC__==Usage==
<includeonly><!--
  // Create a span that floats left
--><span style="float:left; border:1px #aaa solid; margin-right:-1px;"><!--
  -->{{#ifeq:{{#var:showtext}}|yes|<!--
      --><div class="color-gallery-header" style="width:{{#var:imagewidths}}px; height:{{#var:textHeights}}; display:flex; justify-content:center; align-items:center; flex-wrap:wrap;">{{#if:{{{text|}}} | {{{text}}} | Color {{{1}}} }}</div>}}<!--
  --><div {{#ifeq:{{#var:forceImageHeights}}|yes|style="height:{{#var:imageheights}}px;"}}><!--
      -->[[File:<!--
        -->{{#if: {{{filename|}}} |<!--
            // If specific filename is present, set that file as display
            -->{{{filename}}} |<!--
            // If no file name, use variables given to create filename
            -->{{#var:filePrefix}}{{{1}}}{{#var:fileSuffix}}.{{{fileTypeOverride|{{#var:imageFileTypes}}}}}<!--
        -->}}<!--
    --> | center | {{#var:imagewidths}}x{{#var:imageheights}}px | {{{text|Color {{{1}}}}}} ]]<!--
  --></div><!--
--></span></includeonly><noinclude>
See [[Template:ColorGallery]] for documentation.
[[Category:Universal]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:10, 8 May 2021

See Template:ColorGallery for documentation.