Difference between revisions of "Template:Corpus Aristotelicum table/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(added "parva" and "animals" options)
imported>Sardanaphalus
(some rephrasing/formatting, update (position/border options))
Line 1: Line 1:
{{documentation subpage}}
+
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
+
<!-- Categories where indicated at the bottom of this page, please; interwikis at Wikidata. -->
== Usage ==
+
__NOTOC__
<code><nowiki>{{Corpus Aristotelicum table}}</nowiki></code> renders table as above, i.e. in full.
 
  
To render up to four of the table's five sections, include any/all of the parameters ''logic'', ''physics'', ''metaphysics'', ''ethics-politics'', ''rhetoric-politics''.
+
{{tl|Corpus Aristotelicum table}} is a customizable list of the works by (or attributed to) [[Aristotle]] that are known collectively as the [[Corpus Aristotelicum]].
 
 
For instance, <code><nowiki>{{Corpus Aristotelicum table |rhetoric-poetics |ethics-politics |metaphysics}}</nowiki></code> yields:
 
  
 +
===Full and partial renderings===
 +
{{tc|Corpus Aristotelicum table}} renders the table as above, i.e. in full. To render up to four of the table's five sections, include any/all of the parameters {{mono|{{!}}logic {{!}}physics {{!}}metaphysics {{!}}ethics-politics {{!}}rhetoric-politics}}. For instance, {{tcpl|Corpus Aristotelicum table&nbsp;|rhetoric-poetics&nbsp;|ethics-politics&nbsp;|metaphysics}} yields:
 
<div style="padding:1.0em 0;background:ghostwhite;">
 
<div style="padding:1.0em 0;background:ghostwhite;">
 
{{Corpus Aristotelicum table |rhetoric-poetics |ethics-politics |metaphysics}}
 
{{Corpus Aristotelicum table |rhetoric-poetics |ethics-politics |metaphysics}}
 
</div>
 
</div>
 +
The list should remain ordered by [[Bekker numbers|Bekker number]] regardless of the order in which the parameters are included.
  
(The [[Bekker numbers|Bekker-number]] order is retained&nbsp;– i.e. in this case, by section, "Metaphysics" followed by "Ethics and politics" followed by "Rhetoric and poetics"&nbsp;– even though the parameters are supplied in a different order.)
+
====Single sections====
 
+
{{plaincode|<nowiki>{{Corpus Aristotelicum table |parva}}</nowiki>}} and {{plaincode|<nowiki>{{Corpus Aristotelicum table |animals}}</nowiki>}} render, respectively, the ''Parva Naturalia'' and animals-related sections of the Physics works.
The ''Parva Naturalia'' and animals-related sections of the Physics works may be rendered alone using, respectively, <code><nowiki>{{Corpus Aristotelicum table |parva}}</nowiki></code> and <code><nowiki>{{Corpus Aristotelicum table |animals}}</nowiki></code>.
 
  
To suppress inclusion of the "Key" box at the top of the table, add the parameter <code><nowiki>|key=omit</nowiki></code>.
+
===position, border, key===
 +
To centre/center the list (horizontally), set {{mono|position}} as "centre", "center", "centred" or "centered" (e.g. {{mono|{{!}}position{{=}}centered}}). The border around the list and/or "Key" box at its top may be omitted by setting {{mono|border}} and/or {{mono|key}} {{tlbare|If declined|negatively}} (e.g. {{mono|{{!}}border{{=}}remove}}, {{mono|{{!}}key{{=}}omit}}).
  
== See also ==
+
===See also===
 
* {{tl|The Works of Aristotle}} sidebar.
 
* {{tl|The Works of Aristotle}} sidebar.
 
* {{tl|Aristotelianism}} sidebar.
 
* {{tl|Aristotelianism}} sidebar.
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
<!-- Categories go here and interwikis go in Wikidata. -->
+
| <!-- Categories below this line, please; interwikis to Wikidata. -->
 
[[Category:Philosophy and thinking templates]]
 
[[Category:Philosophy and thinking templates]]
 
[[Category:Literature templates]]
 
[[Category:Literature templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:14, 9 December 2014


{{Corpus Aristotelicum table}} is a customizable list of the works by (or attributed to) Aristotle that are known collectively as the Corpus Aristotelicum.

Full and partial renderings

{{Corpus Aristotelicum table}} renders the table as above, i.e. in full. To render up to four of the table's five sections, include any/all of the parameters |logic |physics |metaphysics |ethics-politics |rhetoric-politics. For instance, Template:Tcpl yields:

Key
Bekker
number
Work Latin name
Metaphysics
980a Metaphysics Metaphysica
Ethics and politics
1094a Nicomachean Ethics Ethica Nicomachea
1181a Great Ethics* Magna Moralia*
1214a Eudemian Ethics Ethica Eudemia
1249a On Virtues and Vices De Virtutibus et Vitiis Libellus
1252a Politics Politica
1343a Economics* Oeconomica*
Rhetoric and poetics
1354a Rhetoric Ars Rhetorica
1420a Rhetoric to Alexander Rhetorica ad Alexandrum
1447a Poetics Ars Poetica

The list should remain ordered by Bekker number regardless of the order in which the parameters are included.

Single sections

Template:Plaincode and Template:Plaincode render, respectively, the Parva Naturalia and animals-related sections of the Physics works.

position, border, key

To centre/center the list (horizontally), set position as "centre", "center", "centred" or "centered" (e.g. |position=centered). The border around the list and/or "Key" box at its top may be omitted by setting border and/or key negatively (e.g. |border=remove, |key=omit).

See also