wdpr
    Preparing search index...

    Module parser/rules/block/tabview

    Block rule for Wikidot tabbed content: [[tabview]] (or [[tabs]]).

    A tabview contains one or more [[tab Label]]...[[/tab]] blocks:

    [[tabview]]
    [[tab First Tab]]
    Content of the first tab.
    [[/tab]]
    [[tab Second Tab]]
    Content of the second tab.
    [[/tab]]
    [[/tabview]]

    Key behaviours:

    • Both [[tabview]] and [[tabs]] are accepted as the outer wrapper.
    • Any attributes or text after the block name on the opening tag are silently ignored (Wikidot behaviour: [[tabview Foo]] is valid).
    • If a tab has no label, it defaults to "untitled".
    • Tab body content is parsed as block-level markup.
    • An empty tabview (no tabs) fails the rule, falling back to text.
    • Non-tab content between tabs (other than whitespace/newlines) causes the rule to fail.

    Variables

    tabviewRule