Difference between revisions of "Template:Navbox simple"
Jump to navigation
Jump to search
(initial commit) |
m (fix) |
||
Line 4: | Line 4: | ||
--><includeonly> | --><includeonly> | ||
− | {{{title|Navigation}}}<nowiki>:</nowiki><!-- | + | '''{{{title|Navigation}}}<nowiki>:</nowiki> '''<!-- |
-->{{if|test={{{parent|}}}|then={{ifeq|{{{parent}}}|{{PAGENAME}}|<!--nothing-->|{{ifeq|{{{parent}}}|{{FULLPAGENAME}}|<!--nothing-->|[[{{if|test={{{namespace|{{NAMESPACE}}}}}|then={{{namespace|{{NAMESPACE}}}}}:}}{{{parent}}}|{{{parent}}}]] - }}}}}}<!-- | -->{{if|test={{{parent|}}}|then={{ifeq|{{{parent}}}|{{PAGENAME}}|<!--nothing-->|{{ifeq|{{{parent}}}|{{FULLPAGENAME}}|<!--nothing-->|[[{{if|test={{{namespace|{{NAMESPACE}}}}}|then={{{namespace|{{NAMESPACE}}}}}:}}{{{parent}}}|{{{parent}}}]] - }}}}}}<!-- | ||
-->{{if|test={{{page1|}}}|then=[[{{if|test={{{parent|}}}|then={{if|test={{{namespace|{{NAMESPACE}}}}}|then={{{namespace|{{NAMESPACE}}}}}:}}{{{parent}}}|else={{if|test={{{namespace|{{NAMESPACE}}}}}|then={{{namespace|{{NAMESPACE}}}}}:{{PAGENAME}}|else={{FULLPAGENAME}}}}}}/{{{page1}}}{{!}}{{{title1|{{{page1}}}}}}]]}}<!-- | -->{{if|test={{{page1|}}}|then=[[{{if|test={{{parent|}}}|then={{if|test={{{namespace|{{NAMESPACE}}}}}|then={{{namespace|{{NAMESPACE}}}}}:}}{{{parent}}}|else={{if|test={{{namespace|{{NAMESPACE}}}}}|then={{{namespace|{{NAMESPACE}}}}}:{{PAGENAME}}|else={{FULLPAGENAME}}}}}}/{{{page1}}}{{!}}{{{title1|{{{page1}}}}}}]]}}<!-- | ||
Line 28: | Line 28: | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{Navbox simple | {{Navbox simple | ||
− | | title = Navbox | + | | title = Simple Navbox |
− | | parent = Navbox | + | | parent = Simple Navbox |
| page1 = Demo Page | | page1 = Demo Page | ||
| page2 = Test Page | | page2 = Test Page |
Revision as of 15:00, 18 October 2017
Simple Navbox: Simple Navbox - Demo Page - Test Page
{{Navbox simple | title = | parent = | namespace = | page1 = | title1 = | page2 = | title2 = ... }}