Template:Rotating footer photos: Difference between revisions
Content deleted Content added
GVarnum-WMF (talk | contribs) Created page with "{{#switch: {{{1|{{#expr:{{random number| 1 |{{mod|{{#time:U}}|33}}}}+1}}}}} |1 = }}<noinclude>{{documentation}}</noinclude>" Tag: 2017 source edit |
GVarnum-WMF (talk | contribs) initial photos Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{#switch: {{{1|{{#expr:{{random number| |
{{#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
Usage
Displays a random photo appropriate for use in footer sections.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
Example
{{Rotating footer photos}}
Adding photos
To add a photo:
- 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:
- Increase the number within the {{random number}} template entry, for example from 14 to 15 (continuing with example from past step):
- Add the image to the gallery of this documentation page.