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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(added optional css 'style' parameter)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>''You may be looking for [[Template:DFtext]].''
 
<noinclude>''You may be looking for [[Template:DFtext]].''
</noinclude><includeonly><div style="color: {{fgcolor|{{{2|7:0}}}}}; font-family: 'fixedsys', 'Terminal', monospace; background:#000; width: 50em">{{{1}}}</div></includeonly><noinclude>== Basic usage ==
 
  
{{gametext|The gametext template is designed to provide preformatted text that resembles
+
</noinclude><includeonly><div style="color: {{fgcolor|{{{2|7:0}}}}}; font-family: 'fixedsys', 'Terminal', Consolas, monospace; font-size: 12.5px; background:#000; width: 50em; {{{style|}}}">{{{1}}}</div></includeonly><noinclude>{{documentation}}</noinclude>
that of the game.  It is useful for duplicating game messages in an official format.}}
 
 
 
<pre><nowiki>{{gametext|The gametext template is designed to provide preformatted text that resembles
 
that of the game.}}</nowiki></pre>
 
 
 
== Advanced usage ==
 
 
 
{{Gametext|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<!--
 
-->}}<!--
 
-->{{Gametext|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.<br><!--
 
-->Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.<!--
 
-->|#00c}}<!--
 
-->{{Gametext|Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<!--
 
-->|#c60}}
 
 
 
<nowiki>{{Gametext|Write your Text Here|#RGB}}</nowiki>
 
<nowiki>#RGB</nowiki> is Red, Green, and Blue, in hexadecimal values, for instance, white is #FFF and black is #000. --[[User:Aescula|Aescula]]
 
 
 
[[Category:Formatting Templates]]</noinclude>
 

Latest revision as of 17:14, 26 January 2022

You may be looking for Template:DFtext.