Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Parameters  





3 Example  





4 See also  














Template:POTD row






فارسی

پښتو
اردو
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{{texttitle}}}

{{{caption}}}

Recently featured:
  • Cirsium palustre
  • George Washington
  • More featured pictures
  • A row style for WP:POTD templates.

    Usage

    This template can be used to generate protected versions of the Picture of the day in the standard format needed for the Main page.

    The easiest way to create the protected version of the POTD is to click the "create protected version" link on this month's archive page. This will create a new page preloaded with a template call to the non-protected version. Then replace the first line with {{subst:POTD row (note no closing braces) and save it. Please note that the non-protected version needs to be created before the protected version.

    An alternate method is to cut and paste the code of the non-protected version and replace the first line with {{subst:POTD row (also note no closing braces) before saving it.

    This template should always be substituted. As stated on Wikipedia:Picture of the day/Guidelines#Protected version, there are two versions: a protected version that appears on the Main Page, and a non-protected version for non-admins to make updates to the POTD caption. If this template is NOT substituted, various meta-templates used to generate POTDs will automatically be cascade-protected, and non-admins would not be able to create/edit recent and upcoming non-protected versions.

    Parameters

    |image=
    Filename in single image mode
    |image1= and |image2=
    Filenames in dual images mode
    |thumb=
    Override displayed thumbnail. Actual image will be linked in caption.
    |caption=
    Text describing the image or images.
    |credit=
    Attribution text shown beside the image or images.
    |size= and |rowsize=
    Control the size of the image, which determines the relative layout of the image and the blurb
    |wide= and |tall=
    Mutually exclusive optional boolean flags to use Template:Wide imageorTemplate:Tall image.
    |dir=
    Scroll direction for wide images, see Template:Wide image.
    |alttext=, |alttext1= and |alttext2= for dual mode (aliases |texttitle=, |texttitle1=, and |texttitle2=))
    Alt text for the image
    |imagelink= (|imagelink1= and |imagelink2= for dual mode)
    Overrides linking to file pages.
    |thumbtime= (|thumbtime1= and |thumbtime2= for dual mode)
    See Wikipedia:Extended image syntax § Thumbtime in a gallery
    |date=
    Override default POTD date detection, which uses page name.

    Example

    Today's POTD
    Markup
    {{POTD/{{#time:Y-m-d}}|row}}
    
    Renders as
    Raspberry

    The raspberry is the edible fruit of a multitude of plant species in the genus Rubus of the rose family, most of which are in the subgenus Idaeobatus. World production of raspberries in 2022 was 947,852 tonnes, led by Russia with 22% of the total. Raspberries are cultivated across northern Europe and North America and are eaten in various ways, including as whole fruit and in preserves, cakes, ice cream, and liqueurs.

    Photograph credit: Ivar Leidus

  • George Washington
  • More featured pictures
  • See also


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:POTD_row&oldid=1224667428"

    Category: 
    POTD layout templates
    Hidden categories: 
    Wikipedia template-protected templates
    Wikipedia substituted templates
     



    This page was last edited on 19 May 2024, at 18:46 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki