User:Lewtwo/ArtGallery: Difference between revisions
(Created page with "<noinclude>{{mainspace|template}} Template for a gallery to best showcase various artwork. It scales properly with the window size, unlike the existing tables used across the...") |
mNo edit summary |
||
Line 8: | Line 8: | ||
<div style="flex: 1; font-size:80%"> | <div style="flex: 1; font-size:80%"> | ||
<div style="{{roundy|{{{roundypx|20}}}px}}; border:2px solid #{{{{{bordercolor|factory}}} color dark}}; background:#{{{{{bgcolor|factory}}} color light}}; flex-basis: 100px; min-width: 80px; height: | <div style="{{roundy|{{{roundypx|20}}}px}}; border:2px solid #{{{{{bordercolor|factory}}} color dark}}; background:#{{{{{bgcolor|factory}}} color light}}; flex-basis: 100px; min-width: 80px; height: 250px; overflow:hidden; display: flex; align-items: center; justify-content: center">[[File:{{{filename|Spr GS Silver 2.png}}}|x250px]]</div> | ||
<div>{{{caption|}}}</div> | <div>{{{caption|}}}</div> | ||
</div> | </div> |
Revision as of 06:17, 6 January 2024
This template is intended to be moved into one of Bulbapedia's main content spaces. Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this template. |
Template for a gallery to best showcase various artwork. It scales properly with the window size, unlike the existing tables used across the site. Some examples of the gallery in-action can be found here.
For a similar template made for game assets, sprites, models, etc. please see here. The main difference between the two is that the AssetGallery has images at 150px, which is smaller, and better suited for game assets that have a wider degree of size variety - from small sprites to large model showcases. Art is less-so, and also does not require headers on a per-generation basis, due to how little art there is for a given character throughout multiple generations, when compared to sprites.
Made by Lewtwo, with help from PikaTepig, and the template ver. created by Minibug.