Шаблон:RT

Материал из Dwarf Fortress Wiki
Перейти к: навигация, поиск
style="padding: 0px;"|{{{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: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|═|#CCC}}
|-
|{{RT|=|#888|#000}}
|{{RT|=|#888|#000}}
|{{RTB|#CFF}}
|{{RTB|#CCF}}
|{{RTB|#6CF}}
|{{RTB|#66C}}
|-
|{{RT|÷|#000|#990}}
|{{RT|÷|#000|#990}}
|{{RTL|#444|÷|#CCC|─}}
|{{RTL|#444|÷|#CCC|>||left}}
|{{H2O}}
|{{H2O}}
|-
|{{RTF|.}}
|{{C.C}}
|{{FFF}}
|{{CCC}}
|{{888}}
|{{000}}
|}