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.
Dwarf Fortress Wiki:Diagram
Jump to navigation
Jump to search
This wiki has a new extension: DFDiagram!
This is an expanded (and possibly more efficient) replacement for {{diagram}}. Features include:
- An unlimited number of diagrams per page ({{diagram}} depends on RegexFunctions, so it is limited by the Regex functions limit)
- Basic tileset support (transparency and creature graphics don't work, but all of the non-transparent tilesets in the tileset repository should work)
- Z-levels
- A variety of new syntax features:
- Variables
- Special characters
- DF-style colors (e.g. 7:0 for light grey)
There are a couple differences between this and {{diagram}}:
- Colors persist until explicitly changed (use [#] to reset the foreground color):
Code | {{diagram}} | <diagram> | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[#f00]red text |
|
|
See the wiki for more in-depth help.
An example:
T | h | i | s | i | s | a | s | a | m | p | l | e | d | i | a | g | r | a | m | |||||||||||||||||||||
T | h | i | s | d | i | a | g | r | a | m | h | a | s | m | u | l | t | i | p | l | e | z | - | l | e | v | e | l | s | ! | P | r | e | s | s | |||||
< | t | o | g | o | u | p | o | n | e | z | - | l | e | v | e | l | . |
T | h | i | s | i | s | z | - | l | e | v | e | l | 1 | . | |||||||||||||||||||||||||||
H | e | r | e | i | s | a | d | w | a | r | f | : | ☺ | ||||||||||||||||||||||||||||
H | e | r | e | a | r | e | a | l | o | t | o | f | d | w | a | r | v | e | s | : | ☺ | ☺ | ☺ | ☺ | ☻ | ☺ | ☺ | ☺ | ☻ | ☺ | ☺ | ☻ | ☻ | ☺ | ☺ | ||||||
H | e | r | e | i | s | a | c | a | t | : | c | ||||||||||||||||||||||||||||||
H | e | r | e | i | s | a | g | r | e | e | n | c | a | t | : | c | |||||||||||||||||||||||||
P | r | e | s | s | < | t | o | g | o | u | p | o | n | e | m | o | r | e | z | - | l | e | v | e | l | . |
T | h | i | s | i | s | z | - | l | e | v | e | l | 2 | . | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
N | o | t | i | c | e | h | o | w | t | h | e | d | i | a | g | r | a | m | s | i | z | e | c | h | a | n | g | e | s | d | e | p | e | n | d | i | n | g | o | n | t | h | e | c | o | n | t | e | n | t | o | f | e | a | c | h | z | - | l | e | v | e | l | . |