Difference between revisions of "Template:Infobox Modul"
From Animation Luzern Wiki
(24 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
| name = Infobox Modul | | name = Infobox Modul | ||
| bodyclass = vevent | | bodyclass = vevent | ||
+ | | abovestyle = background:#DDD;padding:0.5em; | ||
+ | | headerstyle = background:#DDD; | ||
− | | above = {{#if:{{{name|}}}|{{{id}}} | + | | above = {{#if:{{{name|}}}|{{{id}}}<br>{{{name}}}|{{PAGENAMEBASE}}}} |
| aboveclass = summary | | aboveclass = summary | ||
− | | image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{ | + | | image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{responsible1_image|}}}|size={{{responsible1_image_size|}}}|sizedefault=200px|alt={{{responsible1_image_alt|}}}}} |
| caption1 = {{{caption1|}}} | | caption1 = {{{caption1|}}} | ||
| label1 = Responsible | | label1 = Responsible | ||
− | | data1 = {{{ | + | | data1 = {{{responsible1|}}} |
+ | | class1 = description | ||
+ | |||
+ | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{responsible2_image|}}}|size={{{responsible2_image_size|}}}|sizedefault=200px|alt={{{responsible2_image_alt|}}}}} | ||
+ | | caption2 = {{{caption2|}}} | ||
+ | |||
+ | | label2 = Responsible | ||
+ | | data2 = {{{responsible2|}}} | ||
+ | | class2 = description | ||
− | |||
− | | | + | | label3 = Year |
− | | | + | | data3 = {{{year|}}} |
+ | |||
+ | | label4 = Level | ||
+ | | data4 = {{{level|}}} | ||
+ | |||
+ | | label5 = Department | ||
+ | | data5 = {{{department|}}} | ||
+ | |||
+ | | label6 = Kind | ||
+ | | data6 = {{{kind|}}} | ||
− | | | + | | label7 = [https://en.wikipedia.org/wiki/European_Credit_Transfer_and_Accumulation_System ECTS] |
− | | | + | | data7 = {{{ects|}}} |
− | | | + | | label8 = Grade |
− | | | + | | data8 = {{{grade|}}} |
− | | | + | | header9 = Schedule |
− | |||
− | | | + | | label10 = Teaching |
− | | | + | | data10 = {{{schedule_teaching|}}} |
− | | | + | | label11 = Self study |
− | | | + | | data11 = {{{schedule_selfstudy|}}} |
− | | | + | | label12 = Exam |
− | | | + | | data12 = {{{schedule_exam|}}} |
− | | | + | | header13 = Teachers |
− | | | + | | data14 = {{{teacher1|}}} |
+ | | data15 = {{{teacher2|}}} | ||
+ | | data16 = {{{teacher3|}}} | ||
+ | | data17 = {{{teacher4|}}} | ||
+ | | data18 = {{{teacher5|}}} | ||
− | | | + | }}</includeonly> |
− | | | + | <noinclude> |
+ | == Usage == | ||
+ | <nowiki> | ||
+ | {{Infobox Modul|name=xyz|id=xyz|...}} | ||
+ | </nowiki> | ||
+ | == Arguments == | ||
− | }} | + | <templatedata> |
− | {{ | + | { |
− | < | + | "params": { |
+ | "name": { | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "id": { | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "responsible_image": {}, | ||
+ | "responsible_image_size": {}, | ||
+ | "responsible_image_alt": {}, | ||
+ | "caption1": {}, | ||
+ | "responsible1": {}, | ||
+ | "responsible2": {}, | ||
+ | "year": {}, | ||
+ | "level": {}, | ||
+ | "department": {}, | ||
+ | "kind": {}, | ||
+ | "ects": {}, | ||
+ | "grade": {}, | ||
+ | "schedule": {}, | ||
+ | "image2": {}, | ||
+ | "image2_size": {}, | ||
+ | "image2_alt": {}, | ||
+ | "caption2": {}, | ||
+ | "teachers": {} | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:11, 5 November 2018
Usage
{{Infobox Modul|name=xyz|id=xyz|...}}
Arguments
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description
| String | optional |
Id | id | no description
| String | optional |
Responsible_image | responsible_image | no description
| Unknown | optional |
Responsible_image_size | responsible_image_size | no description
| Unknown | optional |
Responsible_image_alt | responsible_image_alt | no description
| Unknown | optional |
Caption1 | caption1 | no description
| Unknown | optional |
Responsible1 | responsible1 | no description
| Unknown | optional |
Responsible2 | responsible2 | no description
| Unknown | optional |
Year | year | no description
| Unknown | optional |
Level | level | no description
| Unknown | optional |
Department | department | no description
| Unknown | optional |
Kind | kind | no description
| Unknown | optional |
Ects | ects | no description
| Unknown | optional |
Grade | grade | no description
| Unknown | optional |
Schedule | schedule | no description
| Unknown | optional |
Image2 | image2 | no description
| Unknown | optional |
Image2_size | image2_size | no description
| Unknown | optional |
Image2_alt | image2_alt | no description
| Unknown | optional |
Caption2 | caption2 | no description
| Unknown | optional |
Teachers | teachers | no description
| Unknown | optional |