Difference between revisions of "Template:Docnav/it"

From FreeCAD Documentation
Jump to navigation Jump to search
(Changed icon sizes to x16px and x24px.)
 
(7 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" style="background-color:#ececef; border: 1px solid #a2a9b1; padding: 2px 10px 2px 10px; clear: both; margin: 10px 0;">
<div style="float:left">&larr; pagina precedente: {{{1}}}</div>
+
  <div style="float:left">{{#if: {{{1|}}}
<div style="float:right">pagina successiva: {{{2}}} &rarr;</div>
+
                                |{{#ifexist: {{{1}}}
<div style="text-align:center">[[{{{3|Online Help Toc/it|Indice}}}|{{{4|Indice}}}]]</div>
+
                                    |{{#if:{{{IconL|}}}
</div>
+
                                        |[[File:Arrow-left.svg|x16px]] [[File:{{{IconL}}}|x16px]] [[{{{1}}}| Pagina precedente: {{{1}}}]]
<noinclude>[[Category:Template/it]] [[Category:Template:Navigation/it]] [[Category:Administration/it]]
+
                                        |[[File:Arrow-left.svg|x16px]] [[{{{1}}}| Pagina precedente: {{{1}}}]]}}
 
+
                                    |{{#if:{{{IconL|}}}
----
+
                                        |[[File:Arrow-left.svg|x16px]] Pagina precedente: [[File:{{{IconL}}}|x16px]] {{{1}}}
 
+
                                        |[[File:Arrow-left.svg|x16px]] Pagina precedente: {{{1}}} }}}}
Use this template to show an element to advance or go back a page in the documentation.
+
                                |[[File:FreeCAD.png|x24px|]]}} </div>
 
+
  <div style="float:right">{{#if: {{{2|}}}
Example:
+
                                  |{{#ifexist: {{{2}}}
 
+
                                    |{{#if:{{{IconR|}}}
<nowiki>
+
                                        |[[{{{2}}}|Pagina successiva: {{{2}}}]] [[File:{{{IconR}}}|x16px]] [[File:Arrow-right.svg|x16px]]
{{docnav/it|[[Draft Workbench/it|Draft]]|[[Arch Workbench/it|Arch]]}}</nowiki>
+
                                        |[[{{{2}}}|Pagina successiva: {{{2}}}]] [[File:Arrow-right.svg|x16px]]}}
 
+
                                    |{{#if:{{{IconR|}}}
Result:
+
                                        |Pagina successiva: {{{2}}} [[File:{{{IconR}}}|x16px]] [[File:Arrow-right.svg|x16px]]
 
+
                                        |Pagina successiva: {{{2}}} [[File:Arrow-right.svg|x16px]]}}}}
{{docnav/it|[[Draft Workbench/it|Draft]]|[[Arch Workbench/it|Arch]]}}
+
                                  |[[File:FreeCAD.png|x24px|]]}}</div>
 
+
  <div style="text-align:center">{{#if: {{{3|}}}
Optionally, you can also give a third and fourth argument, which is the index page link at the middle, and its title, example:
+
                                        |{{#if: {{{4|}}}
 
+
                                          |{{#if:{{{IconC|}}}
<nowiki>
+
                                              |[[{{{3}}}|{{{4}}}]] [[File:{{{IconC}}}|x24px]]<div></div>
{{Docnav/it|[[Draft Workbench/it|Draft]]|[[Arch Workbench/it|Arch]]|Manual:Introduction/it|Indice del manuale}}</nowiki>
+
                                              |[[{{{3}}}|{{{4}}}]]}}
 
+
                                          |{{#if:{{{IconC|}}}
Result:
+
                                              |{{{3}}} [[File:{{{IconC}}}|x24px]]<div></div>
 
+
                                              |{{{3}}} }} }}
{{Docnav/it|[[Draft Workbench/it|Draft]]|[[Arch Workbench/it|Arch]]|Manual:Introduction/it|Indice del manuale}}
+
                                        |{{#if:{{{IconC|}}}
 
+
                                          |[[Online_Help_Toc/it|Indice]] [[File:{{{IconC}}}|x24px]]<div></div>
</noinclude>
+
                                          |[[Online_Help_Toc/it|Indice]] [[File:Online_Help_Toc.svg|x24px]]}} }}</div></div>

Latest revision as of 17:07, 31 December 2021