Template:ClassAndNotes: Difference between revisions

From makernexuswiki
(Created template for displaying links to a class and its notes in a standard format.)
 
m (Changed "ulr" to "URL")
 
Line 5: Line 5:
* <tt>''name''</tt> is the name of the class,
* <tt>''name''</tt> is the name of the class,
* <tt>''page''</tt> is the URL for the web page with the class description and links to upcoming sessions, and
* <tt>''page''</tt> is the URL for the web page with the class description and links to upcoming sessions, and
* <tt>''notes''</tt> is the url for the class notes.
* <tt>''notes''</tt> is the URL for the class notes.
----
----
'''Example:'''
'''Example:'''

Latest revision as of 18:16, 28 February 2025

Use this template to display links to a class description and to notes for the the class.

Usage: {{ClassAndNotes|name=name|page=page|notes=notes}}
where

  • name is the name of the class,
  • page is the URL for the web page with the class description and links to upcoming sessions, and
  • notes is the URL for the class notes.

Example:

{{ClassAndNotes| name=Metalshop I: Tools for Metal Preparation (Equipment Training)| desc=https://www.makernexus.org/classes?className=Metalshop%20I%3A%20Tools%20for%20Metal%20Preparation%20(Equipment%20Training)| notes=https://docs.google.com/document/d/1a5cslkp9NcMUgQ__OgvERb9gGr_VTaz_BBGM0cC18Og/}}

Result:


Note: Pages with links to class note on the Maker Nexus Members Google drive should also invoke Template:MembersDriveAccessNote somewhere nearby. (The reason this ClassAndNotes template does not automatically supply such an invocation is to allow for pages that contain multiple invocations of ClassAndNotes with only one accompanying copy of the access note.)