Template:Tile: Difference between revisions

Template page
No edit summary
Tag: Reverted
(make Tile look better/reactive)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><div style="position: relative; display: inline-block; margin:1px; overflow: hidden; width: 105px; height: 105px"><div>[[File:{{{1|Unknown_File.png}}}|{{{2|???}}}|link={{{3|???}}}|105x105px]]</div><div style="position: absolute; bottom: 0; justify-content: center; text-align: center; text-transform: uppercase; font-size: 12px; z-index: 4; width: 100%; color: white; background-color: rgba(0, 0, 0, 0.6)">[[{{{3|???}}}|{{{2|???}}}]]</div></div></onlyinclude>
<onlyinclude><templatestyles src="Tile/styles.css"/><div style="width: {{{4|105px}}}; height: {{{4|105px}}}" class="tile-container"><div class="tile-img">[[File:{{{1|Unknown_File.png}}}|{{{2|???}}}|link={{{3|???}}}|{{{4|105px}}}]]</div><div class="tile-caption">[[{{{3|???}}}|{{{2|???}}}]]</div></div></onlyinclude>


<noinclude>
<noinclude>


*Image resizes to 105x105px.
*Image resizes to 105x105px by default if size parameter is missing.
* size format: [number]px - default value is 105px
<pre>
<pre>
   {{Tile|image_name|caption|link}}
   {{Tile|image_name|caption|link|size}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 07:36, 1 August 2024


  • Image resizes to 105x105px by default if size parameter is missing.
  • size format: [number]px - default value is 105px
  {{Tile|image_name|caption|link|size}}