Difference between revisions of "Template:Cladogram/doc"

From blackwiki
Jump to navigation Jump to search
imported>Smith609
m (Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Parameters: {{para|title}} text to display at top...')
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(22 intermediate revisions by 18 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE END OF THIS PAGE -->
 +
{{Lua|Module:Check for unknown parameters}}
  
=== Usage ===
+
==Usage==
Parameters:
+
;Parameters:
 +
:{{para|title}} text to display at top
 +
:{{para|cladogram}} cladogram, constructed with [[Template:Clade]]
 +
:{{para|cladogram2}} second cladogram, constructed in the same way
 +
:{{para|caption}} caption to display under cladogram
 +
:{{para|align}} whether the cladogram should be right- or left-aligned (default right)
  
{{para|title}} text to display at top
+
'''Example:'''
{{para|clade}} cladogram, constructed with [[Template:Clade]]
+
{{cladogram|title=Example
{{para|caption}} caption to display under cladogram
+
|caption=Sample of Template:Cladogram
 +
|cladogram={{clade| style=font-size:85%;line-height:75%;width:300px;
 +
    |label1=[[Neornithes]]&nbsp;&nbsp;
 +
    |1={{clade
 +
        |label1=[[Paleognathae]]
 +
        |1=&nbsp;
 +
        |label2=&nbsp;[[Neognathae]]&nbsp;
 +
        |2={{clade
 +
            |1=Other birds
 +
            |label1=&nbsp;
 +
            |label2=[[Galloanserae]]&nbsp;
 +
            |2={{clade
 +
                |1=[[Anseriformes]]
 +
                |label2=&nbsp;&nbsp;&nbsp;&nbsp;
 +
                |2={{clade
 +
                    |1=[[Galliformes]]
 +
                    |2=[[Craciformes]]
 +
                    }}
 +
        }}
 +
            }}
 +
        }}
 +
    }}
 +
}}<pre>{{cladogram|title=Example
 +
|caption=Sample of Template:Cladogram
 +
|cladogram={{clade| style=font-size:85%;line-height:75%;width:300px;
 +
    |label1=[[Neornithes]]&nbsp;&nbsp;
 +
    |1={{clade
 +
        |label1=[[Paleognathae]]
 +
        |1=&nbsp;
 +
        |label2=&nbsp;[[Neognathae]]&nbsp;
 +
        |2={{clade
 +
            |1=Other birds
 +
            |label1=&nbsp;
 +
            |label2=[[Galloanserae]]&nbsp;
 +
            |2={{clade
 +
                |1=[[Anseriformes]]
 +
                |label2=&nbsp;&nbsp;&nbsp;&nbsp;
 +
                |2={{clade
 +
                    |1=[[Galliformes]]
 +
                    |2=[[Craciformes]]
 +
                    }}
 +
                }}
 +
            }}
 +
        }}
 +
    }}
 +
}}</pre>
  
=== See also ===
+
==Tracking category==
[[Template:Clade]]
+
* {{clc|Pages using cladogram with unknown parameters}}
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
  
</includeonly>
+
==See also==
 +
* {{tl|Clade}}
 +
 
 +
<includeonly>{{Sandbox other|
 +
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 +
[[Category:Genealogy formatting templates]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 14:45, 24 April 2020

Usage

Parameters
|title= text to display at top
|cladogram= cladogram, constructed with Template:Clade
|cladogram2= second cladogram, constructed in the same way
|caption= caption to display under cladogram
|align= whether the cladogram should be right- or left-aligned (default right)

Example:

Example
Neornithes  
Paleognathae

 

 Neognathae 
 

Other birds

Galloanserae 

Anseriformes

    

Galliformes

Craciformes

Sample of Template:Cladogram
{{cladogram|title=Example
|caption=Sample of Template:Cladogram
|cladogram={{clade| style=font-size:85%;line-height:75%;width:300px;
    |label1=[[Neornithes]]  
    |1={{clade
        |label1=[[Paleognathae]]
        |1= 
        |label2= [[Neognathae]] 
        |2={{clade
            |1=Other birds
            |label1= 
            |label2=[[Galloanserae]] 
            |2={{clade
                |1=[[Anseriformes]]
                |label2=    
                |2={{clade
                    |1=[[Galliformes]]
                    |2=[[Craciformes]]
                    }}
                }}
            }}
        }}
    }}
}}

Tracking category

See also