Difference between revisions of "Template:Key"

From Wurmpedia
Jump to navigation Jump to search
m (Pretty keys! Taken from Wikipedia)
(Adding CSS)
 
(One intermediate revision by the same user not shown)
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>
+
<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.