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

From blackwiki
Jump to navigation Jump to search
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":)-->
  {{#if:{{{1|}}}  <!--(if at least one parameter supplied, check if it or any other is "logic":)-->
+
          | {{#ifeq:{{{1|}}}|logic          |addsection
    | {{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}}}|logic |addsection}}
+
            | {{#ifeq:{{{2|}}}|logic      |addsection
    | addsection       <!--(if no parameter/s supplied, include Logic section by default)-->
+
                | {{#ifeq:{{{3|}}}|logic    |addsection
  }} | addsection     <!--(if "addsection" is result of the above...-->
+
                  | {{#ifeq:{{{4|}}}|logic |addsection
|<!-- ...then add Logic section:
+
            }} }} }} }}
 +
          | 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|}}}}}}}}}}}}|physics |addsection}} |addsection}} | addsection
+
{{#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|}}} |{{#switch:{{{1|}}} |physics|parva=addsection |{{#ifeq:{{{2|{{{3|{{{4|}}}}}}}}}|physics |addsection}} }} |addsection}} | addsection
+
{{#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]]''''' &nbsp;{{smaller|("Little Physical Treatises")}}
 
{{!}} {{!!}}colspan="2"{{!}} '''''[[Parva Naturalia]]''''' &nbsp;{{smaller|("Little Physical Treatises")}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#ifeq: {{#if:{{{1|}}} |{{#ifeq:{{{1|{{{2|{{{3|{{{4|}}}}}}}}}}}}|physics |addsection}} |addsection}} | addsection
+
{{#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|}}} |{{#switch:{{{1|}}} |physics|animals=addsection |{{#ifeq:{{{2|{{{3|{{{4|}}}}}}}}}|physics |addsection}} }} |addsection}} | addsection
+
{{#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|}}}}}}}}}}}}|physics |addsection}} |addsection}} | addsection
+
{{#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|}}}}}}}}}}}}|metaphysics |addsection}} |addsection}} | addsection
+
{{#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|}}}}}}}}}}}}|ethics-politics |addsection}} |addsection}} | addsection
+
{{#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|}}}}}}}}}}}}|rhetoric-poetics |addsection}} |addsection}} | addsection
+
{{#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

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 Template documentation[view] [edit] [history] [purge]


{{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:

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

{{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