Difference between revisions of "Template:Chaz"

From Fancyclopedia 3
Jump to navigation Jump to search
m (Text replacement - "http:" to "https:")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This formalizes links to Chaz Boston-Baden's photos
+
This formalizes links to Chaz Boston-Baden's photos.
  
 
'''Usage:'''<br>
 
'''Usage:'''<br>
Line 10: Line 10:
 
'align' the alignment of the image. Options are left, right, center, none. Default is right.<br>
 
'align' the alignment of the image. Options are left, right, center, none. Default is right.<br>
 
'upright' the scaling of the image.  1.0, 2.0, 1.5, etc.  Default is no scaling<br>
 
'upright' the scaling of the image.  1.0, 2.0, 1.5, etc.  Default is no scaling<br>
<nowiki>{{chaz|pic=|text=|align=|upright=|file=}}</nowiki></noinclude>[[File:{{{file}}}|thumb|{{{align|right}}}|{{{text}}}  (Photo by [[Chaz Boston Baden]], courtesy [http://www.boston-baden.com/hazel/Pix{{#if:{{{pic|}}} | /p.cgi?{{{pic}}} | }} Hazel's Picture Gallery])]]
+
'width' is the width in pixels. 50, 100, 200, etc. Default is no width parameter
 +
<nowiki>{{chaz|pic=|text=|align=|upright=|width=|file=}}</nowiki></noinclude>[[File:{{{file}}} |thumb |{{#if:{{{upright|}}}|upright={{{upright}}}| | }} {{#if:{{{width|}}}|{{{width}}}px| | }} | {{{align|right}}} |{{{text|}}}  ''Photo by [[Chaz Boston Baden]], courtesy [https://www.boston-baden.com/hazel/Pix{{#if:{{{pic|}}} | /p.cgi?{{{pic}}} | }} Hazel's Picture Gallery.]'']]

Latest revision as of 15:22, 28 November 2022

This formalizes links to Chaz Boston-Baden's photos.

Usage:
required:
'file' the name of the image as saved on the wiki
optional:
'text' is free-form text to be used as the caption
'pic' is the number in C B-B's photo gallery. e.g., 1342-03
'align' the alignment of the image. Options are left, right, center, none. Default is right.
'upright' the scaling of the image. 1.0, 2.0, 1.5, etc. Default is no scaling
'width' is the width in pixels. 50, 100, 200, etc. Default is no width parameter {{chaz|pic=|text=|align=|upright=|width=|file=}}[[File:{{{file}}} |thumb | | right | Photo by Chaz Boston Baden, courtesy Hazel's Picture Gallery.]]