User:Davidgothberg/Test60
Appearance
<!--If no or empty "page" parameter then detect basepage/subpage/subsubpage--> {{#if:{{#titleparts:{{#if:{{{page|}}}| {{{page}}} | {{FULLPAGENAME}} }}|0|3}} | {{{3| {{{2|}}} }}} <!--Subsubpage or lower--> | {{#if:{{#titleparts:{{#if:{{{page|}}}| {{{page}}} | {{FULLPAGENAME}} }}|0|2}} | {{{2|}}} <!--Subpage--> | {{{1|}}} <!--Basepage--> }} }}<noinclude>
<!--If no or empty "page" parameter then detect basepage/subpage/subsubpage--> {{#if:{{#titleparts: {{#if:{{{page|}}} | {{{page}}} | {{FULLPAGENAME}} }}|0|3}} | {{{3| {{{2|}}} }}} <!--Subsubpage or lower--> | {{#if:{{#titleparts: {{#if:{{{page|}}} | {{{page}}} | {{FULLPAGENAME}} }}|0|2}} | {{{2|}}} <!--Subpage--> | {{{1|}}} <!--Basepage--> }} }}<noinclude>
Testing {{basepage subpage}}
[edit]Testing #titleparts:
xUser:Davidgothbergx
xTest60x
xHelp:Basepagex
xSubpage/Subsubpagex
xSubsubpagex
xx
x{{User:Davidgothberg/Test60}}x x{{User:Davidgothberg/Test60|base|sub|subsub}}x
xx
xsubx
x{{User:Davidgothberg/Test60 | base | sub | subsub | page = User:Example }}x x{{User:Davidgothberg/Test60 | base | sub | subsub | page = User:Example/test }}x x{{User:Davidgothberg/Test60 | base | sub | subsub | page = User:Example/test/test }}x
xbasex
xsubx
xsubsubx
x{{User:Davidgothberg/Test60 | 1 = base | page = User:Example/test }}x x{{User:Davidgothberg/Test60 | 2 = sub | page = User:Example/test }}x x{{User:Davidgothberg/Test60 | 1 = base | 2 = sub | page = User:Example/test/test }}x x{{User:Davidgothberg/Test60 | 1 = base | 2 = sub | 3 = | page = User:Example/test/test }}x
xx
xsubx
xsubx
xx
x{{User:Davidgothberg/Test60 | base | sub | | page = User:Example/test }}x x{{User:Davidgothberg/Test60 | base | sub | | page = User:Example/test/test }}x
xsubx
xx
x{{User:Davidgothberg/Test60 | base | sub | subsub | page = User:Example }}x x{{User:Davidgothberg/Test60 | base | sub | subsub | page = User:Example/test }}x x{{User:Davidgothberg/Test60 | base | sub | subsub | page = User:Example/test/test }}x
xbasex
xsubx
xsubsubx