Template:Textbook: Difference between revisions
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 |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
| header1={{{name}}} | | header1={{{name}}} | ||
| label3=Department | |||
| data3={{{department}}} | |||
| label3= | |||
| data3={{{department | |||
| label4={{#if: {{{course|}}}|Courses(s)}} | | label4={{#if: {{{course|}}}|Courses(s)}} | ||
| Line 16: | Line 13: | ||
| data5={{{isbn13|}}} | | data5={{{isbn13|}}} | ||
| image={{{image|}}} | |||
}} | }} | ||
<noinclude> | |||
[[Category:Prepared Templates]] | |||
<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" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"example": "[[File:Calculus for AP.jpg | 200px]]" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 00:58, 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" }, "image": { "label": "Image", "type": "wiki-file-name", "example": "Error creating thumbnail: File missing" } } } </templatedata>