Difference between revisions of "Template:Cladogram/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(10 intermediate revisions by 9 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 ===
 
Parameters:
 
  
 +
==Usage==
 +
;Parameters:
 
:{{para|title}} text to display at top
 
:{{para|title}} text to display at top
 
:{{para|cladogram}} cladogram, constructed with [[Template:Clade]]
 
:{{para|cladogram}} cladogram, constructed with [[Template:Clade]]
Line 10: Line 10:
 
:{{para|caption}} caption to display under cladogram
 
:{{para|caption}} caption to display under cladogram
 
:{{para|align}} whether the cladogram should be right- or left-aligned (default right)
 
:{{para|align}} whether the cladogram should be right- or left-aligned (default right)
:{{para|left}} left margin (default 1; 0 when left-aligned)
 
:{{para|right}} right margin (default 0; 1 when left-aligned)
 
  
Example:
+
'''Example:'''
 
{{cladogram|title=Example
 
{{cladogram|title=Example
 
|caption=Sample of Template:Cladogram
 
|caption=Sample of Template:Cladogram
|cladogram={{clade| style=font-size:85%;line-height:75%;width:{{{width|300}}}px;
+
|cladogram={{clade| style=font-size:85%;line-height:75%;width:300px;
|label1=[[Neornithes]]&nbsp;&nbsp;
+
    |label1=[[Neornithes]]&nbsp;&nbsp;
|1={{clade
+
    |1={{clade
|label1=[[Paleognathae]]
+
        |label1=[[Paleognathae]]
|1=&nbsp;
+
        |1=&nbsp;
|label2=&nbsp;[[Neognathae]]&nbsp;
+
        |label2=&nbsp;[[Neognathae]]&nbsp;
|2={{clade
+
        |2={{clade
  |1=Other birds
+
            |1=Other birds
  |label1=&nbsp;
+
            |label1=&nbsp;
  |label2=[[Galloanserae]]&nbsp;
+
            |label2=[[Galloanserae]]&nbsp;
  |2={{clade
+
            |2={{clade
      |1=[[Anseriformes]]
+
                |1=[[Anseriformes]]
  |label2=&nbsp;&nbsp;&nbsp;&nbsp;
+
                |label2=&nbsp;&nbsp;&nbsp;&nbsp;
  |2={{clade
+
                |2={{clade
      |1=[[Galliformes]]
+
                    |1=[[Galliformes]]
      |2=[[Craciformes]]
+
                    |2=[[Craciformes]]
      }}
+
                    }}
      }}
+
        }}
  }}
+
            }}
      }}
+
        }}
  }}
+
    }}
 
}}<pre>{{cladogram|title=Example
 
}}<pre>{{cladogram|title=Example
 
|caption=Sample of Template:Cladogram
 
|caption=Sample of Template:Cladogram
|cladogram={{clade| style=font-size:85%;line-height:75%;width:{{{width|300}}}px;
+
|cladogram={{clade| style=font-size:85%;line-height:75%;width:300px;
|label1=[[Neornithes]]&nbsp;&nbsp;
+
    |label1=[[Neornithes]]&nbsp;&nbsp;
|1={{clade
+
    |1={{clade
|label1=[[Paleognathae]]
+
        |label1=[[Paleognathae]]
|1=&nbsp;
+
        |1=&nbsp;
|label2=&nbsp;[[Neognathae]]&nbsp;
+
        |label2=&nbsp;[[Neognathae]]&nbsp;
|2={{clade
+
        |2={{clade
  |1=Other birds
+
            |1=Other birds
  |label1=&nbsp;
+
            |label1=&nbsp;
  |label2=[[Galloanserae]]&nbsp;
+
            |label2=[[Galloanserae]]&nbsp;
  |2={{clade
+
            |2={{clade
      |1=[[Anseriformes]]
+
                |1=[[Anseriformes]]
  |label2=&nbsp;&nbsp;&nbsp;&nbsp;
+
                |label2=&nbsp;&nbsp;&nbsp;&nbsp;
  |2={{clade
+
                |2={{clade
      |1=[[Galliformes]]
+
                    |1=[[Galliformes]]
      |2=[[Craciformes]]
+
                    |2=[[Craciformes]]
      }}
+
                    }}
      }}
+
                }}
  }}
+
            }}
      }}
+
        }}
  }}
+
    }}
 
}}</pre>
 
}}</pre>
  
=== See also ===
+
==Tracking category==
 +
* {{clc|Pages using cladogram with unknown parameters}}
 +
 
 +
==See also==
 
* {{tl|Clade}}
 
* {{tl|Clade}}
  
<includeonly>
+
<includeonly>{{Sandbox other|
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
+
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
[[Category:Genealogy formatting templates]]
 
[[Category:Genealogy formatting templates]]
[[Category:Wikipedia formatting and function templates]]
+
[[Category:Templates that add a tracking category]]
 
+
}}</includeonly>
[[ar:قالب:شجرة تاريخيعرقية]]
 
[[da:Template:Kladogram]]
 
[[fr:modèle:Cladogram]]
 
[[hr:Predložak:Kladogram]]
 
[[ja:Template:Cladogram]]
 
[[ko:틀:분기도]]
 
[[tr:Şablon:Kladogram]]
 
</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