More actions
m (show main page) |
m (fix murakumo links) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#subpages: | <includeonly><div class="NOL-tabs-wrapper"><ul class="NOL-tabs"><li>[[{{{1}}}|Overview]]</li></ul>{{#subpages: | ||
|page={{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} | |page={{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} | ||
|format=ul | |format=ul | ||
|pathstyle= | |pathstyle= | ||
|showpage= | |showpage=no | ||
|element=div | |element=div | ||
|class=NOL-tabs | |class=NOL-tabs | ||
|kidsonly=yes | |kidsonly=yes | ||
|default=<span style="display:none;"></span> | |default=<span style="display:none;"></span> | ||
}}<!-- | }}</div><!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
Latest revision as of 23:39, 18 March 2018
Usage
{{Character Tabs|character name}} or for pages with different display names: {{Character Tabs|Λ-No.11-|Lambda-11}}
Testing
1 Character
2 Character
3 BBTAG
4 No subpages
5 6
Notes
Uses the SubPageList extension, which supposedly should work as intended. However, template parsing fails and showpage=yes might not be working as intended (instead of being appended to the list as a list item ("li" element), it is being appended as a separate paragraph ("p" element), which complicates styliing).
For now tabs will only show the list of subpages.