Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Use this template to show an element to advance or go back a page in the documentation.

Example:

Normal left, normal right and default index

Code 1 English:

{{Docnav
|[[Draft_Workbench|Draft Workbench]]
|[[BIM_Workbench|BIM Workbench]]
}}

Result:

Code 2 Translated:

{{Docnav/fr
|[[Draft_Workbench/fr|Atelier Draft]]
|[[BIM_Workbench/fr|Atelier BIM]]
}}

Result:

{{#if: Atelier Draft
       |{{#if:
           | [[File:{{{IconL}}}|x16px|link=]] Atelier Draft
           | Atelier Draft
       }}
       |File:Freecad.svg
}}
{{#if: Atelier BIM
       |{{#if:
           |[[File:{{{IconR}}}|x16px|link=]] Atelier BIM

           |Atelier BIM

       }}
       |File:Freecad.svg
}}
{{#if:
       |{{#if:
           |{{{3}}} [[File:{{{IconC}}}|x24px|link=]]
|
{{{3}}}
       }}
       |Index File:Online Help Toc.svg
}}

Normal left, normal right and custom central link

Code 3 English:

{{Docnav
|[[Draft_Workbench|Draft Workbench]]
|[[BIM_Workbench|BIM Workbench]]
|[[Online_Help_Toc|My custom title]]
}}

Result:

Code 4 Translated:

{{Docnav/fr
|[[Draft_Workbench/fr|Atelier Draft]]
|[[BIM_Workbench/fr|Atelier BIM]]
|[[Online_Help_Toc/fr|Mon titre personnalisé]]
}}

Result:

{{#if: Atelier Draft
       |{{#if:
           | [[File:{{{IconL}}}|x16px|link=]] Atelier Draft
           | Atelier Draft
       }}
       |File:Freecad.svg
}}
{{#if: Atelier BIM
       |{{#if:
           |[[File:{{{IconR}}}|x16px|link=]] Atelier BIM

           |Atelier BIM

       }}
       |File:Freecad.svg
}}

Normal left and default index (example last page)

Code 5 English:

{{Docnav
|[[Draft_Workbench|Draft Workbench]]
|
}}

Result:

Code 6 Translated:

{{Docnav/fr
|[[Draft_Workbench/fr|Atelier Draft]]
|
}}

Result:

{{#if: Atelier Draft
       |{{#if:
           | [[File:{{{IconL}}}|x16px|link=]] Atelier Draft
           | Atelier Draft
       }}
       |File:Freecad.svg
}}
{{#if:
       |{{#if:
           |[[File:{{{IconR}}}|x16px|link=]] 

           |

       }}
       |File:Freecad.svg
}}
{{#if:
       |{{#if:
           |{{{3}}} [[File:{{{IconC}}}|x24px|link=]]
|
{{{3}}}
       }}
       |Index File:Online Help Toc.svg
}}

Normal right and default index (example first page)

Code 7 English:

{{Docnav
|
|[[Draft_Workbench|Draft Workbench]]
}}

Result:

Code 8 Translated:

{{Docnav/fr
|
|[[Draft_Workbench/fr|Atelier Draft]]
}}

Result:

{{#if:
       |{{#if:
           | [[File:{{{IconL}}}|x16px|link=]] 
           | 
       }}
       |File:Freecad.svg
}}
{{#if: Atelier Draft
       |{{#if:
           |[[File:{{{IconR}}}|x16px|link=]] Atelier Draft

           |Atelier Draft

       }}
       |File:Freecad.svg
}}
{{#if:
       |{{#if:
           |{{{3}}} [[File:{{{IconC}}}|x24px|link=]]
|
{{{3}}}
       }}
       |Index File:Online Help Toc.svg
}}

Only default index

Code 9 English:

{{Docnav
|
|
}}

or

{{Docnav}}

Result:

Code 10 Translated:

{{Docnav/fr
|
|
}}

or

{{Docnav/fr}}

Result:

{{#if:
       |{{#if:
           | [[File:{{{IconL}}}|x16px|link=]] {{{1}}}
           | {{{1}}}
       }}
       |File:Freecad.svg
}}
{{#if:
       |{{#if:
           |[[File:{{{IconR}}}|x16px|link=]] {{{2}}} 
           |{{{2}}} 
       }}
       |File:Freecad.svg
}}
{{#if:
       |{{#if:
           |{{{3}}} [[File:{{{IconC}}}|x24px|link=]]
|
{{{3}}}
       }}
       |Index File:Online Help Toc.svg
}}

Only custom central link

Code 11 English:

{{Docnav
|
|
|[[Draft_Arc|Custom title (Draft Arc)]]
}}

Result:

Code 12 Translated:

{{Docnav/fr
|
|
|[[Draft_Arc/fr|Mon titre personnalisé (Draft Arc)]]
}}

Result:

{{#if:
       |{{#if:
           | [[File:{{{IconL}}}|x16px|link=]] 
           | 
       }}
       |File:Freecad.svg
}}
{{#if:
       |{{#if:
           |[[File:{{{IconR}}}|x16px|link=]] 

           |

       }}
       |File:Freecad.svg
}}

DocNav with icons: IconL, IconR and IconC

You can add icons to the left, to the right and in the center of the navigation bar:

  • IconL=filenameImage.ext (icon on the left of the bar)
  • IconR=filenameImage.ext (icon to the right of the bar
  • IconC=filenameImage.ext (icon in the center of the bar)

example:

Code 13 English:

{{Docnav
|[[FEM_ElementGeometry1D|FEM ElementGeometry1D]]
|[[FEM_ElementGeometry2D|FEM ElementGeometry2D]]
|[[FEM_Workbench|FEM Workbench]]
|IconL=FEM_ElementGeometry1D.svg
|IconR=FEM_ElementGeometry2D.svg
|IconC=Workbench_FEM.svg
}}

Result:

Code 14 Translated:

{{Docnav/fr
|[[FEM_ElementGeometry1D/fr|FEM ElementGeometry1D]]
|[[FEM_ElementGeometry2D/fr|FEM ElementGeometry2D]]
|[[FEM_Workbench/fr|FEM Workbench]]
|IconL=FEM_ElementGeometry1D.svg
|IconR=FEM_ElementGeometry2D.svg
|IconC=Workbench_FEM.svg
}}

Result: