Template:CDC-PHIL

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This media comes from the Centers for Disease Control and Prevention's Public Health Image Library (PHIL).

Note: Not all PHIL images are public domain; be sure to check copyright status and credit authors and content providers.


العربية | Deutsch | English | македонски | slovenščina | +/−

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:CDC-PHIL/doc.

No description yet available.

The template automatically sets the following categories:

Usage

{{CDC-PHIL |id= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
id
1
IDIdentification number of the imageemptysuggested
2
1
TIFFIf TIFF, it includes the file under category: High-resolution TIFF images from the CDC Public Health Image Libraryemptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
TIFF2 1

If “TIFF”, it includes the file under the category “High-resolution TIFF images from the CDC Public Health Image Library”

Lineoptional
IDid 1

Identification number of the image

Numbersuggested

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: no user group specified

Example

{{CDC-PHIL|1}}

renders as:

This media comes from the Centers for Disease Control and Prevention's Public Health Image Library (PHIL), with identification number #1.

Note: Not all PHIL images are public domain; be sure to check copyright status and credit authors and content providers.


العربية | Deutsch | English | македонски | slovenščina | +/−

Localization

العربية  Deutsch  English  français  македонски  Nederlands  slovenščina

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:CDC-PHIL/layout.