Template:Mario52: Difference between revisions

From FreeCAD Documentation
mNo edit summary
mNo edit summary
 
(268 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="background: #f9f9f9; -moz-box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); -webkit-box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); border: 1px solid #989898; border-radius: 0.2em; padding: 0px 2px 2px 2px; font-weight:normal;">{{#ifeq:{{{1}}}|LEFT
<div class="docnav" style="background-color:#ececef; border: 1px solid #a2a9b1; padding: 2px 10px 2px 10px; clear: both; margin: 10px 0;">
|[[Image:SpinBox.svg|17px]] {{{2}}} <span></span>
<div style="float:left">{{#if: {{{1|}}}
|{{#ifexist: {{{1}}}
|{{#if:{{{1|}}}| {{{1}}} [[Image:SpinBox.svg|17px]]<span></span>
|[[{{{1}}}|← previous: {{{1}}}]]
|[[Image:SpinBox.svg|17px]]<span></span>}}}}</span><noinclude>
| ← {{{1}}}previous:}}
|[[File:FreeCAD.png|24px|]]}} </div>
<div style="float:right">{{#if: {{{2|}}}
|{{#ifexist: {{{2}}}
|[[{{{2}}}|next: {{{2}}}]] →
|next: {{{2}}} →}}
|[[File:FreeCAD.png|24px|]]}}</div>
<div style="text-align:center">{{#if: {{{3|}}}
|{{#if: {{{4|}}}
|[[{{{3}}}|{{{4}}}]] }}
|{{{3}}}
|[[Online Help Toc|Index]] }}
</div>
</div>
{{{3}}}{{#ifexist:{{{3}}}| existe | existe pas }}


----
{{{4}}}{{#ifexist:{{{4}}}| existe | existe pas }}

Use this template when you want to indicate a SpinBox {{Mario52|1.5}} (current) or left {{Mario52|LEFT|1.0}}.

==Example 1:==

With parameter (normal use) current position.

<nowiki>
{{Mario52|1.0}}</nowiki>

Result:

{{Mario52|1.0}}

==Example 2:==

With parameter '''LEFT'''.

<nowiki>
{{Mario52|LEFT|1.5}}</nowiki>

Result:

{{Mario52|LEFT|1.5}}

==Example 3:==

Without parameter or '''empty''' the spinBox is displayed

<nowiki>
{{Mario52}}</nowiki>

Result:

{{Mario52}}


{{VeryImportantMessage|This template is not translatable}}

[[Category:Template:Text Format]]

Latest revision as of 17:55, 29 March 2020


Use this template when you want to indicate a SpinBox 1.5 (current) or left 1.0 .

Example 1:

With parameter (normal use) current position.

{{Mario52|1.0}}

Result:

1.0

Example 2:

With parameter LEFT.

{{Mario52|LEFT|1.5}}

Result:

1.5

Example 3:

Without parameter or empty the spinBox is displayed

{{Mario52}}

Result:


This template is not translatable