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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
Line 6: Line 6:
 
== Usage ==
 
== Usage ==
  
  <nowiki>{{Tile|<character>|<#color>|<#background>|<size>}}</nowiki></pre>
+
  <nowiki>{{Tile|<character>|<#color>|<#background>|<size>}}</nowiki>
  <nowiki>{{Tile|<character>|<#color>|<#background>}}</nowiki></pre>
+
  <nowiki>{{Tile|<character>|<#color>|<#background>}}</nowiki>
  <nowiki>{{Tile|<character>|<x:y:z>}}</nowiki></pre>
+
  <nowiki>{{Tile|<character>|<x:y:z>}}</nowiki>
  <nowiki>{{Tile|<character>|<x:y:z>||<size>}}</nowiki></pre>
+
  <nowiki>{{Tile|<character>|<x:y:z>||<size>}}</nowiki>
  
 
=== Special characters ===
 
=== Special characters ===

Revision as of 01:12, 2 May 2010

{{{1}}}

Template:Tile can be used to display tiles close to what they appear as in Dwarf Fortress. It is designed to be used for free-standing tiles. There is a padding-free variant for use in grids and other places where padding between the tiles is not desirable. The Dwarf template can be used to insert dwarf faces.

Usage

{{Tile|<character>|<#color>|<#background>|<size>}}
{{Tile|<character>|<#color>|<#background>}}
{{Tile|<character>|<x:y:z>}}
{{Tile|<character>|<x:y:z>||<size>}}

Special characters

Special characters can be copied from the character table. Characters used in the template syntax (e.g. | or =) need to be escaped.

Examples

Using {{Tile|*|#090|#fff}} and {{Tile|÷|#000|#990}} will insert ore chunks * and barrels ÷ into text.