Difference between revisions of "Template:Generic Class"
Jump to navigation
Jump to search
Megankatsumi (talk | contribs) (Created page with "<noinclude> This is the "New Term" template. It should be called in the following format: <pre> {{New Term |Term name= |Text Description= |Term type= |Term status= |Definition...") |
Megankatsumi (talk | contribs) m (Protected "Template:Generic Class" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(43 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the " | + | This is the "Generic Class" template. |
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
− | {{ | + | {{Generic Class |
− | | | + | |Class Name= |
− | | | + | |Class Description= |
− | |Term | + | |Term Status= |
− | | | + | |Definition= |
− | | | + | |Subclasses= |
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | == | + | {{#default_form:Generic Class}} |
− | {{{ | + | ==Class== |
+ | {{{Class Name|}}} | ||
− | == | + | ==Class Description== |
− | {{{ | + | {{{Class Description|}}} |
− | == | + | ==Term status== |
− | {{{Term | + | [[Term status::{{{Term Status|}}}]] |
+ | |||
+ | ==Definition== | ||
+ | {{{Definition|}}} | ||
+ | |||
+ | ==Subclasses== | ||
+ | {{#ask: [[Owl:SubClassOf::{{PAGENAME}}]] | ||
+ | |format=ul | ||
+ | |limit=50 | ||
+ | |offset=0 | ||
+ | |link=all | ||
+ | |sort= | ||
+ | |order=asc | ||
+ | |headers=show | ||
+ | |searchlabel=... further results | ||
+ | |propsep=, | ||
+ | |valuesep=, | ||
+ | }} | ||
− | == | + | <!-- show option to propose subclass if the generic class is pending approval or approved --> |
− | {{{Term | + | {{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=Subclass_Definition|query string=Subclass_Definition[Subclass Of]={{PAGENAME}}|button text=submit}} | }} |
+ | |||
+ | {{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=Subclass_Definition|query string=Subclass_Definition[Subclass Of]={{PAGENAME}}|button text=submit}} | }} | ||
− | |||
− | |||
− | [[Category: | + | <comments /> |
+ | [[Category:Class]] | ||
</includeonly> | </includeonly> |
Latest revision as of 20:56, 22 November 2019
This is the "Generic Class" template. It should be called in the following format:
{{Generic Class |Class Name= |Class Description= |Term Status= |Definition= |Subclasses= }}
Edit the page to see the template text.