Template:Character Tabs

Usage
or for pages with different display names:

Testing
1 Character 2 Character 3 BBTAG 4 No subpages 5 6