Template:Cladist: Difference between revisions

From Post-Self
(Get rid of appearances, add quit date)
(Add templatedata.)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
<includeonly><onlyinclude>{| class="wikitable" style="margin: 1em; margin-right: 0; float: right; clear: right; max-width: min(360px, 40%);"
| title  = Cladist
! colspan="2" | {{{name}}}
| headerstyle = background:lightgrey
|-
| labelstyle = text-align:right
! colspan="2" style="font-weight: normal; font-size: 95%;" | ''{{{pronouns}}}''
| bodystyle = float:right;max-width:25%
|-
{{#if: {{{image|}}} | {{pipe escape |
! colspan{{=}}"2" | [[File:{{{image}}}|frameless]]
|-
}}}}
{{#if: {{{source|}}} | {{pipe escape |
! colspan{{=}}"2" style{{=}}"font-weight: normal; font-size: 95%;" | Source: {{{source}}}
|-
}}}}
! colspan="2" | Cladistics
|-
{{#if: {{{clade|}}} | {{pipe escape |
! Clade
| {{{clade}}}
|-
}}}}
{{#if: {{{forked|}}} | {{pipe escape |
! Forked
| {{{forked}}}
|-
}}}}
{{#if: {{{uploaded|}}} | {{pipe escape |
! Uploaded
| {{{uploaded}}}
|-
}}}}
{{#if: {{{quit|}}} | {{pipe escape |
! Quit
| {{{quit}}}
|-
}}}}
{{#if: {{{crashed|}}} | {{pipe escape |
! Crashed
| {{{crashed}}}
|-
}}}}
{{#if: {{{downtree|}}} | {{pipe escape |
! Down-Tree
| [[{{{downtree}}}]]
|-
}}}}
{{#if: {{{uptrees|}}} | {{pipe escape |
! Up-Trees
|
{{{uptrees}}}
}}}}
|}</onlyinclude></includeonly>


| header1 = {{{name}}}
= Usage =
| label2 = Clade | data2 = [[{{{clade}}}]]
Displays a table of basic information about a cladist to the right of the page. Only <code>name</code> and <code>pronouns</code> are required.
  | label3 = Pronouns | data3 = {{{pronouns}}}
<pre><nowiki>
{{Cladist
| name    = <name>
| pronouns = <pronouns>
| image    = <image>
| source  = <source>
| clade    = <clade>
| forked  = <forked>
| uploaded = <uploaded>
| quit    = <quit>
| crashed = <crashed>
| downtree = <downtree>
| uptrees  =
* <first uptree>
* <second uptree>
* <...>
}}
</nowiki></pre>
<code>image</code> must be the filename and its extension, not a <code><nowiki>[[File:filename.ext|options]]</nowiki></code> substitution.


