Difference between revisions of "Template:CladeN"

From blackwiki
Jump to navigation Jump to search
imported>Jts1882
(add to subclades)
imported>Frietjes
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!--templatestyles src="Template:CladeN/styles.css" /--><noinclude>{{CladeN
+
<!--templatestyles src="Template:CladeN/styles.css" /--><noinclude>This is an example:
 +
 
 +
{{CladeN
 
|label1=root |sublabel1=[12/40]
 
|label1=root |sublabel1=[12/40]
 
|1={{CladeN
 
|1={{CladeN
Line 8: Line 10:
 
         |1=Leaf 2.2.1
 
         |1=Leaf 2.2.1
 
         |2={{cladeN
 
         |2={{cladeN
 +
            |label1=SubcladeA
 
             |1=SUBCLADE_A  <!-- this leaf will be substituted with subcladeA parameter contents without adding to transclusion depth-->
 
             |1=SUBCLADE_A  <!-- this leaf will be substituted with subcladeA parameter contents without adding to transclusion depth-->
 +
            |label2=SubcladeB
 
             |2=SUBCLADE_B  <!-- liekwose this leaf will be substituted with subcladeB parameter contents -->
 
             |2=SUBCLADE_B  <!-- liekwose this leaf will be substituted with subcladeB parameter contents -->
 
             }}
 
             }}
Line 14: Line 18:
 
       }}
 
       }}
 
   }}
 
   }}
 +
|targetA = SUBCLADE_A
 
|subcladeA={{CladeN
 
|subcladeA={{CladeN
 
           |1=Leaf A1
 
           |1=Leaf A1
Line 24: Line 29:
 
               }}
 
               }}
 
           }}
 
           }}
 +
|targetBx = SUBCLADE_B
 
|subcladeB={{CladeN
 
|subcladeB={{CladeN
 
           |1=Leaf B1
 
           |1=Leaf B1
 
           |2={{cladeN
 
           |2={{cladeN
               |1=Leaf AB.1
+
               |1=Leaf B.1
 
               |2={{cladeN
 
               |2={{cladeN
 
                 |1=Leaf B2.2.1
 
                 |1=Leaf B2.2.1
                 |2=Leaf B2.2.2
+
                |label2=SubcladeC
 +
                 |2=TARGET_C
 
                 }}
 
                 }}
 
               }}
 
               }}
 
           }}
 
           }}
}}</noinclude>{{#invoke:Sandbox/Jts1882/CladeN|main|style={{{style|}}} }}<!--{{#invoke:Sandbox/Jts1882/CladeN|test|dummy=1 }}--><noinclude>
+
|targetC = TARGET_C
<!--{{Documentation}}-->
+
|subcladeC=<section begin=TARGET_C />{{CladeN
 +
          |1=Leaf C1
 +
          |2={{cladeN
 +
              |1=Leaf C2.1
 +
              |2={{cladeN
 +
                |1=Leaf C2.2.1
 +
                |2=Leaf C2.2.2
 +
                }}
 +
              }}
 +
          }}<section end=TARGET_C />         
 +
}}
 +
{{#section:Template:CladeN|TARGET_C}}
 +
</noinclude>{{#invoke:Sandbox/Jts1882/CladeN|main|style={{{style|}}} }}<noinclude>
 +
{{documentation}}
 
<!-- Add categories to the /doc subpage, not here! -->
 
<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 16:15, 2 December 2019

This is an example:

root

Leaf 1




Leaf 2.1




Leaf 2.2.1



SubcladeA

Leaf A1




Leaf A2.1




Leaf A2.2.1



Leaf A2.2.2





SubcladeB

Leaf B1




Leaf B.1




Leaf B2.2.1


SubcladeC

<section begin=TARGET_C />


Leaf C1




Leaf C2.1




Leaf C2.2.1



Leaf C2.2.2




<section end=TARGET_C />







[12/40]

{{#section:Template:CladeN|TARGET_C}}

50px Template documentation[view] [edit] [history] [purge]

Script error: No such module "Uses TemplateStyles".

This template is a version of the {{clade}} template that incorporates features that are under development. It is used in conjunction with the [[Module:|Sandbox/Jts1882/CladeN]] module.

Usage

{{Clade}} documentation

Template:Strip categories