Difference between revisions of "Template:Button"

From Custom Mario Kart
Jump to navigation Jump to search
m (Protected "Template:Button": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>Fast implementation for the moment.
+
<noinclude>View a text (usually a single letter) as ''button''.
Example: <span style="border: 1px solid #aaa; border-radius: 0.2em; box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); background-color: #f9f9f9; background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee); color: #000; padding: 0.1em 0.3em; font-family: inherit; font-size: 0.85em;">A</span>
 
  
</noinclude><includeonly><span style="border: 1px solid #aaa; border-radius: 0.2em; box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.1); background-color: #f9f9f9; background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee); color: #000; padding: 0.1em 0.3em; font-family: inherit; font-size: 0.85em;">{{{1}}}</span></includeonly>
+
Examples: {{button|A}} {{button|Left}}
 +
 
 +
Source: <tt><nowiki>{{button|A}} {{button|Left}}</nowiki></tt>
 +
[[category:Template/Include]]
 +
</noinclude><includeonly><span class=button>{{{1}}}</span></includeonly>

Latest revision as of 12:35, 15 March 2021

View a text (usually a single letter) as button.

Examples: A Left

Source: {{button|A}} {{button|Left}}