| header4 = Cladistics
= Example =
| label5 = Forked | data5 = {{{forked|}}}
{{Cladist
| label6 = Uploaded | data6 = {{{uploaded|}}}
| name    = Dear
|  label7 = Quit | data7 {{{quit|}}}
| pronouns = it/its
| label8 = Down-tree | data8 = {{{downtree|}}}
| image    = Dear forking.png
label9 = Up-trees | data9 = {{{uptrees|}}}
| source  = [[Iris Jay]]
| clade    = [[The Ode clade]]
| forked  = {{Systime|2173|2|14}}
| downtree = [[Rye]]
| uptrees =  
* [[Dear Pollux|Dear#Pollux]]
* [[Dear Castor|Dear#Castor]]
* [[Warmth In Fire]]
}}
}}
<pre><nowiki>{{Cladist
| name    = Dear
| pronouns = it/its
| image    = Dear forking.png
| source  = [[Iris Jay]]
| clade    = [[The Ode clade]]
| forked  = {{Systime|2173|2|14}}
| downtree = [[Rye]]
| uptrees  =
* [[Dear Pollux|Dear#Pollux]]
* [[Dear Castor|Dear#Castor]]
* [[Warmth In Fire]]
}}</nowiki></pre>
= Parameters =
<templatedata>
{
"description": "Displays a table of basic information about a cladist to the right of the page.",
"params": {
"name": {"label": "Name", "required": true, "example": "True Name", "type": "line", "description": "The short, common name of the cladist."},
"pronouns": {"label": "Pronouns", "required": true, "example": "Ey/Em, They/Them, She/Her, It/Its", "type": "line", "description": "The cladist's preferred pronouns."},
"image": {"label": "Image", "example": "Dear_forking.png", "type": "wiki-file-name", "description": "An image depicting the cladist."},
"source": {"label": "Image Source", "example": "[https://irisjay.net/ Iris Jay]", "type": "line", "description": "The source of the image, ideally a direct link to the artist's gallery displaying the original image."},
"clade": {"label": "Clade", "example": "[[The Ode clade]]", "type": "line", "description": "The cladist's clade identifier."},
"forked": {"label": "Forked Timestamp", "example": "{{Systime|2173|2|14}}", "type": "line", "description": "The time at which the cladist forked."},
"uploaded": {"label": "Uploaded Timestamp", "example": "{{Systime|2173|2|14}}", "type": "line", "description": "The time at which the cladist uploaded."},
"quit": {"label": "Quit Timestamp", "example": "{{Systime|2173|2|14}}", "type": "line", "description": "The time at which the cladist quit."},
"crashed": {"label": "Crash Timestamp", "example": "{{Systime|2173|2|14}}", "type": "line", "description": "The time at which the cladist crashed."},
"downtree": {"label": "Direct Down-tree", "suggested": true, "example": "Rye", "type": "wiki-page-name", "description": "The cladist's direct down-tree."},
"uptrees": {"label": "Up-trees", "example": "* [[Codrin Bălan]]\n* [[Aurel Bălan]]", "type": "content", "description": "A list of the cladist's up-trees."}
},
"sets": [
{"label": "Image", "params": ["image", "source"]}
]
}
</templatedata>

Latest revision as of 06:26, 7 February 2024


Usage

Displays a table of basic information about a cladist to the right of the page. Only name and pronouns are required.

{{Cladist
| name     = <name>
| pronouns = <pronouns>
| image    = <image>
| source   = <source>
| clade    = <clade>
| forked   = <forked>
| uploaded = <uploaded>
| quit     = <quit>
| crashed  = <crashed>
| downtree = <downtree>
| uptrees  =
* <first uptree>
* <second uptree>
* <...>
}}

image must be the filename and its extension, not a [[File:filename.ext|options]] substitution.

Example

Dear
it/its
Source: Iris Jay
Cladistics
Clade The Ode clade
Forked 49+45
Down-Tree [[Rye]]
Up-Trees
{{Cladist
| name     = Dear
| pronouns = it/its
| image    = Dear forking.png
| source   = [[Iris Jay]]
| clade    = [[The Ode clade]]
| forked   = {{Systime|2173|2|14}}
| downtree = [[Rye]]
| uptrees  = 
* [[Dear Pollux|Dear#Pollux]]
* [[Dear Castor|Dear#Castor]]
* [[Warmth In Fire]]
}}

Parameters

Displays a table of basic information about a cladist to the right of the page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

The short, common name of the cladist.

Example
True Name
Linerequired
Pronounspronouns

The cladist's preferred pronouns.

Example
Ey/Em, They/Them, She/Her, It/Its
Linerequired
Imageimage

An image depicting the cladist.

Example
Dear_forking.png
Fileoptional
Image Sourcesource

The source of the image, ideally a direct link to the artist's gallery displaying the original image.

Example
[https://irisjay.net/ Iris Jay]
Lineoptional
Cladeclade

The cladist's clade identifier.

Example
[[The Ode clade]]
Lineoptional
Forked Timestampforked

The time at which the cladist forked.

Example
{{Systime|2173|2|14}}
Lineoptional
Uploaded Timestampuploaded

The time at which the cladist uploaded.

Example
{{Systime|2173|2|14}}
Lineoptional
Quit Timestampquit

The time at which the cladist quit.

Example
{{Systime|2173|2|14}}
Lineoptional
Crash Timestampcrashed

The time at which the cladist crashed.

Example
{{Systime|2173|2|14}}
Lineoptional
Direct Down-treedowntree

The cladist's direct down-tree.

Example
Rye
Page namesuggested
Up-treesuptrees

A list of the cladist's up-trees.

Example
* [[Codrin Bălan]]
  • [[Aurel Bălan]]
Contentoptional