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"
Jump to navigation
Jump to search
(Made it display beard. No dwarf should be without a beard.) |
|||
Line 1: | Line 1: | ||
− | <noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude><span style="background: {{{1}}}">[[Image: Dwarf.png|{{{2}}}]]</span><noinclude></div> | + | <noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude><span style="background: {{fgcolor|{{{1}}}}}">[[Image: Dwarf.png|{{{2}}}]]</span><noinclude></div> |
'''Template:Dwarf''' can be used to display dwarves close to what they appear as in Dwarf Fortress. It can be used together with the [[:Template:Raw_Tile|raw tile template]], however it doesn't scale with the user's font size. This might lead to problems for users with uncommon settings. | '''Template:Dwarf''' can be used to display dwarves close to what they appear as in Dwarf Fortress. It can be used together with the [[:Template:Raw_Tile|raw tile template]], however it doesn't scale with the user's font size. This might lead to problems for users with uncommon settings. | ||
Line 14: | Line 14: | ||
{| style="color: #fff; background: #000" | {| style="color: #fff; background: #000" | ||
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|7:0|10px}} || Miners |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|6:1|10px}} || Carpenters |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|7:1|10px}} || Masons |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|2:0|10px}} || Trappers |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|0:1|10px}} || Metalsmiths |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|2:1|10px}} || Jewelers |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|1:1|10px}} || Craftsdwarves |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|5:0|10px}} || Nobles |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|3:0|10px}} || Peasants |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|4:0|10px}} || Children |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|1:0|10px}} || Fisherdwaves |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|6:0|10px}} || Farmers |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|4:1|10px}} || Mechanics |
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 46: | Line 46: | ||
{| style="color: #fff; background: #000" | {| style="color: #fff; background: #000" | ||
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|7:0|10px}} || Miners |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|6:1|10px}} || Carpenters |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|7:1|10px}} || Masons |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|2:0|10px}} || Trappers |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|0:1|10px}} || Metalsmiths |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|2:1|10px}} || Jewelers |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|1:1|10px}} || Craftsdwarves |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|5:0|10px}} || Nobles |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|3:0|10px}} || Peasants |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|4:0|10px}} || Children |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|1:0|10px}} || Fisherdwaves |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|6:0|10px}} || Farmers |
|- | |- | ||
− | | {{Dwarf| | + | | {{Dwarf|4:1|10px}} || Mechanics |
|} | |} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:54, 1 June 2010
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|7:0|10px}} || Miners |- | {{Dwarf|6:1|10px}} || Carpenters |- | {{Dwarf|7:1|10px}} || Masons |- | {{Dwarf|2:0|10px}} || Trappers |- | {{Dwarf|0:1|10px}} || Metalsmiths |- | {{Dwarf|2:1|10px}} || Jewelers |- | {{Dwarf|1:1|10px}} || Craftsdwarves |- | {{Dwarf|5:0|10px}} || Nobles |- | {{Dwarf|3:0|10px}} || Peasants |- | {{Dwarf|4:0|10px}} || Children |- | {{Dwarf|1:0|10px}} || Fisherdwaves |- | {{Dwarf|6:0|10px}} || Farmers |- | {{Dwarf|4:1|10px}} || Mechanics |}
...gives:
Miners | |
Carpenters | |
Masons | |
Trappers | |
Metalsmiths | |
Jewelers | |
Craftsdwarves | |
Nobles | |
Peasants | |
Children | |
Fisherdwaves | |
Farmers | |
Mechanics |