Template:Class infobox: Difference between revisions
From Absit Omen Lexicon
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
tables=Occupations | tables=Occupations | ||
|fields=_pageName, date_started=,date_ended= | |fields=_pageName, date_started=,date_ended= | ||
|where=type="Hogwarts" AND department="{{{name|}}}" AND current_occupation=" | |where=type="Hogwarts" AND department="{{{name|}}}" AND current_occupation="1" | ||
|limit=2 | |limit=2 | ||
|default=OPEN | |default=OPEN | ||
Line 64: | Line 64: | ||
tables=Occupations | tables=Occupations | ||
|fields=_pageName, date_started,date_ended | |fields=_pageName, date_started,date_ended | ||
|where=type="Hogwarts" AND department="{{{name|}}}" AND current_occupation=" | |where=type="Hogwarts" AND department="{{{name|}}}" AND current_occupation="0" | ||
|default=No Previous Professors | |default=No Previous Professors | ||
|order by=date_ended DESC | |order by=date_ended DESC |
Latest revision as of 19:24, 13 July 2022
Usage
{{Class infobox |image=''class image, maximum 250px'' |name=''Full title'' |professor=''Name of Professor'' |classroom=''Classroom board'' |format=''Class format'' |type=''Class type, core or elective.'' |threads=''Link to class' thread tag.'' |textbooks=''Known textbooks required by students'' |equipment=''Known equipment required by students'' |previous=''Previous Professors'' |link=''Related Links, separated by comma'' }}
Clean template
{{Class infobox |image= |name= |professor= |classroom= |format= |type= |threads= |textbooks= |equipment= |previous= |links= }}
The above documentation is transcluded from Template:Class infobox/doc. (edit | history) |