Template:Qd

From DwarfFortressWiki

Jump to: navigation, search
This documentation is transcluded from Template:Qd/doc. (edit | history)

Qd is a template designed for the creation of quick diagrams. There is much less input required to create a diagram similar to Template:RT. It was designed for large diagrams that don't have a lot of details or special characters. It allows more diagrams of larger size to be placed on the same page, but some things are harder to achieve. Pictures with lots of special characters or varying colors will be easier to make with template:RT.

Qd can handle up to 150 characters at a time in a single template call. For more than 150, it should be split up into multiple calls.


Usage:

   {{qd|cols=13
   |╔|═|═|╦|═|═|╦|═|═|╦|═|═|╗
   |║|.|.|║|.|.|║|.|.|║|.|.|║
   |║|.|┼|╩|┼|.|║|.|┼|╩|┼|.|║
   |╠|═|╣|X|╠|═|╬|═|╣|X|╠|═|╣
   |║|.|┼|╦|┼|.|║|.|┼|╦|┼|.|║
   |║|.|.|║|.|.|║|.|.|║|.|.|║}}

gives

........
....
XX
....
........

Qd uses a default coloration for each character passed to it. All characters that don't have a coloration defined are rendered as gray on black.

Symbolassociations
~
÷÷
**
``
\.
θθ

If you want to color a specific tile in a different way, you can use template:qd/ch inside the diagram.

Was made by

 {{qd|cols=6
 |{{qd/ch{{!}}═{{!}}888}}|═|┼|┼|═|{{qd/ch{{!}}═{{!}}888}}
 }}
Personal tools