Difference between revisions of "Template:Cladogram/doc"
Jump to navigation
Jump to search
imported>DixonDBot m (Migrating 7 interwiki links, now provided by Wikidata on d:Q6208772) |
imported>Nnemo (Notably accessibility) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE | + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE --> |
=== Usage === | === Usage === | ||
| + | |||
;Parameters: | ;Parameters: | ||
:{{para|title}} text to display at top | :{{para|title}} text to display at top | ||
| Line 61: | Line 62: | ||
}} | }} | ||
}}</pre> | }}</pre> | ||
| − | ;Note on the | + | ;Note on the preceding example: |
:The following syntax: | :The following syntax: | ||
::{{code|<nowiki>width:{{{width|300}}}px;</nowiki>}} | ::{{code|<nowiki>width:{{{width|300}}}px;</nowiki>}} | ||
| − | :is appropriate when used ''inside of a template''. | + | :is appropriate when used ''inside of a template''. When used in a standard article, this should be coded simply as: |
::{{code|width:300px;}} | ::{{code|width:300px;}} | ||
| − | |||
=== See also === | === See also === | ||
| Line 72: | Line 72: | ||
<includeonly> | <includeonly> | ||
| − | <!-- CATEGORIES AND INTERWIKIS | + | <!-- CATEGORIES AND INTERWIKIS LINKS AFTER THIS LINE PLEASE --> |
| + | |||
[[Category:Genealogy formatting templates]] | [[Category:Genealogy formatting templates]] | ||
[[Category:Wikipedia formatting and function templates]] | [[Category:Wikipedia formatting and function templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 10:25, 8 December 2013
| 40px | This is a documentation subpage for Template:Cladogram. It contains usage information, categories and other content that is not part of the original template page. |
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)|left=left margin (default 1; 0 when left-aligned)|right=right margin (default 0; 1 when left-aligned)
Example:
| Example | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| Sample of Template:Cladogram |
{{cladogram|title=Example
|caption=Sample of Template:Cladogram
|cladogram={{clade| style=font-size:85%;line-height:75%;width:{{{width|300}}}px;
|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]]
}}
}}
}}
}}
}}
}}
- Note on the preceding example
- The following syntax:
width:{{{width|300}}}px;
- is appropriate when used inside of a template. When used in a standard article, this should be coded simply as:
width:300px;
See also
- {{Clade}}