Template:Voucher
From AHPA Botanical Identity References Compendium
(Difference between revisions)
(→multiple source category support) |
|||
Line 46: | Line 46: | ||
{{ #if: {{{source8|}}} |<includeonly>[[Category:{{{source8}}}]]</includeonly>|}} | {{ #if: {{{source8|}}} |<includeonly>[[Category:{{{source8}}}]]</includeonly>|}} | ||
− | |||
__FORCETOC__ | __FORCETOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
− | |||
− | |||
− | |||
− | |||
{{#tag:gallery| | {{#tag:gallery| | ||
− | File:{{{mainimage}}}{{!}}{{{{{ #if: {{{companyimage|}}} |[[Image:Botanical.png|32px|left]][[File:{{{companyimage|}}}|right|150x75px|link={{{companyURL|}}}]]|[[Image:Botanical.png|32px|left]]}} caption1 | + | File:{{{mainimage}}}{{!}} |
+ | {{{ | ||
+ | {{ #if: {{{companyimage|}}} |[[Image:Botanical.png|32px|left]][[File:{{{companyimage|}}}|right|150x75px|link={{{companyURL|}}}]]|[[Image:Botanical.png|32px|left]]}} | ||
+ | caption1 }}} | ||
{{ #if: {{{image2|}}} |File:{{{image2}}}|}}{{ #if: {{{caption2|}}} |{{!}}{{{caption2}}}|}} | {{ #if: {{{image2|}}} |File:{{{image2}}}|}}{{ #if: {{{caption2|}}} |{{!}}{{{caption2}}}|}} | ||
{{ #if: {{{image3|}}} |File:{{{image3}}}|}}{{ #if: {{{caption3|}}} |{{!}}{{{caption3}}}|}} | {{ #if: {{{image3|}}} |File:{{{image3}}}|}}{{ #if: {{{caption3|}}} |{{!}}{{{caption3}}}|}} |
Revision as of 19:40, 15 January 2014
Contents |
Usage
Welcome:
Here's a sample use of the Voucher template. Any of the categories may be omitted and will be replaced by a default message or hidden.
It's best if you copy the source text by editing another entry from the same source. This will prevent typographical errors from mis-categorizing your new entry.
References using this template will ONLY appear in the "Voucher Specimens" category.
{{Voucher | | source=Author/Year/Title/Edition for books, or user/laboratory identification from contributor. Ex: source=Schneider, A. (1921) The Microanalysis of Powdered Vegetable Drugs, 2nd ed. | companyimage=YourCompanyBadge.jpg | companyURL=http://www.yourcompany.com/homepage/goeshere/ | mainimage=FilenameOfYourUploadedImageGoesHere.png | caption1=Description of your uploaded image (e.g. Yarrow (root) at 200x under polarized light, deionized water as solvent) | description=Yarrow (root) (''Achillea Millefolium'') | image2=Filename2.png | caption2=Description of Filename2.png (e.g. Whole plant picture, harvested while blooming.) | image3=Filename3.png | caption3=Optional description of Filename3.png | image4=Filename4.png | caption4=Optional description of Filename4.png | image5=Filename5.png | caption5=Optional description of Filename5.png | image6=Filename6.png | caption6=Optional description of Filename6.png | image7=Filename7.png | caption7=Optional description of Filename7.png | image8=Filename8.png | caption8=Optional description of Filename8.png | }}
Return to All Voucher Specimens Category Listing.