Template:Team

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Taken by [[:Category:Images from {{{event}}} by {{{team}}}|{{{team}}}]]

A participant in [[:Category:{{{event}}}|{{{event}}}]]

This photo was taken by a participant or team in a Wikimedian-organized photo scavenger hunt. Participants in these events usually do not have regular Wikimedia accounts, and have agreed to have their photos uploaded under free licenses by the event organizers.

{{{event}}}
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Team/doc.

This template was created for use by Wikimedia photo scavenger hunts. Although it can be added to an image manually, it is typically added automatically by a contest upload bot. For more information, see Commons:Photo scavenger hunts.

Usage

{{Team |event= |team= |id= |logo= }}

Template parameters

ParameterDescriptionDefaultStatus
eventevent titleTitle of the scavenger hunt event, e.g. “Wikipedia Takes Xanadu IV”emptyrequired
teamteam nameTeam name, e.g. “WikiGnomes”emptyrequired
idevent IDID of the event from the Wikimedia Photo Scavenger Hunts site,[1] e.g. “13”emptyoptional
logoevent logoImage name, do not include the “File:” or “Image:” prefix; e.g. “ContestLogo.jpg”Camera-photo.svgoptional
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

This template was created for use by Wikimedia photo scavenger hunts. Although it can be added to an image manually, it is typically added automatically by a contest upload bot. For more information, see https://commons.wikimedia.org/wiki/Commons:Photo_scavenger_hunts

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
event titleevent

Title of the scavenger hunt event, e.g. “Wikipedia Takes Xanadu IV”

Linerequired
event IDid

ID of the event from the Wikimedia Photo Scavenger Hunts site, e.g. “13”

Numberoptional
event logologo

Image name, do not include the “File:” or “Image:” prefix; e.g. “ContestLogo.jpg”

Default
Camera-photo.svg
Fileoptional
team nameteam

Team name, e.g. “WikiGnomes”

Linerequired

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

{{Team|event=Wikipedia Takes Xanadu IV|team=WikiGnomes|id=13|logo=Wikipedia-Takes-Xanadu.png}}

renders as:

Taken by WikiGnomes

A participant in Wikipedia Takes Xanadu IV

This photo was taken by a participant or team in a Wikimedian-organized photo scavenger hunt. Participants in these events usually do not have regular Wikimedia accounts, and have agreed to have their photos uploaded under free licenses by the event organizers.

Wikipedia Takes Xanadu IV

Localization

беларуская (тарашкевіца)  Deutsch  English  français  magyar  македонски  Nederlands

This template makes use of {{Autotranslate}} and the translate extension.