Difference between revisions of "Template:Chaz"

From Fancyclopedia 3
Jump to navigation Jump to search
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 |{{#if:{{{upright|}}}|upright={{{upright}}}| | }} {{{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])]]
+
'siez' is the size in pixels. 50, 100, 200, etc. Default is no size parameter
 +
<nowiki>{{chaz|pic=|text=|align=|upright=|size=|file=}}</nowiki></noinclude>[[File:{{{file}}} |thumb |{{#if:{{{upright|}}}|upright={{{upright}}}| | }} {{#if:{{{size|}}}|size={{{size}}}px| | }} | {{{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])]]

Revision as of 14:58, 6 March 2021

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
'siez' is the size in pixels. 50, 100, 200, etc. Default is no size parameter {{chaz|pic=|text=|align=|upright=|size=|file=}}[[File:{{{file}}} |thumb | | right |{{{text}}} (Photo by Chaz Boston Baden, courtesy Hazel's Picture Gallery)]]