Template:Member info
From BayTeam
[edit] Usage
Usage:
For use on the Bay Team members and dogs page. Type this:
{{member info
| joined = ...
| cooldog = ...
| oldcooldog = ...
| website = ...
| blog = ...
| photo = ...
| caption = ...
| oldphoto = ...
| oldbtoyear = ...
| btoyear = ... }}
(You can also put it on a single line like this:)
{{member info | joined = ... | cooldog = ... | oldcooldog = ... | blog = ...
| website = ... | photo = ... | caption = ... | oldphoto = ... | oldbtoyear = ...
| btoyear = ... }}
with the following info:
- joined: Replace ... with date member joined Bay Team.
- cooldog: Omit unless member has an entry on the Bay Team Cool Canines page, in which case replace ... with subheading used for this member on the cool canines page.
- oldcooldog: Omit unless member has an entry on the old site (that hasn't yet been converted), in which case insert the named link for that entry.
- website = complete URL of dog-related web site
- blog = complete URL of blog site
- photo = photo name after uploading to this wiki
- caption = works only if "photo" arg is filled in
- oldphoto = URL of member photo on old site (hopefully we don't have too many of these)
- oldbtoyear = obsolete
- btoyear = year in which person was bay teamer of the year.
NOTE: Don't include both cooldog and oldcooldog, or both oldbtoyear and btoyear, or both photo & oldphoto (following is just an example of what you might put in there)
[edit] Example
{{member info
| joined = July 1999
| cooldog = Susan Smith and her dogs
| oldcooldog = SusanS
| photo = Image:FredSmith.jpg
| caption = Fred Smith, December 2005
| website = http://www.bayteam.org
| blog = http://www.bayteam.org/blog
| oldphoto = http://www.bayteam.org/photos/memberdogs/SnarrBarbara.jpg
| btoyear = 2003 }}
This example outputs the following:
Image:FredSmith.jpg
Fred Smith, December 2005
- Joined: July 1999 • Cool canine article • Cool canine article Bay Teamer of the year (2003) • Web site • Blog • Member photo
[edit] Wiki coding
If you click Edit, you'll see the actual coding, which includes a lot of #if conditional flags (which allows most of the arguments to be optional). But basically it boils down to this wiki coding (with conditionals removed, some choices indicated with or), if you're interested in that sort of thing:
[[{{{photo}}}|thumb|120px|right|{{{caption}}} ]]
:'''Joined:''' {{{joined}}} • [[Bay Team Cool Canines#{{{cooldog}}}| Cool canine article]]
''or'' • [http://www.bayteam.org/btcooldogs.html#{{{oldcooldog}}} Cool canine article]
• [http://www.bayteam.org/awards/btawards.html Bay Teamer of the Year ({{{oldbtoyear}}})] tbd
• [{{{website}}} Web site] • [{{{blog}}} Blog] • [{{{oldphoto}}} Member photo]
