Wikipedia:Wikimedia Commons/POTD: Difference between revisions
Appearance
Content deleted Content added
Adam Cuerden (talk | contribs) No edit summary |
Update data source to User:JJMC89 bot/Commons picture of the day |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | <noinclude><!-- Please be very careful about line breaks in this template. If the expanded wikitext generates unneeded linebreaks it will break the numbering of numbered lists that include this template. --><div class="thumb t{{#if: {{{float|}}}|{{{float}}}|left}}" style="float:{{#if: {{{float|}}}|{{{float}}}|left}};"><div class=thumbinner style="padding: 1px;">[[:commons:Commons:Picture of the day|Commons picture of the day]]<br /></noinclude>{{#ifeq:{{{thumb}}}|yes|<div class="thumb t{{#if: {{{float|}}}|{{{float}}}|left}}"><div class=thumbinner style="padding: 1px;">{{#ifeq:{{{title}}}|yes| [[:commons:Commons:Picture of the day|Commons picture of the day]]<br />|}}||}}{{#invoke:InfoboxImage|InfoboxImage|size=245x245px|image={{User:JJMC89 bot/Commons picture of the day}} |
||
{{Template for discussion/dated|page=POTD commons|link=Wikipedia:Templates for discussion/Log/2014 September 16#Template:POTD commons}} |
|||
⚫ | |||
⚫ | <noinclude><!-- Please be very careful about line breaks in this template. If the expanded wikitext generates unneeded linebreaks it will break the numbering of numbered lists that include this template. --><div class="thumb t{{#if: {{{float|}}}|{{{float}}}|left}}" style="float:{{#if: {{{float|}}}|{{{float}}}|left}};"><div class=thumbinner style="padding: 1px;">[[:commons:Commons:Picture of the day|Commons picture of the day]] |
||
{{documentation|content= |
|||
|<!--01-->[[Image:Confederate 100 Dollars.jpg|245x245px]] |
|||
⚫ | |||
|<!--02-->[[Image:Dresden-Garnisionskirche-gp.jpg|245x245px]] |
|||
|<!--03-->[[Image:Elephant seals fighting.jpg|245x245px]] |
|||
|<!--04-->[[Image:Landscape Arnisee-region.JPG|245x245px]] |
|||
|<!--05-->[[Image:Misty morning03.jpg|245x245px]] |
|||
|<!--06-->[[Image:Elephas_Maximus_Eye_Closeup_cropped.jpg|245x245px]] |
|||
|<!--07-->[[Image:Reine i Lofoten LC0148.jpg|245x245px]] |
|||
|<!--08-->[[Image:Wola Gułowska-trumna.jpg|245x245px]] |
|||
|<!--09-->[[Image:Marpissa muscosa 5 Luc Viatour.jpg|245x245px]] |
|||
|<!--10-->[[Image:Thomas Bresson - Machaon-1 (by).jpg|245x245px]] |
|||
|<!--11-->[[Image:Alaskan Malamute R Bartz.jpg|245x245px]] |
|||
|<!--12-->[[Image:Ischnura senegalensis August 2008.jpg|245x245px]] |
|||
|<!--13-->[[Image:Honeybee landing on milkthistle02.jpg|245x245px]] |
|||
|<!--14-->[[Image:Les Tilleuls à Poissy.png|245x245px]] |
|||
|<!--15-->[[Image:Mycalesis_1_by_Kadavoor-2.jpg|245x245px]] |
|||
|<!--16-->[[Image:Brooklyn Bridge - 03.jpg|245x245px]] |
|||
|<!--17-->[[Image:Agriocnemis_pygmaea_male,_Burdwan,_West_Bengal,_India_14_03_2012.jpg|245x245px]] |
|||
|<!--18-->[[Image:Peter & Paul fortress in SPB 03.jpg|245x245px]] |
|||
|<!--19-->[[Image:LG 시네마 3D TV 새 모델 ‘소녀시대’ 영입.jpg|245x245px]] |
|||
|<!--20-->[[Image:Biblioteca Nacional de España - 11.jpg|245x245px]] |
|||
|<!--21-->[[Image:Iranian Tiles 1.JPG|245x245px]] |
|||
|<!--22-->[[Image:Common Mime Papilio clytia Form clytia by kadavoor.jpg|245x245px]] |
|||
|<!--23-->[[Image:Sonnenblume Helianthus 2.JPG|245x245px]] |
|||
|<!--24-->[[Image:Athene cunicularia 20110524 02.jpg|245x245px]] |
|||
|<!--25-->[[Image:Kirinia roxelana male 1.jpg|245x245px]] |
|||
|<!--26-->[[Image:Jalovec northside MC.jpg|245x245px]] |
|||
|<!--27-->[[Image:NesjavellirPowerPlant edit2.jpg|245x245px]] |
|||
|<!--28-->[[Image:Pigs July 2008-1.jpg|245x245px]] |
|||
|<!--29-->[[Image:Nebelostfriesland.jpg|245x245px]] |
|||
|<!--30-->[[Image:Californian Condor 50 MC.jpg|245x245px]] |
|||
|<!--31-->[[Image:Typhoid inoculation2.jpg|245x245px]] |
|||
⚫ | |||
<br style="clear:both;" /> |
|||
<div style="color:grey; text-align:center;"><small>'''This information will not be shown when the template is called upon'''</small></div> |
|||
<div class="toccolours" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:1em;"> |
|||
⚫ | |||
This template shows the POTD from Commons. Not to be confused with [[Wikipedia:Picture of the day]]. |
This template shows the POTD from Commons. Not to be confused with [[Wikipedia:Picture of the day]]. |
||
The data is automatically updated in {{tlu|User:JJMC89 bot/Commons picture of the day}}, which can also be used to create custom layouts. |
|||
'''This template must be updated at least once a month or it will just repeat images.''' |
|||
⚫ | |||
Two templates must be updated: |
|||
* {{tl|POTD commons}} should be updated using the generated list of images from [http://commons.wikimedia.org/wiki/User:Freestyle_nl/POTD_nl this] generated list |
|||
* {{tl|POTD commons/Captions}} (used for the captions) must be updated from [http://commons.wikimedia.org/wiki/User:Freestyle_nl/POTD_caption this] generated list |
|||
⚫ | |||
* thumb=yes – show as thumbnail |
* thumb=yes – show as thumbnail |
||
* title=yes – show the title (only in combination with thumb=yes) |
* title=yes – show the title (only in combination with thumb=yes) |
||
Line 51: | Line 13: | ||
* float=left/right – for floating the thumbnail left or right (default=left) |
* float=left/right – for floating the thumbnail left or right (default=left) |
||
==Example== |
|||
⚫ | |||
⚫ | |||
</div> |
|||
==See also == |
|||
[[Category:Wikipedia Picture of the day]] |
|||
[[Category: |
* [[:Category:Wikipedia Picture of the day]] |
||
* [[:Category:Wikimedia Commons templates]] |
|||
</noinclude> |
}}</noinclude> |
Latest revision as of 02:14, 1 September 2016
Commons picture of the day
Carved wooden bench, furniture, textile crafts, lanterns and suspended mobile sculptures, at the wooden Heuan Chan heritage house, stilt building with wooden ceiling, Luang Prabang, Laos.
Carved wooden bench, furniture, textile crafts, lanterns and suspended mobile sculptures, at the wooden Heuan Chan heritage house, stilt building with wooden ceiling, Luang Prabang, Laos.
Documentation
Function
This template shows the POTD from Commons. Not to be confused with Wikipedia:Picture of the day.
The data is automatically updated in {{User:JJMC89 bot/Commons picture of the day}}, which can also be used to create custom layouts.
Parameters
- thumb=yes – show as thumbnail
- title=yes – show the title (only in combination with thumb=yes)
- caption=no – don't show the captions
- float=left/right – for floating the thumbnail left or right (default=left)
Example
{{WP:Wikimedia Commons/POTD|thumb=yes|title=yes|float=right}}
- this will show a thumbnailed version, floated right, with the title and captions.