How to Wiki: Difference between revisions
Malcolmmcc (talk | contribs) |
Malcolmmcc (talk | contribs) |
||
Line 178: | Line 178: | ||
</tab> | </tab> | ||
<h3> Attributes </h3> | <!--<h3> Attributes </h3> | ||
Inside of the <nowiki><tab></nowiki> argument, you can include what is known as <code>attributes.</code><br> | Inside of the <nowiki><tab></nowiki> argument, you can include what is known as <code>attributes.</code><br> | ||
Notice the previous Tab was collapsed when the page loaded: that was accomplished with the ''collapsed tab''. Click below to learn more. | Notice the previous Tab was collapsed when the page loaded: that was accomplished with the ''collapsed tab''. Click below to learn more. | ||
Line 227: | Line 227: | ||
|style="color: darkblue;"|<code>name</code> | |style="color: darkblue;"|<code>name</code> | ||
|This attribute is used to define the text the label shows for the tab. If the entered name already exists within the tab, the contents of the <code><tab></code> tag are automatically assigned to the existing tab. This also means no two tabs can have an identical label. This attribute will be ignored if the <code>index</code> attribute already refers to an existing tab. Whitespace is automatically removed from the start and end of this attribute's value. | |This attribute is used to define the text the label shows for the tab. If the entered name already exists within the tab, the contents of the <code><tab></code> tag are automatically assigned to the existing tab. This also means no two tabs can have an identical label. This attribute will be ignored if the <code>index</code> attribute already refers to an existing tab. Whitespace is automatically removed from the start and end of this attribute's value. | ||
|}| name=Specific| index="2"}} | |}| name=Specific| index="2"}}--> | ||
}}</tab> | }}</tab> | ||
</tabs> | </tabs> |