Difference between revisions of "Template:ImageGallery"

From Bearscape Wiki
Jump to: navigation, search
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="width: 155px">
+
<!--<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">
<p style="max-width: none; max-height: none; width: 100%; height: 150px; margin: 2.5px auto">
+
<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://bearscape.org/commissions/cbxcommission.png <img src="http://bearscape.org/commissions/cbxcommission.png" style="max-width: 100%; max-height: 100%">]</span>
+
</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
     | <nowiki />
+
     |<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">
<p style="max-width: none; max-height: none; height: 150px; margin: 2.5px">
+
<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>
<span class="plainlinks">[{{#var: value}} <img src="{{#var: value}}" style="max-width: 100%; max-height: 100%">]</span>
 
</p>
 
 
</div>
 
</div>
 
     |<div class="gallerytext">
 
     |<div class="gallerytext">

Revision as of 21:58, 4 June 2015