Template:Docnav/pl: Difference between revisions
(Created page with '<div class="docnav"> <div style="float:left">[[{{{1}}}|< previous: {{{1}}}]]</div> <div style="float:right">[[{{{2}}}|next: {{{2}}} >]]</div> <div style="text-align:c…') |
(24px) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<div class="docnav" style="background-color:#ececef; border: 1px solid #a2a9b1; padding: 2px 10px 2px 10px; clear: both; margin: 10px 0;"> |
|||
<div class="docnav"> |
|||
<div style="float:left"> |
<div style="float:left">{{#if: {{{1|}}} |
||
|{{#ifexist: {{{1}}} |
|||
<div style="float:right">[[{{{2}}}|next: {{{2}}} >]]</div> |
|||
|{{#if:{{{IconL|}}} |
|||
<div style="text-align:center">[[Online Help Toc/pl|Spis treści]]</div> |
|||
|[[File:Arrow-left.svg|16px]] [[File:{{{IconL}}}|16px]] [[{{{1}}}| poprzedni: {{{1}}}]] |
|||
</div> |
|||
|[[File:Arrow-left.svg|16px]] [[{{{1}}}| poprzedni: {{{1}}}]]}} |
|||
|{{#if:{{{IconL|}}} |
|||
|[[File:Arrow-left.svg|16px]] [[File:{{{IconL}}}|16px]] {{{1}}} poprzedni: |
|||
|[[File:Arrow-left.svg|16px]] {{{1}}} poprzedni:}}}} |
|||
|[[File:FreeCAD.png|24px|]]}} </div> |
|||
<div style="float:right">{{#if: {{{2|}}} |
|||
|{{#ifexist: {{{2}}} |
|||
|{{#if:{{{IconR|}}} |
|||
|[[{{{2}}}|następny: {{{2}}}]] [[File:{{{IconR}}}|16px]] [[File:Arrow-right.svg|16px]] |
|||
|[[{{{2}}}|następny: {{{2}}}]] [[File:Arrow-right.svg|16px]]}} |
|||
|{{#if:{{{IconR|}}} |
|||
|następny: {{{2}}} [[File:{{{IconR}}}|16px]] [[File:Arrow-right.svg|16px]] |
|||
|następny: {{{2}}} [[File:Arrow-right.svg|16px]]}}}} |
|||
|[[File:FreeCAD.png|24px|]]}}</div> |
|||
<div style="text-align:center">{{#if: {{{3|}}} |
|||
|{{#if: {{{4|}}} |
|||
|{{#if:{{{IconC|}}} |
|||
|[[{{{3}}}|{{{4}}}]] [[File:{{{IconC}}}|24px]]<div></div> |
|||
|[[{{{3}}}|{{{4}}}]]}} |
|||
|{{#if:{{{IconC|}}} |
|||
|{{{3}}} [[File:{{{IconC}}}|24px]]<div></div> |
|||
|{{{3}}} }} }} |
|||
|{{#if:{{{IconC|}}} |
|||
|[[Online Help Toc/pl|Spis treści]] [[File:{{{IconC}}}|24px]]<div></div> |
|||
|[[Online Help Toc/pl|Spis treści]] [[File:Online_Help_Toc.svg|24px]]}} }}</div></div><noinclude> |
|||
---- |
|||
Use this template to show an element to advance or go back a page in the documentation. |
|||
Example: |
|||
==Normal mode Left, normal Right, central title imposed== |
|||
'''Code''' 1 (English): mode 1 |
|||
<nowiki>{{Docnav| Draft Workbench | Arch Workbench }}</nowiki> |
|||
Result: |
|||
{{Docnav|Draft Workbench|Arch Workbench}} |
|||
'''or''' |
|||
'''Code''' 2 (English): mode 2 |
|||
<nowiki>{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] }}</nowiki> |
|||
Result: |
|||
{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] }} |
|||
'''Code''' 3 /pl (Translated): |
|||
<nowiki>{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | [[Arch Workbench/pl|Atelier Arch]] }}</nowiki> |
|||
Result: |
|||
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | [[Arch Workbench/pl|Atelier Arch]] }} |
|||
==Normal mode Left, normal Right, title and personal central link== |
|||
'''Code''' 4 (English): mode 1 |
|||
<nowiki>{{Docnav| Draft Workbench | Arch Workbench | Online Help Toc | My personal title }}</nowiki> |
|||
Result: |
|||
{{Docnav|Draft Workbench|Arch Workbench|Online Help Toc|My personal title}} |
|||
'''or''' |
|||
'''Code''' 5 (English) mode 2: |
|||
<nowiki>{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] | [[Online Help Toc|My personal title]] }}</nowiki> |
|||
Result: |
|||
{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] | [[Online Help Toc|My personal title]] }} |
|||
'''Code''' 6 /pl (Translated) mode 1: |
|||
<nowiki>{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | [[Arch Workbench/pl|Atelier Arch]] | Online Help Toc/pl | Mon titre personnel }}</nowiki> |
|||
Result: |
|||
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]]|[[Arch Workbench/pl|Atelier Arch]]|Online Help Toc/pl|Mon titre personnel}} |
|||
'''Code''' 7 /pl (Translated) mode 2: |
|||
<nowiki>{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | [[Arch Workbench/pl|Atelier Arch]] | [[Online Help Toc/pl|Mon titre personnel]] }}</nowiki> |
|||
Result: |
|||
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]]|[[Arch Workbench/pl|Atelier Arch]]|[[Online Help Toc/pl|Mon titre personnel]] }} |
|||
==Left arrow + imposed index (example last page)== |
|||
'''Code''' 8 (English) mode 1: |
|||
<nowiki>{{Docnav| Draft Workbench | }}</nowiki> |
|||
Result: |
|||
{{Docnav|Draft Workbench|}} |
|||
'''or''' |
|||
'''Code''' 9 (English) mode 2: |
|||
<nowiki>{{Docnav| [[Draft Workbench|Draft Workbench]] | }}</nowiki> |
|||
Result: |
|||
{{Docnav| [[Draft Workbench|Draft Workbench]]| }} |
|||
'''Code''' 10 /pl (Translated): |
|||
<nowiki>{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | }}</nowiki> |
|||
Result: |
|||
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | }} |
|||
==Right arrow + imposed index (example first page)== |
|||
'''Code''' 11 (English) mode 1: |
|||
<nowiki>{{Docnav| | Draft Workbench}}</nowiki> |
|||
Result: |
|||
{{Docnav| | Draft Workbench}} |
|||
'''Code''' 12 (English) mode 2: |
|||
<nowiki>{{Docnav| | [[Draft Workbench|Draft Workbench]]}}</nowiki> |
|||
Result: |
|||
{{Docnav| | [[Draft Workbench|Draft Workbench]]}} |
|||
'''Code''' 13 /pl (Translated): |
|||
<nowiki>{{Docnav/pl| | [[Draft Workbench/pl|Atelier Draft]]}}</nowiki> |
|||
Result: |
|||
{{Docnav/pl| | [[Draft Workbench/pl|Atelier Draft]]}} |
|||
==Only imposed index== |
|||
'''Code''' 14 (English): |
|||
<nowiki>{{Docnav| | }}</nowiki> |
|||
'''or''' |
|||
<nowiki>{{Docnav}}</nowiki> |
|||
Result: |
|||
{{Docnav| | }} |
|||
'''Code''' 15 /pl (Translated): |
|||
<nowiki>{{Docnav/pl| | }}</nowiki> |
|||
'''or''' |
|||
<nowiki>{{Docnav/pl}}</nowiki> |
|||
Result: |
|||
{{Docnav/pl}} |
|||
==Only index and personal title== |
|||
'''Code''' 16 (English) mode 1: |
|||
<nowiki>{{Docnav| | |Draft_Arc|Personal title (Draft_Arc)}}</nowiki> |
|||
Result: |
|||
{{Docnav| | |Draft_Arc|Personal title (Draft_Arc)}} |
|||
'''or''' |
|||
'''Code''' 17 (English) mode 2: |
|||
<nowiki>{{Docnav| | | [[Draft_Arc|Personal title (Draft_Arc)]] }}</nowiki> |
|||
Result: |
|||
{{Docnav| | | [[Draft_Arc|Personal title (Draft_Arc)]] }} |
|||
'''Code''' 18 /pl (Translated): |
|||
<nowiki>{{Docnav/pl| | | [[Draft_Arc/pl|Mon titre personnel (Draft_Arc)]] }}</nowiki> |
|||
Result: |
|||
{{Docnav/pl| | | [[Draft_Arc/pl|Mon titre personnel (Draft_Arc)]] }} |
|||
==DocNav with Icon : IconL, IconC, IconR (or tree icon)== |
|||
Optionally you can add an icon to the left of the bar to the right of the bar or to the center of the navigation bar or to all three places at once. |
|||
The position of the code can be placed arbitrarily in the navigation bar it will be placed automatically in the right place using the following codes: |
|||
* IconL = filenameImage.ext (icon on the Left of the bar) |
|||
* IconC = filenameImage.ext (icon in the Center of the bar) |
|||
* IconR = filenameImage.ext (icon to the Right of the bar |
|||
example: |
|||
'''Code''' 19 (English): |
|||
<nowiki>{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] | [[FEM_Module|FEM Module]] | IconC = Workbench_FEM.svg | IconL = Fem-beam-section.svg | IconR = Fem-shell-thickness.svg }}</nowiki> |
|||
Result: |
|||
{{Docnav| [[FEM_ElementGeometry1D|FEM_ElementGeometry1D]] | [[FEM_ElementGeometry2D|FEM_ElementGeometry2D]] | [[FEM_Module|FEM Module]] | IconC = Workbench_FEM.svg | IconL = Fem-beam-section.svg | IconR = Fem-shell-thickness.svg }} |
|||
'''Code''' 20 (Translated): |
|||
<nowiki>{{Docnav/pl| [[FEM_ElementGeometry1D/pl|FEM_ElementGeometry1D]] | [[FEM_ElementGeometry2D/pl|FEM_ElementGeometry2D]] | [[FEM_Module/pl|FEM Module]] | IconC = Workbench_FEM.svg | IconL = Fem-beam-section.svg | IconR = Fem-shell-thickness.svg }}</nowiki> |
|||
Result: |
|||
{{Docnav/pl| [[FEM_ElementGeometry1D/pl|FEM_ElementGeometry1D]] | [[FEM_ElementGeometry2D/pl|FEM_ElementGeometry2D]] | [[FEM_Module/pl|FEM Module]] | IconC = Workbench_FEM.svg | IconL = Fem-beam-section.svg | IconR = Fem-shell-thickness.svg }} |
|||
[[Category:Template/pl]] |
|||
[[Category:Template:Navigation/pl]] |
|||
[[Category:Administration/pl]] |
|||
</noinclude> |
Revision as of 15:30, 24 February 2019
Use this template to show an element to advance or go back a page in the documentation.
Example:
Normal mode Left, normal Right, central title imposed
Code 1 (English): mode 1
{{Docnav| Draft Workbench | Arch Workbench }}
Result:
or
Code 2 (English): mode 2
{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] }}
Result:
Code 3 /pl (Translated):
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | [[Arch Workbench/pl|Atelier Arch]] }}
Result:
Normal mode Left, normal Right, title and personal central link
Code 4 (English): mode 1
{{Docnav| Draft Workbench | Arch Workbench | Online Help Toc | My personal title }}
Result:
or
Code 5 (English) mode 2:
{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] | [[Online Help Toc|My personal title]] }}
Result:
Code 6 /pl (Translated) mode 1:
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | [[Arch Workbench/pl|Atelier Arch]] | Online Help Toc/pl | Mon titre personnel }}
Result:
Code 7 /pl (Translated) mode 2:
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | [[Arch Workbench/pl|Atelier Arch]] | [[Online Help Toc/pl|Mon titre personnel]] }}
Result:
Left arrow + imposed index (example last page)
Code 8 (English) mode 1:
{{Docnav| Draft Workbench | }}
Result:
or
Code 9 (English) mode 2:
{{Docnav| [[Draft Workbench|Draft Workbench]] | }}
Result:
Code 10 /pl (Translated):
{{Docnav/pl| [[Draft Workbench/pl|Atelier Draft]] | }}
Result:
Right arrow + imposed index (example first page)
Code 11 (English) mode 1:
{{Docnav| | Draft Workbench}}
Result:
Code 12 (English) mode 2:
{{Docnav| | [[Draft Workbench|Draft Workbench]]}}
Result:
Code 13 /pl (Translated):
{{Docnav/pl| | [[Draft Workbench/pl|Atelier Draft]]}}
Result:
Only imposed index
Code 14 (English):
{{Docnav| | }}
or
{{Docnav}}
Result:
Code 15 /pl (Translated):
{{Docnav/pl| | }}
or
{{Docnav/pl}}
Result:
Only index and personal title
Code 16 (English) mode 1:
{{Docnav| | |Draft_Arc|Personal title (Draft_Arc)}}
Result:
or
Code 17 (English) mode 2:
{{Docnav| | | [[Draft_Arc|Personal title (Draft_Arc)]] }}
Result:
Code 18 /pl (Translated):
{{Docnav/pl| | | [[Draft_Arc/pl|Mon titre personnel (Draft_Arc)]] }}
Result:
Optionally you can add an icon to the left of the bar to the right of the bar or to the center of the navigation bar or to all three places at once. The position of the code can be placed arbitrarily in the navigation bar it will be placed automatically in the right place using the following codes:
- IconL = filenameImage.ext (icon on the Left of the bar)
- IconC = filenameImage.ext (icon in the Center of the bar)
- IconR = filenameImage.ext (icon to the Right of the bar
example:
Code 19 (English):
{{Docnav| [[Draft Workbench|Draft Workbench]] | [[Arch Workbench|Arch Workbench]] | [[FEM_Module|FEM Module]] | IconC = Workbench_FEM.svg | IconL = Fem-beam-section.svg | IconR = Fem-shell-thickness.svg }}
Result:
Code 20 (Translated):
{{Docnav/pl| [[FEM_ElementGeometry1D/pl|FEM_ElementGeometry1D]] | [[FEM_ElementGeometry2D/pl|FEM_ElementGeometry2D]] | [[FEM_Module/pl|FEM Module]] | IconC = Workbench_FEM.svg | IconL = Fem-beam-section.svg | IconR = Fem-shell-thickness.svg }}
Result: