Difference between revisions of "Template:Course"

From TSAS Library
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Courses|department=Page|teacher=List (,) of Page|sessions=Integer|prerequisites=List (,) of Page|note=String|grcode=List (,) of Page|offered=Integer|opento=List (,) of Page|requiredby=List (,) of Wikitext|description=Text}}
{{#cargo_declare:_table=Courses|department=Page|teacher=List (,) of Page|sessions=Integer|prerequisites=List (,) of Page|note=String|grcode=List (,) of Page|offered=Integer|opento=List (,) of Page|requiredby=List (,) of Page|description=Text}}
</noinclude><includeonly>{{#cargo_store:_table=Courses|department={{{department|}}}|teacher={{{teacher|}}}|sessions={{{sessions|}}}|prerequisites={{{prerequisites|}}}|note={{{note|}}}|grcode={{{grcode|}}}|offered={{{offered|}}}|opento={{{opento|}}}|requiredby={{{requiredby|}}}|description={{{description|}}} }}
</noinclude><includeonly>{{#cargo_store:_table=Courses|department={{{department|}}}|teacher={{{teacher|}}}|sessions={{{sessions|}}}|prerequisites={{{prerequisites|}}}|note={{{note|}}}|grcode={{{grcode|}}}|offered={{{offered|}}}|opento={{{opento|}}}|requiredby={{{requiredby|}}}|description={{{description|}}} }}
{{Infobox
{{Infobox
Line 40: Line 40:
| data10      = {{#arraymap:{{{opento|}}}|,|x|[[x]]}}
| data10      = {{#arraymap:{{{opento|}}}|,|x|[[x]]}}
| label11    = Required by
| label11    = Required by
| data11      = {{#arraymap:{{{requiredby|}}}|,|x|x|}}
| data11      = {{#arraymap:{{{requiredby|}}}|,|x|[[x]]|<br />}}
}}
}}



Latest revision as of 10:48, 24 April 2020

This is the "Course" template. It should be called in the following format:

{{Course
|department=
|teacher=
|sessions=
|prerequisites=
|note=
|grcode=
|offered=
|opento=
|requiredby=
|description=
}}

Edit the page to see the template text. This template defines the table "Courses". View table.