Difference between revisions of "Template:Navbox simple"
Jump to navigation
Jump to search
(initial commit) |
m (fix) |
||
(One intermediate revision by the same user not shown) | |||
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 | ||
}} | }} | ||
<pre>{{Navbox simple | <pre>{{Navbox simple | ||
− | | title | + | | title = |
| parent = | | parent = | ||
| namespace = | | namespace = |
Latest revision as of 15:01, 18 October 2017
Simple Navbox: Simple Navbox - Demo Page - Test Page
{{Navbox simple | title = | parent = | namespace = | page1 = | title1 = | page2 = | title2 = ... }}