Template:Cladist: Difference between revisions

From Post-Self
m (Add caption field.)
m (Fix caption.)
Line 5: Line 5:
|-
|-
{{#if: {{{image|}}} | {{pipe escape |
{{#if: {{{image|}}} | {{pipe escape |
! colspan{{=}}"2" | [[File:{{{image}}}|frameless|{{{source}}}]]
! colspan{{=}}"2" | [[File:{{{image}}}|frameless]]
|-
}}}}
{{#if: {{{source|}}} | {{pipe escape |
! colspan{{=}}"2" | {{{source}}}
|-
|-
}}}}
}}}}

Revision as of 02:05, 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
asdf
Cladistics
Clade The Ode clade
Forked 49+45
Down-Tree Rye
Up-Trees
{{Cladist
| name     = Dear
| pronouns = it/its
| image    = Dear forking.png
| source   = asdf
| clade    = [[The Ode clade]]
| forked   = {{Systime|2173|2|14}}
| downtree = [[Rye]]
| uptrees  = 
* [[Dear Pollux|Dear#Pollux]]
* [[Dear Castor|Dear#Castor]]
* [[Warmth In Fire]]
}}