Difference between revisions of "Template:Gametext"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (this now matches {{dftext}})
(added optional css 'style' parameter)
 
(One intermediate revision by the same user 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', Consolas, monospace; font-size: 12.5px; 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.