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
(new style)
(nowrap property)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<span class="keyboard-key nowrap" style="border: 1px solid #aaa; {{border-radius|0.2em}} {{box-shadow|0.1em|0.2em|0.2em|#ddd}} background-color: #f9f9f9; {{linear-gradient|top|#eee, #f9f9f9, #eee}} padding: 0.1em 0.3em; font-family: inherit; font-size: 0.9em;">{{{1|<includeonly>No key provided</includeonly><noinclude>Sample</noinclude>}}}</span><noinclude>{{documentation}}</noinclude>
+
<span style="white-space: nowrap;">{{key/0|{{{1|<includeonly>No key provided</includeonly><noinclude>Sample</noinclude>}}}}}{{#if:{{{2|}}}|{{{sep|}}}{{key/0|{{{2}}}}}}}{{#if:{{{3|}}}|{{{sep|}}}{{key/0|{{{3}}}}}}}{{#if:{{{4|}}}|{{{sep|}}}{{key/0|{{{4}}}}}}}{{#if:{{{5|}}}|{{{sep|}}}{{key/0|{{{5}}}}}}}{{#if:{{{6|}}}|{{{sep|}}}{{key/0|{{{6}}}}}}}{{#if:{{{7|}}}|{{{sep|}}}{{key/0|{{{7}}}}}}}{{#if:{{{8|}}}|{{{sep|}}}{{key/0|{{{8}}}}}}}{{#if:{{{9|}}}|{{{sep|}}}{{key/0|{{{9}}}}}}}{{#if:{{{10|}}}|{{{sep|}}}{{key/0|{{{10}}}}}}}{{#if:{{{11|}}}|{{{sep|}}}{{key/0|{{{11}}}}}}}{{#if:{{{12|}}}|{{{sep|}}}{{key/0|{{{12}}}}}}}{{#if:{{{13|}}}|{{{sep|}}}{{key/0|{{{13}}}}}}}{{#if:{{{14|}}}|{{{sep|}}}{{key/0|{{{14}}}}}}}{{#if:{{{15|}}}|{{{sep|}}}{{key/0|{{{15}}}}}}}</span><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:24, 28 November 2020

Sample