Jump to content

Wikipedia:Wikimedia Commons/POTD: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
update until 2007/12/02
 
(38 intermediate revisions by 13 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]] ({{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}})<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 />|}}||}}{{Template:POTD commons/Multiview
<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}}
}}{{#ifeq: {{{caption}}}|no||<small style="text-align:center; width:245px; display:block; margin-top:4px;">{{User:JJMC89 bot/Commons picture of the day|caption}}</small>}}{{#ifeq:{{{thumb}}}|yes|{{{comment|}}}</div></div>}}<noinclude></div></div>
|<!---1-->[[Image:Orange juice 1 edit1.jpg|245x245px]]
{{documentation|content=
|<!---2-->[[Image:Rastkogel ski slope.jpg|245x245px]]
==Function==
|<!---3-->[[Image:Crassula capitella 2 edit.jpg|245x245px]]
This template shows the POTD from Commons. Not to be confused with [[Wikipedia:Picture of the day]].
|<!---4-->[[Image:Rocknroll singer amk.jpg|245x245px]]
|<!---5-->[[Image:Jiuzhaigou Pearl Waterfall 2005-08-21.jpeg|245x245px]]
|<!---6-->[[Image:Kissing Prairie dog edit 3.jpg|245x245px]]
|<!---7-->[[Image:Foucault pendulum animated.gif|245x245px]]
|<!---8-->[[Image:Thorn Tree Sossusvlei Namib Desert Namibia Luca Galuzzi 2004.JPG|245x245px]]
|<!---9-->[[Image:Karandila.jpg|245x245px]]
|<!--10-->[[Image:Cichorium intybus-alvesgaspar1.jpg|245x245px]]
|<!--11-->[[Image:DK Fanoe Windmill01.JPG|245x245px]]
|<!--12-->[[Image:Wild shortbeak echidna.jpg|245x245px]]
|<!--13-->[[Image:Evstafiev-bosnia-cello.jpg|245x245px]]
|<!--14-->[[Image:Adela reaumurella Luc Viatour.jpg|245x245px]]
|<!--15-->[[Image:Countryandcitydaegu.jpg|245x245px]]
|<!--16-->[[Image:Cows in green field - nullamunjie olive grove.jpg|245x245px]]
|<!--17-->[[Image:Euphorbia cyparissias quadrat.jpg|245x245px]]
|<!--18-->[[Image:Clock Tower - Palace of Westminster, London - September 2006.jpg|245x245px]]
|<!--19-->[[Image:Hippo pod edit.jpg|245x245px]]
|<!--20-->[[Image:Javier Solana (2007).jpg|245x245px]]
|<!--21-->[[Image:Bigleaf Hydrangea Hydrangea macrophylla 'Tokyo Delight' Flowers 3008px.jpg|245x245px]]
|<!--22-->[[Image:Mtbromo.jpg|245x245px]]
|<!--23-->[[Image:GothafossWinter.jpg|245x245px]]
|<!--24-->[[Image:Da Vinci Vitruve Luc Viatour.jpg|245x245px]]
|<!--25-->[[Image:Suricata.suricatta.6861.jpg|245x245px]]
|<!--26-->[[Image:Seine wide.jpg|245x245px]]
|<!--27-->[[Image:Agrius convolvuli korseby.jpeg|245x245px]]
|<!--28-->[[Image:Toledo Skyline Panorama, Spain - Dec 2006.jpg|245x245px]]
|<!--29-->[[Image:Gold dust day gecko at flower.jpg|245x245px]]
|<!--30-->[[Image:Wellington City Night.jpg|245x245px]]
|<!--31-->[[[[:Image:Template:Potd/2007-11-31]]|245x245px]]
}}{{#ifeq: {{{caption}}}|no||<small style="text-align:center;width:245px;display:block;margin-top:4px;">{{Template:POTD commons/Captions|{{#if: {{{next|}}}|next=yes|}}}}</small>}}{{#ifeq:{{{thumb}}}|yes|{{{comment|}}}</div></div>}}<noinclude></div></div>
<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;">
===Function===
This template shows the POTD from Commons


The data is automatically updated in {{tlu|User:JJMC89 bot/Commons picture of the day}}, which can also be used to create custom layouts.
A generated list of images for use in this template can be copy-pasted from [http://commons.wikimedia.org/wiki/User:Freestyle_nl/POTD_nl here]. For the [[Template:POTD commons/Captions]] (used for the captions) use [http://commons.wikimedia.org/wiki/User:Freestyle_nl/POTD_caption this] generated list.


===Parameters===
==Parameters==
* 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)
* caption=no - don't show the captions
* caption=no don't show the captions
* 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===
==Example==
* <code><nowiki>{{WP:Wikimedia Commons/POTD|thumb=yes|title=yes|float=right}}</nowiki></code> - this will show a thumbnailed version, floated right, with the title and captions.


==See also ==
<code><nowiki>{{Template:POTD commons|thumb=yes|title=yes|float=right}}</nowiki></code> - this will show a thumbnailed version, floated right, with the title and captions.
* [[:Category:Wikipedia Picture of the day]]

* [[:Category:Wikimedia Commons templates]]

</div>
}}</noinclude>
[[Category:Wikipedia Picture of the day]]
</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.