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 16:26, 17 December 2010 by Quietust (talk | contribs) (permit X:Y color tokens)
(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[edit]

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

Examples[edit]

{| style="color: #fff; background: #000"
|-
| {{mdwarf|7:0|10px}} || Wrestlers
|-
| {{mdwarf|6:1|10px}} || Spearmasters
|-
| {{mdwarf|7:1|10px}} || Elite Wrestlers
|-
| {{mdwarf|2:0|10px}} || Marksdwarves
|-
| {{mdwarf|0:1|10px}} || Recruits
|-
| {{mdwarf|2:1|10px}} || Elite Crossbowdwarves
|-
| {{mdwarf|1:1|10px}} || Axe Lords
|-
| {{mdwarf|5:0|10px}} || Hammerdwarves
|-
| {{mdwarf|3:0|10px}} || Swordsdwarves
|-
| {{mdwarf|4:0|10px}} || Macedwarves
|-
| {{mdwarf|1:0|10px}} || Axedwarves
|-
| {{mdwarf|6:0|10px}} || Speardwarves
|-
| {{mdwarf|4:1|10px}} || Mace Lords
|}

...gives:

Dwarf2.png Wrestlers
Dwarf2.png Spearmasters
Dwarf2.png Elite Wrestlers
Dwarf2.png Marksdwarves
Dwarf2.png Recruits
Dwarf2.png Elite Crossbowdwarves
Dwarf2.png Axe Lords
Dwarf2.png Hammerdwarves
Dwarf2.png Swordsdwarves
Dwarf2.png Macedwarves
Dwarf2.png Axedwarves
Dwarf2.png Speardwarves
Dwarf2.png Mace Lords