Difference between revisions of "Template:ImageGallery"
m (Blah, OK, so the outer div still needs a width for the comment, and some margin on the list item so it has some space between gallery items.) |
(I might've got this working, going to find out...) |
||
| Line 1: | Line 1: | ||
<ul class="gallery mw-gallery-traditional"> | <ul class="gallery mw-gallery-traditional"> | ||
| − | <!--<li class="gallerybox" style=" | + | <!--<li class="gallerybox" style="margin-right: 5px"> |
<div style="width: 155px"> | <div style="width: 155px"> | ||
| − | <div class="thumb" style="height: 155px"> | + | <div class="thumb" style="width: 155px; height: 155px"> |
| − | < | + | <span class="plainlinks" style="display: block; width: 150px; height: 150px">[http://bearscape.org/commissions/cbxcommission.png <img src="http://bearscape.org/commissions/cbxcommission.png" style="max-width: 100%; max-height: 100%; margin: 77.5px; transform: translate(-50%, -50%)">]</span> |
| − | <span class="plainlinks">[http:// | + | </div> |
| + | <div class="gallerytext"> | ||
| + | TESTING BECAUSE FUCKING MEDIAWIKI BULLSHIT | ||
| + | </div> | ||
| + | </div> | ||
| + | </li> | ||
| + | <li class="gallerybox" style="margin-right: 5px"> | ||
| + | <div style="width: 155px"> | ||
| + | <div class="thumb" style="width: 155px; height: 155px"> | ||
| + | <p style="width: 150px; height: 150px"> | ||
| + | <span class="plainlinks" style="display: block; width: 150px; height: 150px">[http://lucca.cyberbotx.com/wallpaperbk/Awaiting_V__2_0___A_LESSON__D8_by_Saaally-d8d6met.png <img src="http://lucca.cyberbotx.com/wallpaperbk/Awaiting_V__2_0___A_LESSON__D8_by_Saaally-d8d6met.png" style="max-width: 100%; max-height: 100%; margin: 77.5px; transform: translate(-50%, -50%)">]</span> | ||
</p> | </p> | ||
</div> | </div> | ||
| Line 17: | Line 27: | ||
|{{ | |{{ | ||
#ifexpr: {{#var: number}} mod 2 | #ifexpr: {{#var: number}} mod 2 | ||
| − | | | + | |<li class="gallerybox" style="margin-right: 5px"> |
| − | <li class="gallerybox" style="margin-right: 5px"> | ||
<div style="width: 155px"> | <div style="width: 155px"> | ||
<div class="thumb" style="width: 155px; height: 155px"> | <div class="thumb" style="width: 155px; height: 155px"> | ||
| − | < | + | <span class="plainlinks" style="display: block; width: 150px; height: 150px">[{{#var: value}} <img src="{{#var: value}}" style="max-width: 100%; max-height: 100%; margin: 77.5px; transform: translate(-50%, -50%)">]</span> |
| − | |||
| − | |||
</div> | </div> | ||
|<div class="gallerytext"> | |<div class="gallerytext"> | ||