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:DFtext"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (use span (font is deprecated, unsupported in HTML5, see http://www.w3schools.com/tags/tag_font.asp))
m (Protected "Template:DFtext" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>''You may be looking for [[Template:Gametext]].''
 
<noinclude>''You may be looking for [[Template:Gametext]].''
  
</noinclude><includeonly><span style="color: {{fgcolor|{{{2|7:0}}}}}; font-family: 'fixedsys', monospace; background:#000">{{{1}}}</span></includeonly><noinclude>{{DFtext|The DFtext template is designed to provide short preformatted text that resembles that of the game. This description is not a good example of "short."}}
+
</noinclude><span style="color: {{fgcolor|{{{2|7:0}}}}}; font-size: 12.5px; font-family: 'fixedsys', 'IBM Plex Mono Medium', 'Consolas', monospace; background:{{bgcolor|{{{2|0:0}}}|black}}">{{#if:{{{links|}}}|{{colorlinks|{{fgcolor|{{{linkcolor|{{{2|7:0}}}}}}}}|{{{1}}}}}|<nowiki/>{{{1}}}<nowiki/>}}</span><noinclude>{{documentation}}</noinclude>
=== Usage ===
 
 
 
<code><nowiki>{{DFtext|Outside}}</nowiki></code> turns into {{DFtext|Outside}}.<br><code><nowiki>{{DFtext|Outside|3:1}}</nowiki></code> turns into {{DFtext|Outside|3:1}}.
 
 
 
[[Category:Formatting Templates]]</noinclude>
 

Latest revision as of 22:44, 29 November 2023

You may be looking for Template:Gametext.

{{{1}}}