Difference between revisions of "Template:Key"

From Wurmpedia
Jump to navigation Jump to search
(Fixing gradient and removing old vendor-specific tags)
(Adding CSS)
 
Line 1: Line 1:
<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>
+
<templatestyles src="Key/styles.css" />
 +
<span class="key">{{{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>

Latest revision as of 20:33, 22 April 2021

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