Template:Get course details/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Mathglot at 09:19, 29 October 2025 (Examples: Use shortcut on some.). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Retrieves a desired param value (e.g., course name, start date, support staff) from the {{Course details}} template found on a given Wiki Ed course page.

{{Get course details|Course page|Field}}

Parameters

[edit source]

There are two unnamed parameters, one required and one optional:

  • |1= – course page having a {{course details}} template; typical: WP:Wiki Ed/University/Course/Season (Year)
  • |2= – field to interrogate; e.g., course name, instructor username, start date, support staff etc. (default: course name )

Examples

[edit source]
  • {{get course details|WP:Wiki Ed/Brock University/FREN 3P05 - Business French (Fall)|course name}} →
  • {{get course details|WP:Wiki Ed/Brock University/FREN 3P05 - Business French (Fall)|start date}} →
  • {{gcd|WP:Wiki Ed/Brock University/FREN 3P05 - Business French (Fall)|support staff}} →
  • {{gcd|WP:Wiki Ed/Brock University/FREN 3P05 - Business French (Fall)|expert}} →   (Note: supports aliases)
  • {{gcd|WP:Wiki Ed/Brock University/FREN 3P05 - Business French (Fall)|instructor}} →   (a different field alias)

See also

[edit source]