Difference between revisions of "Template:Inheritance Theory"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
Among other values, the template also stores a property <code><nowiki>Disjoint Group Order</nowiki></code> for the ease of sorting. It can have one of three possible values, depending on the value of <code><nowiki>Disjoint Group</nowiki></code>: | Among other values, the template also stores a property <code><nowiki>Disjoint Group Order</nowiki></code> for the ease of sorting. It can have one of three possible values, depending on the value of <code><nowiki>Disjoint Group</nowiki></code>: | ||
* <code><nowiki>1</nowiki></code> - if <code><nowiki>Disjoint Group=Main</nowiki></code> to ensure that the disjoints in the main category are shown first. | * <code><nowiki>1</nowiki></code> - if <code><nowiki>Disjoint Group=Main</nowiki></code> to ensure that the disjoints in the main category are shown first. | ||
− | * <code><nowiki>2</nowiki></code> - if <code><nowiki>Disjoint Group</nowiki></code> anything but "Main" or empty, to ensure that these disjoints are presented after the main category. | + | * <code><nowiki>2</nowiki></code> - if <code><nowiki>Disjoint Group</nowiki></code> is anything but "Main" or empty, to ensure that these disjoints are presented after the main category. |
* <code><nowiki>3</nowiki></code> - if <code><nowiki>Disjoint Group</nowiki></code> is empty, in which case a property <code><nowiki>Disjoint Group=None</nowiki></code> is stored. The subtypes with <code><nowiki>Disjoint Group=None</nowiki></code> will be printed at the end - each subtype separately (one at a time) without being grouped. | * <code><nowiki>3</nowiki></code> - if <code><nowiki>Disjoint Group</nowiki></code> is empty, in which case a property <code><nowiki>Disjoint Group=None</nowiki></code> is stored. The subtypes with <code><nowiki>Disjoint Group=None</nowiki></code> will be printed at the end - each subtype separately (one at a time) without being grouped. | ||
Revision as of 16:39, 25 December 2022
This is the "Inheritance Theory" template. This template is to be used for ontological claims about the subtypes and supertypes. It is currently used by Form:Inheritance Theory.
Among other values, the template also stores a property Disjoint Group Order
for the ease of sorting. It can have one of three possible values, depending on the value of Disjoint Group
:
1
- ifDisjoint Group=Main
to ensure that the disjoints in the main category are shown first.2
- ifDisjoint Group
is anything but "Main" or empty, to ensure that these disjoints are presented after the main category.3
- ifDisjoint Group
is empty, in which case a propertyDisjoint Group=None
is stored. The subtypes withDisjoint Group=None
will be printed at the end - each subtype separately (one at a time) without being grouped.
It should be called in the following format:
{{Inheritance Theory |Parent= |Child= |Disjoint Group= // if empty, "None" will be saved for ease of processing |Description= |Formulated Year= |Authors List= |Resource= |Formulation File= |Prehistory= |History= |Page Status= |Editor Notes= }}
Edit the page to see the template text.