Jump to content

User:SilverTiger12/sandbox4

From Wikipedia, the free encyclopedia

Templates

[edit]

Something like the Template:Species table series, to both standardize and make additions to easier to add to the lists.

{{Paleotaxon year list}}

<includeonly>{| class="wikitable{{if||{{{sortable|}}}| sortable|}}" style="width:{{if||{{{narrow-percent|}}}|{{{narrow-percent}}}|100}}%;text-align:center"
!scope="col" style="width:15%; min-width:180px;"|Name
!scope="col" style="width:25%;"|Novelty
!scope="col" style="width:15%; min-width:180px;"|Authors
!scope="col" style="width:15%;"|Age
!scope="col" style="width:15%;"|Type locality
!scope="col" style="width:15%;"|Country
{{if||{{{no-ecology|}}}||!scope{{=}}"col" style{{=}}"width:29%;"{{!}}Notes}}</includeonly>


{{Paleotaxon year list/row}}

Parameters:
|name=
|novelty=
|authors=
|age=
|type locality=
|country=
|notes=

<includeonly>|-
!scope="row"|{{{name}}}
|{{{Novelty}}}
|{{{Authors}}}
|{{{Age}}}
|{{{Type locality}}}
|{{{Country}}}
{{if||{{{Notes|}}}}}
</includeonly>


{{Paleotaxon year list/end}}

#REDIRECT [[Template:End]]

{{Rcat shell|
{{R with history}}
}}

Additional templates for similar reasons to consider:

  • Paleobiota list
    • Parameters: taxon, image, locality/member, material, notes

Paleospecies table

[edit]

Template:Paleospecies table

  • Paleotaxon list (for lists by taxon, e.g. List of mosasaurs) - think a paleontological equivalent to the stellar lists of extant species.
    • Parameters: taxon, image/diagram?, ... geological range, geographic range...
    • Column 1: Species name, authority, picture (of fossils (preferred) or life restoration)
    • Column 2: Skeletal diagram- silhouette/diagram that shows known material and size.
    • Column 3: Geological range, geographical range, range map
    • Column 4: Size and habitat

(An (inaccurate) mock-up) * (Column widths are 20/25/30/25 here, still under consideration)

Genus: VishnufelisPilgrim, 1932 – 1 species
Species name Skeletal diagram Range Size and ecology
Vishnufelis laticeps
Pilgrim, 1932

Partial fossil skull in top and bottom view

[Image here] Miocene[1]
Chinji Formation in Jhelum, India[1]
Map of range
Size: Small[1]

Habitat: Plains[1]
End result parameters:

Top of the table: Very similar to
{{Paleospecies table
<!--Required-->
| genus          = 
| authority-name =
| authority-year =
| species-count  =
<!--Optional-->
| authority-not-original = adds parentheses around author citation
| extant                 = yes/no; when yes changes text of header to read "# fossil species" - not added yet!
| group-name             = replaces "genus" with different text, e.g. "subgenus"
}}

{{Paleospecies table/row
<!--Required-->
| name               =
| authority-name     =
| authority-year     =
| fossil-image       =
| skeletal-diagram   =
| diagram-caption    =
| geological-range   =
| geographical-range =
| range-map          = <!--Perhaps have a second parameter, coordinate-map, exclusive of this one to accommodate when a coordinate map template is used instead (e.g. at Pachypanthera)-->
| length             = <!--body length-->
| height             = <!--shoulder height-->
| weight             =
| habitat            =
<!--Optional-->
| authority-not-original =
| fossil-image-size      =
| fossil-image-alt       =
| skeletal-diagram-size  =
| skeletal-diagram-alt   =
| range-map-size         =
| range-map-alt          =
}}

{{Paleospecies table/end}}


CODE BEHIND END RESULT

Top:
<includeonly>{| class="wikitable" style="width:100%; text-align:center"
|+ style="background-color: #BBBBFF"|{{if||{{{group-name|}}}|{{{group-name}}}|Genus}} '''''{{{genus}}}''''' – <small>{{if||{{{authority-not-original|}}}|(|}}{{{authority-name}}}, {{{authority-year}}}{{if||{{{authority-not-original|}}}|)|}}</small>{{{species-count}}} species
|-
!scope="col" style="width:20%; min-width:180px;"|Species name
!scope="col" style="width:25%;"|Skeletal diagram
!scope="col" style="width:30%; min-width:180px;"|Range
!scope="col" style="width:25%;"|Size and ecology</includeonly>

Row:
<includeonly>|-
!scope="row"|{{{name}}}
<small>{{if||{{{authority-not-original|}}}|(|}}{{{authority-name}}}, {{{authority-year}}}{{if||{{{authority-not-original|}}}|)|}}</small>
{{if||{{{fossil-image|}}}|[[{{{fossil-image}}}|{{{fossil-image-size|180px}}}|alt={{{fossil-image-alt}}}]]|}}
|{{if||{{{diagram-caption|}}}|{{{diagram-caption}}}|}}
{{if||{{{skeletal-diagram|}}}|[[{{{skeletal-diagram}}}|{{{skeletal-diagram-size|180px}}}|alt={{{skeletal-diagram-alt}}}]]|}}
|{{{geological-range}}}
{{{geographic-range}}}
{{if||{{{range-map|}}}|[[{{{range-map}}}|{{{range-map-size|180px}}}|alt={{{range-map-alt}}}]]|}}
| style{{=}}"text-align:left;"{{!}}''Size'': {{if||{{{length|}}}|{{{length}}} body length<br/>|}}{{if||{{{height|}}}|{{{height}}} shoulder height<br/>|}}{{if||{{{weight|}}}|{{{weight}}} weight|}}<br/><br/>''Habitat'': {{if||{{{habitat|}}}|{{{habitat}}}|}}
</includeonly>

End:
#REDIRECT [[Template:End]]

Live versions:

For Commons

[edit]

A project to create a comprehensive paleoart template for Commons to record accuracy vs inaccuracy, conservative vs. imaginative, etc.

Current/base template:

{{autotranslate|base=Inaccurate paleoart/i18n
|historical={{yesno|{{{historical|}}}}}
|dinosaur={{yesno|{{{dinosaur|}}}}}
|reason={{{reason|}}}
}}
<includeonly>
{{#if: {{{reason|}}}|| [[Category:Inaccurate paleoart without rationale]]}}
{{#if: {{yesno|{{{skeleton|}}}}}
| {{#if: {{yesno|{{{dinosaur|}}}}}
  | [[Category:Inaccurate dinosaur skeletons]]
  | [[Category:Inaccurate skeletal reconstructions]]
  }}
| {{#if: {{yesno|{{{model|}}}}}
  | {{#if: {{yesno|{{{dinosaur|}}}}}
    | [[Category:Inaccurate dinosaur models]]
    | [[Category:Inaccurate paleoart models]]
    }}
  }}
}}
{{#if: {{yesno|{{{historical|}}}}}
| {{#if: {{yesno|{{{dinosaur|}}}}}
  | [[Category:Obsolete dinosaur restorations]]
  | [[Category:Obsolete paleoart]]
  }}
| {{#if: {{yesno|{{{dinosaur|}}}}}
  | {{#if: {{yesno|{{{coelurosauria|}}}}}
    | [[Category:Inaccurate Coelurosauria restorations]]
    | {{#if: {{yesno|{{{theropoda|}}}}}
      | [[Category:Inaccurate Theropoda restorations]]
      | {{#if: {{yesno|{{{sauropoda|}}}}}
        | [[Category:Inaccurate Sauropoda restorations]]
        | {{#if: {{yesno|{{{ornithischia|}}}}}
          | [[Category:Inaccurate Ornithischia restorations]]
          | [[Category:Inaccurate dinosaur restorations]]
          }}
        }}
      }}
    }}
  | [[Category:Inaccurate paleoart]]
  }}
  
The new template should be something like:
{{Paleoart
|1=conservative vs imaginative
|2=well-known vs fragmentary (the fossil material for the taxon it shows)
|historical= yes (leave blank if no) (If it is an image useful for historical purposes)
|inaccurate= yes (leave blank if no)
|review= (cross-wiki link to Paleoart review)
}}

Preferably with auto-categorization, and for the first two parameters cross-categorization ([Category:Conservative art of well-known taxa] and so forth.

Auto-cat code:
{{#if: {{yesno|{{{historical|}}} }}
| [[Category:Historical restorations]]
}}

<!--Piece one: establish parameters? and template basics-->
{{autotranslate|base=
|1=
|2=
|historical={{{historical|}}}
|inaccurate={{{inaccurate|}}}
|review={{{review|}}}
}}

<!--Piece two:Auto-categorization-->

<includeonly>
{{#if: {{{historical|}}}|yes|[[Category:Historical paleoart]]}}
{{#if: {{{inaccurate|}}}|yes|[[Category:Inaccurate paleoart]]}} <!--need to add code so that review is required here, second category for w/out reason-->
{{#if: {{{|}}}| [[Category:]]}}
{{#if: {{{|}}}|| [[Category:]]}}

{{#if: {{yesno|{{{inaccurate|}}}}}
| {{#if: {{yesno|{{{review|}}}||[[Category:Inaccurate paleoart without rationale]]}}
}}

<!--Parameter requirements: 1 & 2 are necessary unless historical or inaccurate are set to no (default behavior for those should be NO). If only 1 or 2 is used but not the other, ERROR.-->

To do list:

  • Build preliminary code
  • Inquire as to preferred category names.

References

[edit]
  1. ^ a b c d Pilgrim, G. (1932). "The fossil Carnivora of India". Palaeontologia Indica, Memoirs of the Geological Survey of India. 18: 206–209.