User Login    
 + Register
  • Main navigation
Login
Username:

Password:


Lost Password?

Register now!
Fast Search
Slow Search
Google Ad


[Datsun 1200 encyclopedia]

Template:Album

(Difference between revisions)

Datsun 1200 encyclopedia | Recent changes | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy | Current revision

Revision as of 20:12, 11 January 2024
ddgonzal (Talk | contribs)

<- Previous diff
Revision as of 08:37, 12 January 2024
ddgonzal (Talk | contribs)
(derive from Alb)
Next diff ->
Line 1: Line 1:
-<noinclude> Usage: <nowiki>{{Album|album#|(optional)extension}}</nowiki> clickable link+<noinclude> Usage:
- OR ... <nowiki>{{Album|album#|extension|width}}</nowiki> (arbitrary fixed width)+ <nowiki>{{Alb|1album#|2(optional)extension[jpg]|(optional)rotate=0deg}}</nowiki>
- class size <nowiki>{{Album|album#|(optional)extension|width=}}</nowiki>+ OR ...
 + <nowiki>{{Alb|1album#|2(required)extension|3(optional)width[400]}}</nowiki> (arbitrary fixed width)
 + <nowiki>{{AlB|1album#|width=class width}}</nowiki>
 +* click for photo
 +* overlay visible in derived templates (default: Link to Album)
 +* derived from [[Template:Alb]]
- Examples:+Examples:
* <nowiki>{{Album|12}}</nowiki> * <nowiki>{{Album|12}}</nowiki>
* <nowiki>{{Album|12|jpg|SM}}</nowiki> * <nowiki>{{Album|12|jpg|SM}}</nowiki>
Line 9: Line 14:
* <nowiki>{{Album|6335|gif|THUMB}}</nowiki> * <nowiki>{{Album|6335|gif|THUMB}}</nowiki>
- inline style (span)+* default width=400 from wiki CSS img { max-width:400px; }
- default width= MED+* class {{widths}}
- class {{widths}}+* default extension=jpg
- default extension=jpg+
* Use to specify extension for JPEG, PNG, GIF * Use to specify extension for JPEG, PNG, GIF
* also because non-JPEG thumbs are not normally shown THUMB size * also because non-JPEG thumbs are not normally shown THUMB size
-</noinclude><span id="{{{1|12}}}" class="image{{{width|}}}px" style="width:{{{3|}}}px; rotate:{{{rotate|0}}}deg; ">[http://datsun1200.com/uploads/photos/{{{1|12}}}.{{{2|jpg}}} http://datsun1200.com/uploads/photos/{{{1|12}}}.{{{2|jpg}}}]<span class="album_overlay">{{{text|[http://datsun1200.com/modules/myalbum/photo.php?lid={{{1|12}}} Album {{{1|12}}}]}}}</span></span><noinclude> {{Album|10|jpg|105}} {{Album|11|jpg|width=TH}}+</noinclude><span id="{{{1|12}}}" class="image{{{width|}}}px" style="width:{{{3|}}}px; rotate:{{{rotate|0}}}deg; ">{{Alb|{{{1|29500}}}|{{{2|jpg}}}|{{{3|}}}|text={{{text|[http://datsun1200.com/modules/myalbum/photo.php?lid={{{1|12}}} Album {{{1|12}}}]}}}}}</span><noinclude> {{Album|10|jpg|105}} {{Album|11|jpg|text=TH|width=TH}} {{Album|11|rotate=30}}
-{{Album|13|jpg|}}</noinclude>+{{Album|13|jpg|}} {{Album|6335|gif|text=gif}} {{Album|11|jpg|99|text=width99}}</noinclude>

Revision as of 08:37, 12 January 2024

Usage:
{{Alb|1album#|2(optional)extension[jpg]|(optional)rotate=0deg}}
OR ...
{{Alb|1album#|2(required)extension|3(optional)width[400]}} (arbitrary fixed width)
{{AlB|1album#|width=class width}}
  • click for photo
  • overlay visible in derived templates (default: Link to Album)
  • derived from Template:Alb

Examples:

* {{Album|12}}
* {{Album|12|jpg|SM}}
* {{Album|6335|gif}}
* {{Album|6335|gif|THUMB}}
  • default width=400 from wiki CSS img { max-width:400px; }
  • class widths available: 100,THUMB(140),TH(160),SM(256),MED(400),LG(560),XL(640),MAX. blank for no-resize (imagepx class). INDEX for inheritance
  • default extension=jpg
  • Use to specify extension for JPEG, PNG, GIF
  • also because non-JPEG thumbs are not normally shown THUMB size

29500.jpgAlbum 12 10.jpgAlbum 10 11.jpgTH 11.jpgAlbum 11

13.jpgAlbum 13 6335.gifgif 11.jpgwidth99