Template:Volunteers: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
This template is more object-oriented, it calls the template Person for the name and image fields which are common for all people.
(Adding template to scale images and for using just the name of the image to embed it, into the templates, Associates,Interns,BoardMembers and Volunteers)
(This template is more object-oriented, it calls the template Person for the name and image fields which are common for all people.)
Line 1: Line 1:
<!-- Alternative Solution -->
<!-- This template is more object-oriented, it calls the template Person for the name and image fields which are common for all people-->
{|  border="1" width="250" style="float:right;background-color:#C6DEFF;line-height:90%;word-spacing:0.5px;"
{|  border="1" width="250" style="float:right;background-color:#C6DEFF;line-height:90%;word-spacing:0.5px;"
|
|
{{Person
|color=#B5EAAA
}}
{| border="0" cellspacing="5" style="background-color:#B5EAAA;padding:0px"
{| border="0" cellspacing="5" style="background-color:#B5EAAA;padding:0px"
! align="center" colspan="2" valign="top"|{{{name}}}
|-
| align="center" colspan="2" border="0" | {{ScaleImage
|imagename={{{image}}}
|caption=
|newwidth=200px              <!-- new width=15,scales the image to 15%, new width=80px,scales the image to 80px-->
}}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| width="20%" |<b>''Years of service''</b>
| width="20%" |<b>''Years of service''</b>
Anonymous user

Navigation menu