Difference between revisions of "Template:Traverse"

From PC-BSD Wiki
Jump to: navigation, search
(adjust italics)
Line 1: Line 1:
<includeonly><span class="traverse boldtxt" >
+
<includeonly><span class="traverse boldtxt" ><span class="noLocaldash">
 
{{#switch: {{{here}}}
 
{{#switch: {{{here}}}
 
| {{{1}}} = {{#if:{{{1|}}}| {{i|{{#if:{{{t1|}}}|{{local|link={{{1}}}|{{{t1|}}} }} |{{local|link={{{1}}} }} }} }}}}{{#if:{{{2|}}}|➜{{#if:{{{t2|}}}|{{local|link={{{2}}}|{{{t2|}}} }} |{{local|link={{{2}}} }} }} }}{{#if:{{{3|}}}|➜{{#if:{{{t3|}}}|{{local|link={{{3}}}|{{{t3|}}} }} |{{local|link={{{3}}} }} }} }}{{#if:{{{4|}}}|➜{{#if:{{{t4|}}}|{{local|link={{{4}}}|{{{t4|}}} }} |{{local|link={{{4}}} }} }} }}{{#if:{{{5|}}}|➜{{#if:{{{t5|}}}|{{local|link={{{5}}}|{{{t5|}}} }} |{{local|link={{{5}}} }} }} }}{{#if:{{{6|}}}|➜{{#if:{{{t6|}}}|{{local|link={{{6}}}|{{{t6|}}} }} |{{local|link={{{6}}} }} }} }}{{#if:{{{7|}}}|➜{{#if:{{{t7|}}}|{{local|link={{{7}}}|{{{t7|}}} }} |{{local|link={{{7}}} }} }} }}
 
| {{{1}}} = {{#if:{{{1|}}}| {{i|{{#if:{{{t1|}}}|{{local|link={{{1}}}|{{{t1|}}} }} |{{local|link={{{1}}} }} }} }}}}{{#if:{{{2|}}}|➜{{#if:{{{t2|}}}|{{local|link={{{2}}}|{{{t2|}}} }} |{{local|link={{{2}}} }} }} }}{{#if:{{{3|}}}|➜{{#if:{{{t3|}}}|{{local|link={{{3}}}|{{{t3|}}} }} |{{local|link={{{3}}} }} }} }}{{#if:{{{4|}}}|➜{{#if:{{{t4|}}}|{{local|link={{{4}}}|{{{t4|}}} }} |{{local|link={{{4}}} }} }} }}{{#if:{{{5|}}}|➜{{#if:{{{t5|}}}|{{local|link={{{5}}}|{{{t5|}}} }} |{{local|link={{{5}}} }} }} }}{{#if:{{{6|}}}|➜{{#if:{{{t6|}}}|{{local|link={{{6}}}|{{{t6|}}} }} |{{local|link={{{6}}} }} }} }}{{#if:{{{7|}}}|➜{{#if:{{{t7|}}}|{{local|link={{{7}}}|{{{t7|}}} }} |{{local|link={{{7}}} }} }} }}
Line 9: Line 9:
 
| {{{7}}} = {{#if:{{{1|}}}| {{#if:{{{t1|}}}|{{local|link={{{1}}}|{{{t1|}}} }} |{{local|link={{{1}}} }} }} }}{{#if:{{{2|}}}|➜{{#if:{{{t2|}}}|{{local|link={{{2}}}|{{{t2|}}} }} |{{local|link={{{2}}} }} }} }}{{#if:{{{3|}}}|➜{{#if:{{{t3|}}}|{{local|link={{{3}}}|{{{t3|}}} }} |{{local|link={{{3}}} }} }} }}{{#if:{{{4|}}}|➜{{#if:{{{t4|}}}|{{local|link={{{4}}}|{{{t4|}}} }} |{{local|link={{{4}}} }} }} }}{{#if:{{{5|}}}|➜{{#if:{{{t5|}}}|{{local|link={{{5}}}|{{{t5|}}} }} |{{local|link={{{5}}} }} }} }}{{#if:{{{6|}}}|➜{{#if:{{{t6|}}}|{{local|link={{{6}}}|{{{t6|}}} }} |{{local|link={{{6}}} }} }} }}{{#if:{{{7|}}}|➜{{i|{{#if:{{{t7|}}}|{{local|link={{{7}}}|{{{t7|}}} }} |{{local|link={{{7}}} }} }} }}}}
 
| {{{7}}} = {{#if:{{{1|}}}| {{#if:{{{t1|}}}|{{local|link={{{1}}}|{{{t1|}}} }} |{{local|link={{{1}}} }} }} }}{{#if:{{{2|}}}|➜{{#if:{{{t2|}}}|{{local|link={{{2}}}|{{{t2|}}} }} |{{local|link={{{2}}} }} }} }}{{#if:{{{3|}}}|➜{{#if:{{{t3|}}}|{{local|link={{{3}}}|{{{t3|}}} }} |{{local|link={{{3}}} }} }} }}{{#if:{{{4|}}}|➜{{#if:{{{t4|}}}|{{local|link={{{4}}}|{{{t4|}}} }} |{{local|link={{{4}}} }} }} }}{{#if:{{{5|}}}|➜{{#if:{{{t5|}}}|{{local|link={{{5}}}|{{{t5|}}} }} |{{local|link={{{5}}} }} }} }}{{#if:{{{6|}}}|➜{{#if:{{{t6|}}}|{{local|link={{{6}}}|{{{t6|}}} }} |{{local|link={{{6}}} }} }} }}{{#if:{{{7|}}}|➜{{i|{{#if:{{{t7|}}}|{{local|link={{{7}}}|{{{t7|}}} }} |{{local|link={{{7}}} }} }} }}}}
 
| Error in <nowiki>{{Traverse}}</nowiki>
 
| Error in <nowiki>{{Traverse}}</nowiki>
}}</span></includeonly><noinclude>
+
}}</span></span></includeonly><noinclude>
 
The basic concept is to turn this:
 
The basic concept is to turn this:
 
[[Control Panel]] ➜ [[System Manager]] ➜ [[System Manager#Install FreeBSD Source and Ports|Tasks]]<br/>
 
[[Control Panel]] ➜ [[System Manager]] ➜ [[System Manager#Install FreeBSD Source and Ports|Tasks]]<br/>

Revision as of 16:55, 30 October 2013

The basic concept is to turn this: Control PanelSystem ManagerTasks

Into something more like this: Control Panel → System Manager → Tasks
{{traverse|Control Panel|System Manager|System Manager#Install FreeBSD Source and Ports|here=Control Panel|t3=Tasks}}
This will allow for up to a series of seven (7) links. Notice that alternate link text is handled by t3 for the third from the left value, while here matches a specific bit of text (System manager) and is intended to be highlighted with italic. This template is translation-friendly.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox