Template:Rotating header photos: Difference between revisions
Content deleted Content added
GVarnum-WMF (talk | contribs) mNo edit summary Tag: 2017 source edit |
GVarnum-WMF (talk | contribs) mNo edit summary Tag: 2017 source edit |
||
Line 1:
<includeonly>{{#switch: {{random number| 15 }}
|1 =
|2 =
|3 =
|4 =
|5 =
|6 =
|7 =
|8 =
|9 =
|10 =
|11 =
|12 =
|13 =
|14 =
|15 =
}}</includeonly><noinclude>{{documentation}}</noinclude>
|
Revision as of 03: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}}
Wikimedian Malaysia with Rhys William.jpg
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.