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.

Template:RT

From Dwarf Fortress Wiki
Revision as of 19:12, 10 June 2019 by Doorkeeper (talk | contribs) (moved line-height property; fixes occasional whitespace between lines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
style="padding: 0; line-height: 1;"|{{{1}}}

Template:RT is a version of Template:Raw Tile with the cell padding parameter incorporated to minimize the number of bytes it uses. See Template:Raw Tile for further usage notes.

Template:RT0 is the same template with a black background color hard-coded.

Template:RTC is the same template with a black background color and a gray foreground color hard-coded.

Template:RTF is the same template with a black background color and a white foreground color hard-coded.

Template:RTB is a blank tile of any color.

Template:000 is a blank black tile.

Template:CCC is a blank grey tile, used for grey stone walls.

Template:FFF is a blank white tile, used for light stone walls.

Template:888 is a blank dark grey tile, used for dark stone walls.

Template:C.C is a grey cavern floor tile, used for plain cavern floors.

Template:H2O is a blue ≈ on a black background, used for water tiles.

Template:RTS is a teal ▓ on a black background, used for sky tiles.

Template:RTL is a template for maximized flexibility and features.

Usage

{{RT|<character>|<color>|<background>}}
{{RT0|<character>|<color>}}
{{RTC|<character>}}
{{RTB|<color>}}
{{000}}, {{888}}, {{CCC}}, {{FFF}}, {{C.C}}
{{RTL|<character-color>|<character>|<background-color>|<superior>|<superior-color>|<superior-align>}}

Examples

1
= =
÷ ÷
÷
÷
>
. .

...can be made with:

{| style="border-spacing: 0"
|-
|{{RTC|═}}
|{{RT0|═|#CCC}}
|{{RT|┼|#888|#CCC}}
|{{RTL|#888|┼|#CCC|1|#000}}
|{{RT0|═|#CCC}}
|{{RT0|═|7:0}}
|-
|{{RT|=|#888|#000}}
|{{RT|=|0:0:1}}
|{{RTB|#CFF}}
|{{RTB|#CCF}}
|{{RTB|#6CF}}
|{{RTB|#66C}}
|-
|{{RT|÷|#000|#990}}
|{{RT|÷|0:6:0}}
|{{RTL|#444|÷|#CCC|─}}
|{{RTL|#444|÷|#CCC|>||left}}
|{{H2O}}
|{{H2O}}
|-
|{{RTF|.}}
|{{C.C}}
|{{FFF}}
|{{CCC}}
|{{888}}
|{{000}}
|}