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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: <noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude><code style="color: {{{2}}}; background: {{{3}}}; font-size: 135%...)
 
m (→‎Special characters: Link correction)
Line 11: Line 11:
 
=== Special characters ===
 
=== Special characters ===
  
Special characters can be copied from the [[Character_Table|character table]]. Characters used in the template syntax (e.g. | or =) need to be escaped.
+
Special characters can be copied from the [[character table]]. Characters used in the template syntax (e.g. | or =) need to be escaped.
  
 
=== Examples ===
 
=== Examples ===

Revision as of 22:49, 1 November 2007

{{{1}}}

Template:Raw Tile can be used to display tiles close to what they appear as in Dwarf Fortress. It is designed to be used in grids. There is a variant with padding for free-standing use. The Dwarf template can be used to insert dwarf faces.

Usage

{{Raw Tile|<character>|<color>|<background>}}

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

÷ = ÷ ÷ ÷ ÷
÷ ÷ ÷ ÷ ÷ ÷
÷ ÷ ÷ = ÷ =

...can be made with:

{| style="border-spacing: 0"
|-
|style="padding: 0"|{{Raw Tile|═|#999|#000}}
|style="padding: 0"|{{Raw Tile|═|#999|#000}}
|style="padding: 0"|{{Raw Tile|┼|#666|#999}}
|style="padding: 0"|{{Raw Tile|┼|#666|#999}}
|style="padding: 0"|{{Raw Tile|═|#999|#000}}
|style="padding: 0"|{{Raw Tile|═|#999|#000}}
|-
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|=|#666|#000}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|-
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|-
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|=|#666|#000}}
|style="padding: 0"|{{Raw Tile|÷|#000|#990}}
|style="padding: 0"|{{Raw Tile|=|#666|#000}}
|}