• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Sidebar games events

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Sidebar games events

Contents

  • 1 Usage
    • 1.1 Navbar links
    • 1.2 Common parameters
    • 1.3 Other parameters
  • 2 Examples
  • 3 Tracking categories
  • 4 See also

Usage

[[{{{event}}} at the {{{games}}}|{{{event}}}]] at the
[[{{{games}}}]]
{{{image}}}
{{{title1}}}
{{{event1}}}
{{{image1}}}
{{{event1.1}}}{{{results1.1a}}}{{{results1.1b}}}{{{results1.1c}}}
{{{event1.2}}}{{{results1.2a}}}{{{results1.2b}}}{{{results1.2c}}}
{{{title2}}}
{{{event2}}}
{{{image2}}}
{{{event2.1}}}{{{results2.1a}}}{{{results2.1b}}}{{{results2.1c}}}
{{{event2.2}}}{{{results2.2a}}}{{{results2.2b}}}{{{results2.2c}}}
{{{prev}}}
{{{next}}}
  • v
  • t
  • e
{{Sidebar games events
| name = {{subst:PAGENAME}}
| event = 
| games = 
| image = 

| title1 =
| event1 = 
| image1 = 
| event1.1 =
| results1.1a =
| results1.1b = 
| results1.1c = 
| event1.2 = 
| results1.2a =
| results1.2b =
| results1.2c =

| title2 =
| event2 = 
| image2 = 
| event2.1 =
| results2.1a =
| results2.1b = 
| results2.1c = 
| event2.2 = 
| results2.2a =
| results2.2b =
| results2.2c =

| prev = 
| next = 
}}

Navbar links

To suppress the view, edit, talk (navbar links), remove the |name= parameter.

Common parameters

Parameter Values Description
event Bobsled, Cycling, ... The name of the event (used to generate the title "event at games"). If you use this parameter, don't use |title=.
games 2016 Olympics, ... The name of the games (used to generate the title "event at games"). If you use this parameter, don't use |title=.
name {{subst:PAGENAME}} The name of the template, used for the view, edit, talk (navbar links). To suppress these links, omit this parameter.
image [[File:Example.png|20px]], ... An image icon to be placed below the title
caption Text A caption for the image
imageright [[File:Example.png|20px]], ... An image icon to be placed to the right of the title
above Text Header text to be placed below the title and top image
titlexx Text Title text for the XX series of events (supersedes event and is rarely used)
eventXX Text Header text for the XX series of events
imageXX [[File:Example.png|20px]], ... An image icon to be placed below the eventXX header
typeXXa Text First data column header for the XX series of events
typeXXb Text Second data column header for the XX series of events
typeXXc Text Third data column header for the XX series of events
typeXXd Text Fourth data column header for the XX series of events
eventXX.YY Text Label for the XX.YY subevents
resultsXX.YYa Text First results data column for the XX.YY subevents
resultsXX.YYb Text Second results data column for the XX.YY subevents
resultsXX.YYc Text Third results data column for the XX.YY subevents
resultsXX.YYd Text Fourth results data column for the XX.YY subevents
resultsXX.YY Text Data for the XX.YY subevents (spans all data columns)
borderXX.YY y or omit Any non-blank value will trigger the inclusion of a horizontal border below the XX.YY subevents row

Other parameters

Parameter Values Description
title Event at the Games, ... A free-form title for the sidebar. If you use this parameter, don't use |event= and |games=.
alignresults left, right, or center Alignment of the results columns (default: left)
alignevents left, right, or center Alignment of the subevents columns (default: left)
width 22em, 200px, ... or auto Overall width of the sidebar (default: auto)
maxwidth 22em, 200px, ... or auto Overall maximum width of the sidebar (default: 25em)
float left, right, or none Floating alignment of the sidebar on the page (default: right)

Examples

For usage examples, see any of the templates using this meta-template.

Tracking categories

  • Category:Templates using sidebar games events without correct name (0)
  • Category:Pages using sidebar games events with unknown parameters (0)

See also

  • {{sidebar}}
The above documentation is transcluded from Template:Sidebar games events/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Sidebar_games_events&oldid=30906"
Categories:
  • Lua-based templates
  • Multi-sport events navigational boxes
  • Templates that add a tracking category
Last edited on 14 December 2021, at 18:57

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 14 December 2021, at 18:57.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop