Difference between revisions of "Template:Button"

From POV-Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly><span class="hotkey" style="border: 0.2em outset #383838;border-radius:0.4em;color:#e5e5e5;text-shadow: 0.1em 0.1em 0 #383838;background: #595959; padding: 0.1em 0.4em; font-size: 0.8em;box-shadow: inset 0 0 .07em rgb(130,130,130),inset 0 0 .07em rgb(100,100,100),0 .07em 0 rgb(30,30,30),0 .075em 0 rgba(0,0,0,.7),0 .07em .075em rgba(0,0,0,.5);white-space: nowrap;">
 
<includeonly><span class="hotkey" style="border: 0.2em outset #383838;border-radius:0.4em;color:#e5e5e5;text-shadow: 0.1em 0.1em 0 #383838;background: #595959; padding: 0.1em 0.4em; font-size: 0.8em;box-shadow: inset 0 0 .07em rgb(130,130,130),inset 0 0 .07em rgb(100,100,100),0 .07em 0 rgb(30,30,30),0 .075em 0 rgba(0,0,0,.7),0 .07em .075em rgba(0,0,0,.5);white-space: nowrap;">
{{ucfirst:{{{1}}}}}{{{if: {{{2|}}}|+{{ucfirst:{{{2}}}}}{{{if: {{{3|}}}|+{{ucfirst:{{{3}}}}}{{{if: {{{4|}}}|+{{ucfirst:{{{4}}}}}}}}}}}}}}
+
{{ucfirst:{{{1}}}}}{{{if exist: {{{2|}}}|+{{ucfirst:{{{2}}}}}{{{if: {{{3|}}}|+{{ucfirst:{{{3}}}}}{{{if: {{{4|}}}|+{{ucfirst:{{{4}}}}}}}}}}}}}}
 
</span></includeonly><!--
 
</span></includeonly><!--
  
 
--><noinclude>{{Documentation}}</noinclude>
 
--><noinclude>{{Documentation}}</noinclude>

Revision as of 20:16, 29 October 2019

Use this template to show a User Interface button.

Example

Press the button {{Button|Duplicate}}.

returns:

Press the button Duplicate+{{{2}}}+{{{3}}}+{{{4}}} .


See also Template:Shortcut