Template:Subpage Tabs

Template page
Revision as of 00:02, 20 August 2019 by Chao (talk | contribs) (Created page with "<includeonly><div class="NOL-tabs-wrapper">{{#subpages: |page={{#if:{{{2|}}}|{{{2|}}}|{{{1}}}}} |format=ul |pathstyle= |showpage=no |element=div |class=NOL-tabs |kidsonly=no |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Tabs for displaying the subpages of a page that is itself a subpage. It lists all subpages, including all children and grandchildren pages.

Usage

{{Subpage Tabs|Page/Subpage}}

or for pages with different display names:
{{Subpage Tabs|Λ-No.11-|Lambda-11}}

Testing

1 Subpage (Ragna the Bloodedge/Gameplay)


For illustrative purposes

1 Character (Lambda-11)

2 Character (Bang Shishigami)

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).

See also