Template:Course

From TextbookRevolution

(Difference between revisions)
Jump to: navigation, search
(added subjects field)
 
(15 intermediate revisions not shown)
Line 4: Line 4:
<pre>
<pre>
{{Course
{{Course
-
|course=
+
|course_name=
-
|institution=
+
|course_url=
 +
|institution_url=
 +
|institution_name=
 +
|features=
|description=
|description=
|books=
|books=
Line 11: Line 14:
}}
}}
</pre>
</pre>
 +
It uses the semantic properties: Course Name, Course URL, Institution Name, Institution Domain, Course features, Course Description, Book, and subject respectively.
 +
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#Set: Course page={{PAGENAME}}}}
{{#Set: Course page={{PAGENAME}}}}
{| class="wikitable" cellpadding="2" cellspacing="2"
{| class="wikitable" cellpadding="2" cellspacing="2"
 +
|align="left" |'''Course Name'''
 +
| [[Course Name::{{{course_name|}}}]]
 +
|-
|align="left" |'''URL to course page'''
|align="left" |'''URL to course page'''
-
| [[Course::{{{course|}}}]]
+
| [[Course URL::{{{course_url|}}}]]
 +
|-
 +
|align="left" |'''Name of institution (e.g., MIT, Harvard)'''
 +
| [[Institution Name::{{{institution_name|}}}]]
|-
|-
|align="left" |'''Domain of institution (e.g., mit.edu, harvard.edu)'''
|align="left" |'''Domain of institution (e.g., mit.edu, harvard.edu)'''
-
| [[Institution domain::{{{institution|}}}]]
+
| [[Institution Domain::{{{institution_url|}}}]]
 +
|-
 +
|align="left" |'''Course features'''
 +
| {{#arraymap:{{{features|}}}|,|x|[[Course features::x]]}}
|-
|-
|align="left" |'''Review of course'''
|align="left" |'''Review of course'''
Line 27: Line 41:
| {{#arraymap:{{{books|}}}|,|x|[[Book::x]]}}
| {{#arraymap:{{{books|}}}|,|x|[[Book::x]]}}
|-
|-
-
| '''Subjects:'''||{{#arraymap:{{{subject|}}}|,|a|[[subject::a]]}}
+
| '''Subjects'''||{{#arraymap:{{{subject|}}}|,|a|[[subject::a]]}}
|}
|}
[[Category:Course]]
[[Category:Course]]
</includeonly>
</includeonly>

Current revision as of 13:40, 11 August 2010

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

{{Course
|course_name=
|course_url=
|institution_url=
|institution_name=
|features=
|description=
|books=
|subject=
}}

It uses the semantic properties: Course Name, Course URL, Institution Name, Institution Domain, Course features, Course Description, Book, and subject respectively.

Edit the page to see the template text.