Difference between revisions of "Template:Traverse"

From PC-BSD Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{{#switch: {{{here}}}
 
{{#switch: {{{here}}}
 
| {{{1}}} = ''{{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}''{{#if:{{{2|}}}|➜{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}{{#if:{{{3|}}}|➜{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}{{#if:{{{4|}}}|➜{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}{{#if:{{{5|}}}|➜{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}{{#if:{{{6|}}}|➜{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}{{#if:{{{7|}}}|➜{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}
 
| {{{1}}} = ''{{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}''{{#if:{{{2|}}}|➜{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}{{#if:{{{3|}}}|➜{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}{{#if:{{{4|}}}|➜{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}{{#if:{{{5|}}}|➜{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}{{#if:{{{6|}}}|➜{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}{{#if:{{{7|}}}|➜{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}
 +
 +
| {{{2}}} = {{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}{{#if:{{{2|}}}|➜''{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}''{{#if:{{{3|}}}|➜{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}{{#if:{{{4|}}}|➜{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}{{#if:{{{5|}}}|➜{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}{{#if:{{{6|}}}|➜{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}{{#if:{{{7|}}}|➜{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}
 +
 +
| {{{3}}} = {{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}{{#if:{{{2|}}}|➜{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}{{#if:{{{3|}}}|➜''{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}''{{#if:{{{4|}}}|➜{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}{{#if:{{{5|}}}|➜{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}{{#if:{{{6|}}}|➜{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}{{#if:{{{7|}}}|➜{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}
 +
 +
| {{{4}}} = {{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}{{#if:{{{2|}}}|➜{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}{{#if:{{{3|}}}|➜{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}{{#if:{{{4|}}}|➜''{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}''{{#if:{{{5|}}}|➜{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}{{#if:{{{6|}}}|➜{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}{{#if:{{{7|}}}|➜{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}
 +
 +
| {{{5}}} = {{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}{{#if:{{{2|}}}|➜{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}{{#if:{{{3|}}}|➜{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}{{#if:{{{4|}}}|➜{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}{{#if:{{{5|}}}|➜''{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}''{{#if:{{{6|}}}|➜{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}{{#if:{{{7|}}}|➜{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}
 +
 +
| {{{6}}} = {{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}{{#if:{{{2|}}}|➜{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}{{#if:{{{3|}}}|➜{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}{{#if:{{{4|}}}|➜{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}{{#if:{{{5|}}}|➜{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}{{#if:{{{6|}}}|➜''{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}''{{#if:{{{7|}}}|➜{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}
 +
 +
| {{{7}}} = {{local|link={{{1}}}|{{{t1|{{{1}}}}}}}}{{#if:{{{2|}}}|➜{{local|link={{{2}}}|{{{t2|{{{2}}}}}}}}}}{{#if:{{{3|}}}|➜{{local|link={{{3}}}|{{{t3|{{{3}}}}}}}}}}{{#if:{{{4|}}}|➜{{local|link={{{4}}}|{{{t4|{{{4}}}}}}}}}}{{#if:{{{5|}}}|➜{{local|link={{{5}}}|{{{t5|{{{5}}}}}}}}}}{{#if:{{{6|}}}|➜{{local|link={{{6}}}|{{{t6|{{{6}}}}}}}}}}{{#if:{{{7|}}}|➜''{{local|link={{{7}}}|{{{t7|{{{7}}}}}}}}}}''
 
| Error in <nowiki>{{Traverse}}</nowiki>
 
| Error in <nowiki>{{Traverse}}</nowiki>
 
}}</span></includeonly><noinclude><!-- {{#if: {{{th|}}}|{{!}}|}} -->
 
}}</span></includeonly><noinclude><!-- {{#if: {{{th|}}}|{{!}}|}} -->
Line 8: Line 20:
  
 
Into something more like this:
 
Into something more like this:
{{traverse|Control Panel|System Manager|System Manager#Install FreeBSD Source and Ports|here=Control Panel|t3=Tasks}} (broken)<br/>
+
{{traverse|Control Panel|System Manager|System Manager#Install FreeBSD Source and Ports|here=Control Panel|t3=Tasks}} <br/>
 +
{{traverse|Control Panel|System Manager|System|Install FreeBSD|Source and Ports|test1|test2|here=System Manager|t6=Tasks}} (broken)<br/>
 
<!--
 
<!--
 
Well, the anchor is not causing troubles, something in the template or call to 'local' is causing the problem(s).
 
Well, the anchor is not causing troubles, something in the template or call to 'local' is causing the problem(s).
 
-->
 
-->
 
</noinclude>
 
</noinclude>

Revision as of 03:28, 30 October 2013

The basic concept is to turn this: Control PanelSystem ManagerTasks

Into something more like this: Control Panel → System Manager → Tasks
Control Panel → System Manager → System → Install FreeBSD → Source and Ports → Tasks → test2 (broken)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox