Template:Rotating header photos/doc

From Wikimedia Foundation Governance Wiki
Revision as of 02:48, 13 March 2024 by GVarnum-WMF (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page --> == Usage == <templatedata> { "params": {}, "description": "Displays a random photo appropriate for use in header sections.", "format": "inline" } </templatedata> === Example === <pre> {{Rotating header photos}} </pre> {{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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Displays a random photo appropriate for use in header sections.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

Example

{{Rotating header photos}}

Networking Opening ceremony wikimania 2023 05.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