Difference between revisions of "Template:Key"

From Wurmpedia
Jump to navigation Jump to search
m (Pretty keys! Taken from Wikipedia)
(Fixing gradient and removing old vendor-specific tags)
Line 1: Line 1:
<span style="border: 1px solid #aaa; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; -moz-box-shadow: 1px 2px 2px #ddd; -webkit-box-shadow: 1px 2px 2px #ddd; box-shadow: 1px 2px 2px #ddd; background-color: #f9f9f9; background-image: -moz-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -ms-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -o-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: -webkit-linear-gradient(top, #eee, #f9f9f9, #eee); background-image: linear-gradient(top, #eee, #f9f9f9, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{{1}}}</span><noinclude>
+
<span style="border: 1px solid #aaa; border-radius: 2px; box-shadow: 1px 2px 2px #ddd; background-color: #f9f9f9; background-image: linear-gradient(to top, #eee, #f9f9f9, #eee); padding: 1px 3px; font-family: inherit; font-size: 0.85em;">{{{1}}}</span><noinclude>
 
Usage: <span style="background:#E6FFE6;"><nowiki>{{key|keytext}}</nowiki></span> produces {{key|keytext}}. Simply replace keytext with the desired key.
 
Usage: <span style="background:#E6FFE6;"><nowiki>{{key|keytext}}</nowiki></span> produces {{key|keytext}}. Simply replace keytext with the desired key.
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 20:00, 22 April 2021

{{{1}}} Usage: {{key|keytext}} produces keytext. Simply replace keytext with the desired key.