This is the documentation page for Module:Women in Red event

This module reads the list of WIR events stored at Wikipedia:WikiProject Women in Red/events for use in Template:WIR and elsewhere.

main function

demese

{{#invoke:Women in Red event|main|event|field}}

  • Given an event number, reads one of the fields (event, year, month, type, image)

For example:

  • {{#invoke:Women in Red event|main|294|name}} gives "Lua tuure: bad argument #1 to 'mw.loadJsonData' ('Wikipedia:WikiProject Women in Red/events' is not a valid JSON page)."
  • {{#invoke:Women in Red event|main|7|year}} gives "Lua tuure: bad argument #1 to 'mw.loadJsonData' ('Wikipedia:WikiProject Women in Red/events' is not a valid JSON page)."

text function

demese

Produces a piped link to the event page followed by the date, for use in the project banner. For example:

  • {{#invoke:Women in Red event|text|291}} gives "Lua tuure: bad argument #1 to 'mw.loadJsonData' ('Wikipedia:WikiProject Women in Red/events' is not a valid JSON page)."

date function

demese

Produces a formatted date (including month and year) of the event. For example:

  • {{#invoke:Women in Red event|date|210}} gives "Lua tuure: bad argument #1 to 'mw.loadJsonData' ('Wikipedia:WikiProject Women in Red/events' is not a valid JSON page)."