Template:Get course details/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Get course details. It may contain usage information, categories and other content that is not part of the original template page. |
| This template may be substituted. |
| This template is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
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.
Usage
[edit source]{{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 staffetc. (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]- {{Course details}}
- {{Your Wiki Ed course}}
- {{Your Wiki Ed expert}}