Template:Rotating header 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) mNo edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{#switch: |
{{#switch: {{#expr:{{random number| 15 |{{mod|{{#time:U}}|33}}}}+1}} |
||
|1 = File:Anup Sadi and La Kritzolina at WCI 2023 (2).jpg |
|||
|1 = |
|||
|2 = File:Audience Appreciation For Closing Address By Tanveer Hasan - Closing Session - Wikiconference India 2023 - Hyderabad 2023-04-30 9425.jpg |
|||
|3 = File:Gujarati Wikimedians after Group Photo Session at WikiConference India 2023, Hyderabad DSC007.jpg |
|||
|4 = File:Wikimania Singapore 2023 group photo.jpg |
|||
|5 = File:2023 ESEAP Summit - 17 of 56.jpg |
|||
|6 = File:Had a meeting with Maki Katsuno Hayashikawa.jpg |
|||
|7 = File:Wikimedian Malaysia with Rhys William.jpg |
|||
|8 = File:Aristidek5maya at Wikimania 2023 107.jpg |
|||
|9 = File:At Wikimania 2023 (Wikimedia Chile) 07.png |
|||
|10 = File:At Wikimania (MP) 2023 292.jpg |
|||
|11 = File:At Wikimania (MP) 2023 236.jpg |
|||
|12 = File:Joy Agyepong and Nitesh Gill-070A3698.jpg |
|||
|13 = File:Networking Opening ceremony wikimania 2023 05.jpg |
|||
|14 = File:Three Wikimedians at Wikimania 2023.jpg |
|||
|15 = File:Trustees stand together Wikimania 2023.jpg |
|||
}}<noinclude>{{documentation}}</noinclude> |
}}<noinclude>{{documentation}}</noinclude> |
Revision as of 02:28, 13 March 2024
Usage
Displays a random photo appropriate for use in header sections.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
Example
{{Rotating header 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.