Template:Textbook: Difference between revisions
Appearance
Created page with "{{#if:{{{department|}}}|[[Category:{{{department}}}]]}} Category:Textbooks {{Infobox | header1={{{name}}} | label2={{#if: {{{code|}}}|Course Code}} | data2={{{code|}}} | label3={{#if: {{{department|}}}|Department}} | data3={{{department|}}} | label4={{#if: {{{course|}}}|Courses(s)}} | data4={{{course|}}} | label5={{#if: {{{isbn13|}}}|ISBN-13}} | data5={{{isbn13|}}} }}" |
No edit summary |
||
| Line 3: | Line 3: | ||
{{Infobox | {{Infobox | ||
| header1={{{name}}} | | header1={{{name}}} | ||
| label3={{#if: {{{department|}}}|Department}} | | label3={{#if: {{{department|}}}|Department}} | ||
| Line 17: | Line 14: | ||
}} | }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"department": { | |||
"label": "Department", | |||
"description": "The department that uses this textbook.", | |||
"example": "Mathematics", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "The name of the textbook.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"code": {}, | |||
"course": { | |||
"label": "Course(s)", | |||
"description": "The courses that use this textbook.", | |||
"example": "[[Applications of Calculus]]", | |||
"type": "string" | |||
}, | |||
"isbn13": { | |||
"label": "ISBN-13", | |||
"description": "The ISBN-13 number for this textbook.", | |||
"type": "number" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 00:50, 25 September 2024
{{#invoke:Infobox|infobox}}
<templatedata> { "params": { "department": { "label": "Department", "description": "The department that uses this textbook.", "example": "Mathematics", "type": "string", "required": true }, "name": { "label": "Name", "description": "The name of the textbook.", "type": "string", "required": true }, "code": {}, "course": { "label": "Course(s)", "description": "The courses that use this textbook.", "example": "Applications of Calculus", "type": "string" }, "isbn13": { "label": "ISBN-13", "description": "The ISBN-13 number for this textbook.", "type": "number" } } } </templatedata>