User Login    
 + Register
  • Main navigation
Login
Username:

Password:


Lost Password?

Register now!
Fast Search
Slow Search
Google Ad


[Datsun 1200 encyclopedia]

Template:AlbumCrop

(Difference between revisions)

Datsun 1200 encyclopedia | Recent changes | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy | Current revision

Revision as of 21:12, 6 February 2024
ddgonzal (Talk | contribs)

<- Previous diff
Revision as of 19:13, 8 February 2024
ddgonzal (Talk | contribs)

Next diff ->
Line 4: Line 4:
OR ... OR ...
<nowiki>{{Alb|1album#|2(required)extension|3(optional)width[400]}}</nowiki> (arbitrary fixed width) <nowiki>{{Alb|1album#|2(required)extension|3(optional)width[400]}}</nowiki> (arbitrary fixed width)
 + testing...
 +<nowiki><span class="crop" style="display:inline-block; object-fit:none; width:254px; height:253px; object-position:61% 38%;">http://datsun1200.com/uploads/photos/29674.jpg</span></nowiki>
* click for photo * click for photo
* overlay visible in derived templates (default: Link to Album) * overlay visible in derived templates (default: Link to Album)

Revision as of 19:13, 8 February 2024

Usage:
style=width:167px; height:282px; object-position:78.5% 53.5%;
{{Alb|1album#|2(optional)extension[jpg]|(optional)rotate=0deg}}
OR ...
{{Alb|1album#|2(required)extension|3(optional)width[400]}} (arbitrary fixed width)
testing...

<span class="crop" style="display:inline-block; object-fit:none; width:254px; height:253px; object-position:61% 38%;">http://datsun1200.com/uploads/photos/29674.jpg</span>

  • click for photo
  • overlay visible in derived templates (default: Link to Album)

Examples:

* {{Album|12}}
* {{Album|6335|gif}}
  • default width=400 from wiki CSS img { max-width:400px; }
  • default extension=jpg
  • Use to specify extension for JPEG, PNG, GIF

29678.jpg 10.jpgwidth105 11.jpgwidth140 11.jpgAlbum 11

13.jpgAlbum 13 6335.gifgif 11.jpgwidth99