For faster navigation, this Iframe is preloading the Wikiwand page for Template:Clade.

Template:Clade

root

Leaf1

Leaf2

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法

这个模板可以表示一种有分支结构的树型图,在图上可以出现结点和有链接的标注,这个模板特别适合表达进化树。

顯示只有根與葉節點的

((clade
|label1=根
|1=葉
))

它的效果是:

讓樹的某節點有連結

((clade
|1=((clade
   |label1=[[树 (数据结构)#術語|子樹節點1]]
   |1=葉1
   |label2=子樹節點2
   |2=[[树 (数据结构)#術語|葉2]]
   ))
))

它的效果是:

子樹節點1

葉1

子樹節點2

葉2

改變樹的父節點的字型樣式

((clade| style=font-size:75%;line-height:75%
|1=((clade
   |label1=子樹節點1
   |1=葉1
   |label2=子樹節點2
   |2=葉2
   ))
))

是这样的效果:

子樹節點1

葉1

子樹節點2

葉2

改變樹的某個父節點的粗細

((clade
|1=((clade
   |1=((clade | thickness=3
      |1=葉1
      |2=葉2
      ))
   |2=葉3
   ))
))

是这样的效果:

葉1

葉2

葉3

编辑技巧

创建一个较大进化树的简单方式是使用纽威克型格式,然后继续使用一些合适的文本编辑工具添加一点符合Clade的版式信息。

  1. 把想法用纽威克型格式表达出来如:((a,b),(c,d))
  2. 用"((clade|"替换原来的"("
  3. 用"))"替换原来的")"
  4. 把逗号用"|"加一个有序数字表示
  5. 如果需要的话编辑一下进化枝上的文字

((clade
 |1=((clade
    |1=a
    |2=b
    ))
 |2=((clade
    |1=c
    |2=d
    ))
))

使用嵌套

您可以嵌套使用模板,在文字上使用链接。你可以使用非中断空格()来获取空间或得到一个有空格的标注。

这一整个进化树可以被放在框架中并浮于文字上方。 详见 Template:Cladogram.

Example
Neornithes  
Paleognathae

 

 Neognathae 
 

Other birds

Galloanserae 

Anseriformes

    

Galliformes

Craciformes

Sample of Template:Cladogram
((cladogram|title=Example
|caption=Template:Cladogram的一个实例
|clades=((clade| style=font-size:75%;line-height:75%
|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]]
		      ))
	      ))
	   ))
       ))
  ))
))

參見

{{bottomLinkPreText}} {{bottomLinkText}}
Template:Clade
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?