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
 
mNo edit summary
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{1|{{#expr:{{random number| 1 |{{mod|{{#time:U}}|33}}}}+1}}}}}
<includeonly>{{#switch: {{random number| 7 }}
|0 = Waldir Pimenta and Douglas Scott at Wikimania 2023.jpg
|1 =
|1 = 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
}}<noinclude>{{documentation}}</noinclude>
|2 = G Rameswaram Sharing His Experience In Feedback Session - Wikiconference India 2023 - Hyderabad 2023-04-30 9203.jpg
|3 = Jessica Stephenson At Feedback Session - Wikiconference India 2023 - Hyderabad 2023-04-30 8956.jpg
|4 = 2023 ESEAP Summit - 23 of 56.jpg
|5 = Wikimania 2023 WikisourceCommunityMeetup 0357.jpg
|6 = At Wikimania 2023 (Wikimedia Chile) 02.jpg
|7 = Turkic Wikimedians in Wikimania 2023 02.jpg
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 20:57, 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}}

At Wikimania 2023 (Wikimedia Chile) 02.jpg

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