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:Mdwarf

From Dwarf Fortress Wiki
Revision as of 08:27, 8 April 2010 by Eagle0600 (talk | contribs) (Copied {{dwarf}} for use with military dwarves.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{2}}}

Template:mdwarf can be used to display dwarves close to what they appear as in Dwarf Fortress. It can be used together with the raw tile template, however it doesn't scale with the user's font size. This might lead to problems for users with uncommon settings.

Usage

{{mdwarf|<color>|<size>}}

Examples

{| style="color: #fff; background: #000"
|-
| {{mdwarf|#999|10px}} || Miners
|-
| {{mdwarf|#ff0|10px}} || Carpenters
|-
| {{mdwarf|#fff|10px}} || Masons
|-
| {{mdwarf|#090|10px}} || Trappers
|-
| {{mdwarf|#666|10px}} || Metalsmiths
|-
| {{mdwarf|#0f0|10px}} || Jewelers
|-
| {{mdwarf|#00f|10px}} || Craftsdwarves
|-
| {{mdwarf|#909|10px}} || Nobles
|-
| {{mdwarf|#099|10px}} || Peasants
|-
| {{mdwarf|#900|10px}} || Children
|-
| {{mdwarf|#009|10px}} || Fisherdwaves
|-
| {{mdwarf|#990|10px}} || Farmers
|-
| {{mdwarf|#f00|10px}} || Mechanics
|}

...gives:

Dwarf2.png Miners
Dwarf2.png Carpenters
Dwarf2.png Masons
Dwarf2.png Trappers
Dwarf2.png Metalsmiths
Dwarf2.png Jewelers
Dwarf2.png Craftsdwarves
Dwarf2.png Nobles
Dwarf2.png Peasants
Dwarf2.png Children
Dwarf2.png Fisherdwaves
Dwarf2.png Farmers
Dwarf2.png Mechanics