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
(*adds linkie*)
(added optional css 'style' parameter)
 
(6 intermediate revisions by 4 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: {{{2|#CCC}}}; font-family: 'fixedsys', 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}}
 
 
 
The code is too complicated for me to, with a reasonably low amount of time spent, put it in a code box. Look at the page edit window if you want to try to use it.<br>
 
...yes, I do realize that I horribly split that infinitive. --[[User:Savok|Savok]]
 
 
 
[[Category:Formatting Templates]]</noinclude>
 

Latest revision as of 17:14, 26 January 2022

You may be looking for Template:DFtext.