Template:Mario52: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(297 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">{{#ifexist: {{{1}}} |
|||
|{{#if:{{{1|}}}| {{{1}}} [[Image:SpinBox.svg|17px]]<span></span> |
|||
|[[Image:SpinBox.svg|17px]]<span></span>}}}}</span><noinclude> |
|||
|[[File:FreeCAD.png|24px|]]}} </div> |
|||
---- |
|||
<div style="float:right">{{#ifexist: {{{2}}} |
|||
|[[{{{2}}}]] [[next: {{{2}}}]] → |
|||
Use this template when you want to indicate a SpinBox {{Mario52|1.5}} (current) or left {{Mario52|LEFT|1.0}}. |
|||
|{{{2}}} next: {{{2}}} →}} |
|||
|[[File:FreeCAD.png|24px|]]}}</div> |
|||
==Example 1:== |
|||
<div style="text-align:center">[[{{{3|Online Help Toc}}}|{{{4|Index}}}]]</div> |
|||
</div> |
|||
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:
Example 2:
With parameter LEFT.
{{Mario52|LEFT|1.5}}
Result:
Example 3:
Without parameter or empty the spinBox is displayed
{{Mario52}}
Result:
This template is not translatable