Difference between revisions of "Template:CladeN"

From blackwiki
Jump to navigation Jump to search
imported>Jts1882
(disable template styles place in module)
imported>Frietjes
 
(8 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:
|label1=root
+
 
 +
{{CladeN
 +
|label1=root |sublabel1=[12/40]
 
|1={{CladeN
 
|1={{CladeN
   |1=Leaf1
+
   |1=Leaf 1
   |2=Leaf2
+
   |2={{cladeN
 +
      |1=Leaf 2.1
 +
      |2={{cladeN
 +
        |1=Leaf 2.2.1
 +
        |2={{cladeN
 +
            |label1=SubcladeA
 +
            |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 -->
 +
            }}
 +
        }}
 +
      }}
 
   }}
 
   }}
}}</noinclude>{{#invoke:Sandbox/Jts1882/CladeN|main|style={{{style|}}} }}<!--{{#invoke:Sandbox/Jts1882/CladeN|test|dummy=1 }}--><noinclude>
+
|targetA = SUBCLADE_A
{{Documentation}}
+
|subcladeA={{CladeN
 +
          |1=Leaf A1
 +
          |2={{cladeN
 +
              |1=Leaf A2.1
 +
              |2={{cladeN
 +
                |1=Leaf A2.2.1
 +
                |2=Leaf A2.2.2
 +
                }}
 +
              }}
 +
          }}
 +
|targetBx = SUBCLADE_B
 +
|subcladeB={{CladeN
 +
          |1=Leaf B1
 +
          |2={{cladeN
 +
              |1=Leaf B.1
 +
              |2={{cladeN
 +
                |1=Leaf B2.2.1
 +
                |label2=SubcladeC
 +
                |2=TARGET_C
 +
                }}
 +
              }}
 +
          }}
 +
|targetC = TARGET_C
 +
|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