Difference between revisions of "Template:Corpus Aristotelicum table/sandbox"
imported>Sardanaphalus (removed Key section, stripped other sections) |
imported>Sardanaphalus (restored previous parameter handling) |
||
| Line 11: | Line 11: | ||
Sections | Sections | ||
---================================================--> | ---================================================--> | ||
| − | {{#ifeq: | + | {{#ifeq: {{#if:{{{1|}}} <!--(One or more unnamed parameters specify a partial listing, so check if any are set as "logic":)--> |
| − | + | | {{#ifeq:{{{1|}}}|logic |addsection | |
| − | + | | {{#ifeq:{{{2|}}}|logic |addsection | |
| − | + | | {{#ifeq:{{{3|}}}|logic |addsection | |
| − | + | | {{#ifeq:{{{4|}}}|logic |addsection | |
| − | + | }} }} }} }} | |
| + | | addsection <!--(default is to add section as no unnamed parameters imply full listing)--> | ||
| + | }} | addsection | ||
| + | |<!--(result of above is "addsection", so:) | ||
---------------------- | ---------------------- | ||
Logic | Logic | ||
| Line 23: | Line 26: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}} | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{2|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|physics |addsection | ||
| + | }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| <!--------------------- | | <!--------------------- | ||
Physics | Physics | ||
| Line 30: | Line 40: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{# | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{1|}}}|parva |addsection | ||
| + | | {{#ifeq:{{{2|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|physics |addsection | ||
| + | }} }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| <!-----Parva Naturalia-----> | | <!-----Parva Naturalia-----> | ||
{{!}} {{!!}}colspan="2"{{!}} '''''[[Parva Naturalia]]''''' {{smaller|("Little Physical Treatises")}} | {{!}} {{!!}}colspan="2"{{!}} '''''[[Parva Naturalia]]''''' {{smaller|("Little Physical Treatises")}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}} | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{2|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|physics |addsection | ||
| + | }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| <!-----(Physics, cont'd)-----> | | <!-----(Physics, cont'd)-----> | ||
{{!}}style="padding-right:1.0em;text-align:right;"{{!}} | {{!}}style="padding-right:1.0em;text-align:right;"{{!}} | ||
| Line 42: | Line 67: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{# | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{1|}}}|animals |addsection | ||
| + | | {{#ifeq:{{{2|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|physics |addsection | ||
| + | }} }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| <!----(Animals-related)----> | | <!----(Animals-related)----> | ||
{{!}}style="padding-right:1.0em;text-align:right;"{{!}} | {{!}}style="padding-right:1.0em;text-align:right;"{{!}} | ||
| Line 50: | Line 83: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}} | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{2|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|physics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|physics |addsection | ||
| + | }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| <!-----(Physics, cont'd)-----> | | <!-----(Physics, cont'd)-----> | ||
{{!}}style="padding-right:1.0em;text-align:right;"{{!}} | {{!}}style="padding-right:1.0em;text-align:right;"{{!}} | ||
| Line 57: | Line 97: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}} | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|metaphysics |addsection | ||
| + | | {{#ifeq:{{{2|}}}|metaphysics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|metaphysics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|metaphysics |addsection | ||
| + | }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| + | |||
| <!--------------------- | | <!--------------------- | ||
Metaphysics | Metaphysics | ||
| Line 65: | Line 113: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}} | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|ethics-politics |addsection | ||
| + | | {{#ifeq:{{{2|}}}|ethics-politics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|ethics-politics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|ethics-politics |addsection | ||
| + | }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| <!--------------------- | | <!--------------------- | ||
Ethics / Politics | Ethics / Politics | ||
| Line 72: | Line 127: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | {{#ifeq: {{#if:{{{1|}}} |{{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}} | + | {{#ifeq: {{#if:{{{1|}}} |
| + | | {{#ifeq:{{{1|}}}|rhetoric-poetics |addsection | ||
| + | | {{#ifeq:{{{2|}}}|rhetoric-poetics |addsection | ||
| + | | {{#ifeq:{{{3|}}}|rhetoric-poetics |addsection | ||
| + | | {{#ifeq:{{{4|}}}|rhetoric-poetics |addsection | ||
| + | }} }} }} }} | ||
| + | | addsection | ||
| + | }} | addsection | ||
| <!--------------------- | | <!--------------------- | ||
Rhetoric / Poetics | Rhetoric / Poetics | ||
Revision as of 15:19, 9 December 2014
| 40x40px | Documentation for this template is at the bottom of the page. |
| Bekker number |
Work | Latin name |
| Logic | ||
| Physics (natural philosophy) | ||
| Parva Naturalia ("Little Physical Treatises") | ||
| (Physics, cont'd (1)) | ||
| History of Animals | ||
| (Physics, cont'd (2)) | ||
| Metaphysics | ||
| Ethics and politics | ||
| Rhetoric and poetics | ||
| 50px | This is the template sandbox page for Template:Corpus Aristotelicum table (diff). See also the companion subpage for test cases. |
{{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, {{Corpus Aristotelicum table |rhetoric-poetics |ethics-politics |metaphysics}} yields:
| 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
{{Corpus Aristotelicum table |parva}} and {{Corpus Aristotelicum table |animals}} 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
- {{The Works of Aristotle}} sidebar.
- {{Aristotelianism}} sidebar.
| The above documentation is transcluded from Template:Corpus Aristotelicum table/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |