Template:Rotating footer photos: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
Created page with "{{#switch: {{{1|{{#expr:{{random number| 1 |{{mod|{{#time:U}}|33}}}}+1}}}}} |1 = }}<noinclude>{{documentation}}</noinclude>"
Tag: 2017 source edit
 
initial photos
Tag: 2017 source edit
Line 1: Line 1:
{{#switch: {{{1|{{#expr:{{random number| 1 |{{mod|{{#time:U}}|33}}}}+1}}}}}
{{#switch: {{{1|{{#expr:{{random number| 8 |{{mod|{{#time:U}}|33}}}}+1}}}}}
|1 = File:Mayur Paul And Runa Bhattacharjee Listening Tanveer Hasans Speech On Engagement And Growth Panel At Panel Discussion - Wikiconference India 2023 - Hyderabad 2023-04-30 8930.jpg
|1 =
|2 = File:G Rameswaram Sharing His Experience In Feedback Session - Wikiconference India 2023 - Hyderabad 2023-04-30 9203.jpg
|3 = File:Jessica Stephenson At Feedback Session - Wikiconference India 2023 - Hyderabad 2023-04-30 8956.jpg
|4 = File:2023 ESEAP Summit - 23 of 56.jpg
|5 = File:Wikimania 2023 WikisourceCommunityMeetup 0357.jpg
|6 = File:At Wikimania 2023 (Wikimedia Chile) 02.jpg
|7 = File:Turkic Wikimedians in Wikimania 2023 02.jpg
|8 = File:Waldir Pimenta and Douglas Scott at Wikimania 2023.jpg
}}<noinclude>{{documentation}}</noinclude>
}}<noinclude>{{documentation}}</noinclude>

Revision as of 02:26, 13 March 2024

Template documentation

Usage

Displays a random photo appropriate for use in footer sections.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

Example

{{Rotating footer photos}}


Adding photos

To add a photo:

  1. Add a new entry to the template giving the photo the next appropriate number assignment. For example, if you are adding the photo following entry 14, your entry would look like:
    |15 = File:Name.jpg
    
  2. Increase the number within the {{random number}} template entry, for example from 14 to 15 (continuing with example from past step):
    {{random number| 15 }}
    
  3. Add the image to the gallery of this documentation page.

Gallery of rotating photos

See also