v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Key"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Font tweaks - no reason this should be smaller than the surrounding text; this makes "{{key|v}}iew" (so often used) look awkward)
m (border color for capital letters)
Line 1: Line 1:
<includeonly><span style="background-color: #F0F0F0; width: 32px; border-style: outset; border-width: 1px; margin:0; padding:0 2px; clear:none; font-family:monospace">{{{1}}}</span></includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly><span style="background-color: #f0f0f0; {{#ifeq:{{str/len|{{{1}}}}}{{#rmatch:{{{1}}}|[A-Z]|a}}|1a|border-color:#bbf;}} width: 32px; border-style: outset; border-width: 1px; margin:0; padding:0 2px; clear:none; font-family:monospace">{{{1}}}</span></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 18:38, 21 January 2014