Template:Portal navigation/testcases
Appearance
This is the template test cases page for the sandbox of Template:Portal navigation. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Test
{{Portal navigation|active=2 |portalname=Meta-Wiki! |tab1=[[Home]] |tab2=[[Meta:Wikimedia News|News]] |tab3=[[Meta:Babel|Babel]] |themecolor=#abcdef |wrc=no}}
Empty tab
{{Portal navigation|active=2 |portalname=Meta-Wiki! |tab2=[[Meta:Wikimedia News|News]] |tab3=[[Meta:Babel|Babel]] |themecolor=#abcdef |wrc=no}}
Subtabs
{{Portal navigation|active=2 |portalname=Meta-Wiki! |subtab1-1=[[Meta:About|About]] |subtab2-1=[[Meta:Tech/News|Tech/News]] |subtab2-2=[[Meta:VisualEditor/Newsletter|VisualEditor/Newsletter]] |subtab2-3=[[Reports]] |tab1=[[Home]] |tab2=[[Meta:Wikimedia News|News]] |tab3=[[Meta:Babel|Babel]] |themecolor=#abcdef |wrc=no}}
Tab icons
{{Portal navigation|active=1 |icon1=[[File:Home free icon.svg|x25px|link=]] |portalname=Meta-Wiki! |tab1=[[Home]] |themecolor=#333 |wrc=no}}
Meta-Wiki!
Meta-Wiki!
Custom header style
{{Portal navigation|active=1 |headerstyle=font-family:'Comic Sans MS', monotype; color: turquoise; |portalname=This is an abomination |tab1=[[Home]] |themecolor=#ff0000}}
This is an abomination
This is an abomination