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.

Difference between revisions of "Template:Dwarf"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: <noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude><span style="background: {{{1}}}">{{{2}}}</s...)
 
(Added to templates.)
Line 72: Line 72:
 
| {{Dwarf|#f00|10px}} || Mechanics
 
| {{Dwarf|#f00|10px}} || Mechanics
 
|}
 
|}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:40, 29 November 2007

{{{2}}}

Template:Dwarf 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

{{Dwarf|<color>|<size>}}

Examples

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

...gives:

Dwarf.gif Miners
Dwarf.gif Carpenters
Dwarf.gif Masons
Dwarf.gif Trappers
Dwarf.gif Metalsmiths
Dwarf.gif Jewelers
Dwarf.gif Craftsdwarves
Dwarf.gif Nobles
Dwarf.gif Peasants
Dwarf.gif Children
Dwarf.gif Fisherdwaves
Dwarf.gif Farmers
Dwarf.gif Mechanics