4/24/2023 0 Comments Media wiki tab logo![]() Since no closename attribute is defined, it defaults to "Toggle" too. *openname="Toggle" - The label will show "Toggle" when it can be clicked to open the box. This toggle box has the following attributes defined: This toggle box has no attributes assigned to it. This id must be unique on the page, as with any id. style - Use this attribute to define any styles for the box.title - Determines the tooltip shown when hovering over the box.Styles defined here will only affect the content of the toggle box, not the label. container - Use this attribute to define any styles for the toggle box container.If neither is defined, and the name attribute is also not defined, the default values are taken from the respective MediaWiki pages. If only one of the openname or closename attributes is defined, the other will take its value.name - If neither the openname and closename is defined, this value will be used for both states.Default is stored in MediaWiki:tabs-toggle-close. closename - Same as openname, but for closing the toggle box.Default value is stored in the MediaWiki:tabs-toggle-open page. openname - The label for the toggle box that indicates that clicking it will close the box. ![]() inline - If this attribute is set, the toggle box can be placed within text without interrupting the flow of the text.collapsed - If this attribute is set, the toggle box will appear collapsed when the page loads.All content within the tags will be displayed within the toggle box. You can create a simple collapsible box by enclosing some content between. If there is already another element on the page that could be scrolled to, such as a page section, that other element will have priority, and the tab will not be focused. This will always open only the very first tab that has the specified tab label (for example, if there are two tab boxes that both have a tab labelled "Tab 1", putting #Tab_1 in the URL will scroll to the first one on the page). ![]() Simply put the tab label in the URL, and the page will automatically scroll to the top of the tab, and open the selected tab. It is possible to hotlink tabs the same way as hotlinking sections on pages. The #tab parser function will also work, but since the only attributes it can define are the index and name attributes, these don't allow complete support. To use parser functions within the attributes, the #tag:tabs or #tag:tab parser functions should be used. This is in no way meant as encouragement for the use of this deprecated attribute anywhere other than this tag.įor both the and tags, parser functions can be used within the content of the tag, but not in the attributes. Note: - This extension uses the bgcolor attribute for dropdown menus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |