Template:Class infobox: Difference between revisions
From Absit Omen Lexicon
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
{{#cargo_query: | {{#cargo_query: | ||
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="Yes" | |where=type="Hogwarts" AND department="{{{name|}}}" AND current_occupation="Yes" | ||
|limit=2 | |limit=2 | ||
|default=OPEN | |default=OPEN | ||
|more results text= | |more results text= | ||
|format= | |format=template | ||
|template=Class infobox/professor | |||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 63: | Line 64: | ||
tables=Occupations | tables=Occupations | ||
|fields=_pageName, date_started,date_ended | |fields=_pageName, date_started,date_ended | ||
|where=type="Hogwarts" AND department="{{{name|}}}" | |where=type="Hogwarts" AND department="{{{name|}}}" AND current_occupation="No" | ||
|default=No Previous Professors | |default=No Previous Professors | ||
|more results text= | |more results text= | ||
|format= | |format=template | ||
|template=Class infobox/professor | |||
}} | }} | ||
{{!}}- | {{!}}- |
Revision as of 17:48, 1 December 2015
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) |