Template:Home/Polaroids: Difference between revisions

Template page
(Created page with "<templatestyles src="Polaroids/styles.css" /> </div> <div id="polaroid-gallery" align="center"> <DPL> namespace = File category = Polaroids randomcount = 5 randomseed ={{#time:Ymd}} format = ,\n* 300x300px|thumb|none|{{File:%TITLE%/caption}},, </DPL> </div> <html> <head> <script> var ul = document.querySelector('#polaroid-gallery ul'); for (var i = ul.children.length; i >= 0; i--) { ul.appendChild(ul.children[Math....")
 
No edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<templatestyles src="Polaroids/styles.css" />
<templatestyles src="Home/Polaroids/styles.css" />
</div>
<div id="polaroid-gallery" style="background-image: radial-gradient(#001321d9, black 200%);box-shadow: 0px 0px 14px rgb(192 14 170 / 75%), inset 0 0 14px rgb(246 21 115);">
<div id="polaroid-gallery" align="center">
<h2>[[Lost Boy's Polaroids]]</h2>
<DPL>
<DPL>
   namespace      = File
   namespace      = File
   category      = Polaroids
   category      = Polaroids
   randomcount    = 5
   randomcount    = 12
   randomseed    ={{#time:Ymd}}
   randomseed    ={{#time:Ymd}}
   format        = ,\n* [[File:%TITLE%|300x300px|thumb|none|{{File:%TITLE%/caption}}]],,
   format        = ,\n* [[File:%TITLE%|250x250px|thumb|none]],,
</DPL>
</DPL>
<p style="text-align: center;"><em>Click the heading above to see more fan photos!</em></p>
</div>
</div>
<html>
<html>
<head>
<head>
<div id="rotate-script">
<script>
<script>
var ul = document.querySelector('#polaroid-gallery ul');
var ul = document.querySelector('#polaroid-gallery ul');
Line 18: Line 20:
}
}
</script>
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
<script>
$("div.thumb.tnone").each( function() {
$("div.thumb.tnone").each( function() {
Line 31: Line 32:
} );
} );
</script>
</script>
</div>
</head>
</head>
</html>
</html>

Latest revision as of 02:41, 4 September 2023