<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AClade_example%2Fdoc</id>
	<title>Template:Clade example/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AClade_example%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Clade_example/doc&amp;action=history"/>
	<updated>2026-06-10T21:34:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.tiffa.net/w/index.php?title=Template:Clade_example/doc&amp;diff=5039&amp;oldid=prev</id>
		<title>Fire at 23:00, 22 January 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Clade_example/doc&amp;diff=5039&amp;oldid=prev"/>
		<updated>2023-01-22T23:00:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:00, 23 January 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|align=right&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|align=right&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|description=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|description=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|code=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|code=  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|output=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|output=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|comment=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|comment=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fire</name></author>
	</entry>
	<entry>
		<id>https://wiki.tiffa.net/w/index.php?title=Template:Clade_example/doc&amp;diff=1349&amp;oldid=prev</id>
		<title>imported&gt;Fire: ページの作成:「{{Documentation subpage}} &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --&gt; {{二次利…」</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Clade_example/doc&amp;diff=1349&amp;oldid=prev"/>
		<updated>2021-03-17T13:15:21Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「{{Documentation subpage}} &amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;) --&amp;gt; {{二次利…」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{二次利用}}&lt;br /&gt;
{{Uses Lua|Module:Clade/example}}&lt;br /&gt;
&lt;br /&gt;
{{hatnote|Note. The original goal of this template was to make writing the documentation easier by avoiding the need to repeat the code twice, once enclosed in the pre tags and once without. Unfortunately this is not possible. Parameters are transcluded when used unless in certain tags (pre, nowiki). Unfortunately these tags are passed to the module as [https://www.mediawiki.org/wiki/Strip_marker strip markers] so it is not possible to strip the tags from a transclusion protected parameter in the Lua module.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Clade example&lt;br /&gt;
|align=right&lt;br /&gt;
|description=&lt;br /&gt;
|code=&lt;br /&gt;
|output=&lt;br /&gt;
|comment=&lt;br /&gt;
|description1=Simple demo&lt;br /&gt;
|code1=&amp;lt;pre&amp;gt;{{clade&lt;br /&gt;
|label1=label &lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=leaf1 &lt;br /&gt;
   |2=leaf2 &lt;br /&gt;
   }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|output1={{clade&lt;br /&gt;
|label1=label &lt;br /&gt;
|1={{clade |1=leaf1 |2=leaf2 }}&lt;br /&gt;
}}&lt;br /&gt;
|comment1=&amp;#039;&amp;#039;optional&amp;#039;&amp;#039;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This template is designed to aid writing documentation of the {{tl|clade}} by showing examples of code and the executed output, with option description and comment. It creates a table with four columns:&lt;br /&gt;
* a description of what the example in the row shows&lt;br /&gt;
* the code wrapped in &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt; tags, &lt;br /&gt;
* the executed code, and &lt;br /&gt;
* a comment on the example&lt;br /&gt;
&lt;br /&gt;
{{clear}}{{Clade example |align=right |code= |output= |code1=&amp;lt;pre&amp;gt;{{clade&lt;br /&gt;
|label1=label &lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=leaf1 &lt;br /&gt;
   |2=leaf2 &lt;br /&gt;
   }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt; |output1={{clade |label1=label |1={{clade |1=leaf1 |2=leaf2 }} }} }}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Selecting columns.&amp;#039;&amp;#039;&amp;#039; Columns may be omitted optionally. The columns to be shown are indicated by the following four parameters.&lt;br /&gt;
* &amp;lt;code&amp;gt;|description=&amp;lt;/code&amp;gt; indicates that the description column should be shown. If used with a value it will set the header (default: Description).&lt;br /&gt;
* &amp;lt;code&amp;gt;|code=&amp;lt;/code&amp;gt;  indicates that the code column should be shown. A value will be used as the header (default: Code).&lt;br /&gt;
* &amp;lt;code&amp;gt;|output=&amp;lt;/code&amp;gt;  indicates that the output column should be shown. A value will be used as the header (default: Output).&lt;br /&gt;
* &amp;lt;code&amp;gt;|comment=&amp;lt;/code&amp;gt;  indicates that the comment column should be shown. A value will be used as the header (default: Commment).&lt;br /&gt;
&lt;br /&gt;
Omitting the parameter omits the column. For instance, just using &amp;lt;code&amp;gt;|code=&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;|output=&amp;lt;/code&amp;gt; just shows the code and output (as shown on the right). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content of rows.&amp;#039;&amp;#039;&amp;#039; The content of the rows is used using the parameters with a numerical suffix indicating the row number:&lt;br /&gt;
** &amp;lt;code&amp;gt;|description1=&amp;lt;/code&amp;gt; contains text describing the example in the first row. Similarly for |description2= ... |descriptionN.&lt;br /&gt;
** &amp;lt;code&amp;gt;|code1=&amp;lt;/code&amp;gt; contains the clade code for the first row wrapped &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt; tags.&lt;br /&gt;
** &amp;lt;code&amp;gt;|output1=&amp;lt;/code&amp;gt; contains the transcluded output of the clade code.&lt;br /&gt;
** &amp;lt;code&amp;gt;|comment1=&amp;lt;/code&amp;gt; contains a comment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other options:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;|align=&amp;lt;/code&amp;gt; left | right | center&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A more complex example:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Clade example&lt;br /&gt;
|align=left&lt;br /&gt;
|description=&lt;br /&gt;
|code=&lt;br /&gt;
|output=&lt;br /&gt;
|comment=&lt;br /&gt;
|description1=Simple clade element&lt;br /&gt;
|code1=&amp;lt;pre&amp;gt;{{clade&lt;br /&gt;
|label1=Label&lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=Leaf A &lt;br /&gt;
   |2=Leaf B&lt;br /&gt;
   }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|output1={{clade&lt;br /&gt;
       |label1=Label&lt;br /&gt;
       |1={{clade |1=Leaf A |2=Leaf B}}&lt;br /&gt;
       }}&lt;br /&gt;
|comment1=Two child elements&lt;br /&gt;
|description2=A more complex clade structure&lt;br /&gt;
|code2=&amp;lt;pre&amp;gt;{{clade&lt;br /&gt;
|label1=Label&lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=Node A (terminal)&lt;br /&gt;
   |label2=Node B&lt;br /&gt;
   |sublabel2=(internal)&lt;br /&gt;
   |2={{clade&lt;br /&gt;
      |1=Leaf 1&lt;br /&gt;
      |2=Leaf 2&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|output2={{clade&lt;br /&gt;
|label1=Label&lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=Node A (terminal)&lt;br /&gt;
   |label2=Node B&lt;br /&gt;
   |sublabel2=(internal)&lt;br /&gt;
   |2={{clade&lt;br /&gt;
      |1=Leaf 1&lt;br /&gt;
      |2=Leaf 2&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
}}&lt;br /&gt;
|comment2=Two levels. The second clade element is nested in the first.&lt;br /&gt;
|description3=description 3|code3=code 3 |output3=output 3 |comment3=comment 3&lt;br /&gt;
|description4=description 4|code4=code 4 |output4=output 4 |comment4=comment 4&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Clade example&lt;br /&gt;
|align=left&lt;br /&gt;
|description=&lt;br /&gt;
|code=&lt;br /&gt;
|output=&lt;br /&gt;
|comment=&lt;br /&gt;
|description1=Simple clade element&lt;br /&gt;
|code1=&amp;lt;pre&amp;gt;{{clade&lt;br /&gt;
|label1=Label&lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=Leaf A &lt;br /&gt;
   |2=Leaf B&lt;br /&gt;
   }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|output1={{clade&lt;br /&gt;
       |label1=Label&lt;br /&gt;
       |1={{clade |1=Leaf A |2=Leaf B}}&lt;br /&gt;
       }}&lt;br /&gt;
|comment1=Two child elements&lt;br /&gt;
|description2=A more complex clade structure&lt;br /&gt;
|code2=&amp;lt;pre&amp;gt;{{clade&lt;br /&gt;
|label1=Label&lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=Node A (terminal)&lt;br /&gt;
   |label2=Node B&lt;br /&gt;
   |sublabel2=(internal)&lt;br /&gt;
   |2={{clade&lt;br /&gt;
      |1=Leaf 1&lt;br /&gt;
      |2=Leaf 2&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|output2={{clade&lt;br /&gt;
|label1=Label&lt;br /&gt;
|1={{clade &lt;br /&gt;
   |1=Node A (terminal)&lt;br /&gt;
   |label2=Node B&lt;br /&gt;
   |sublabel2=(internal)&lt;br /&gt;
   |2={{clade&lt;br /&gt;
      |1=Leaf 1&lt;br /&gt;
      |2=Leaf 2&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
}}&lt;br /&gt;
|comment2=Two levels. The second clade element is nested in the first.&lt;br /&gt;
|description3=description 3|code3=code 3 |output3=output 3 |comment3=comment 3&lt;br /&gt;
|description4=description 4|code4=code 4 |output4=output 4 |comment4=comment 4&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Fire</name></author>
	</entry>
</feed>