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
(add a mouseover param) |
(Move documentation) |
||
Line 1: | Line 1: | ||
− | < | + | <includeonly><span style="background: {{fgcolor|{{{1}}}}}">[[Image: Dwarf.png|{{{2|10px}}}|{{{3|}}}]]</span></includeonly><noinclude>{{documentation}}</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </noinclude> |
Revision as of 21:01, 26 July 2013
(view - edit - history - purge) Documentation
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|1|2|3|type=}}
Parameters
1
– Sets the color (#:#
).2
– Sets the size. Defaults to10px
.3
– Mouseover/Tooltip.type
– Sets the symbol to civilian or military . Defaults to civilian icon if the parameter is not defined.
Examples
{| style="color: #fff; background: #000" |- | {{Dwarf|7:0|20px|Miner}} || Miners |- | {{Dwarf|6:1}} || Woodworkers |- | {{Dwarf|7:1}} || Stoneworkers |- | {{Dwarf|2:0}} || Rangers |- | {{Dwarf|0:1}} || Metalsmiths |- | {{Dwarf|2:1}} || Jewelers |- | {{Dwarf|1:1}} || Craftsdwarves |- | {{Dwarf|5:0}} || Nobles/Admins |- | {{Dwarf|3:0}} || Peasants |- | {{Dwarf|4:0}} || Dwarven Children |- | {{Dwarf|1:0}} || Fishery Workers |- | {{Dwarf|6:0}} || Farmers |- | {{Dwarf|4:1}} || Engineers |- | {{Dwarf|7:0|type=m}} || Wrestlers |}
...gives:
Miners | |
Woodworkers | |
Stoneworkers | |
Rangers | |
Metalsmiths | |
Jewelers | |
Craftsdwarves | |
Nobles/Admins | |
Peasants | |
Dwarven Children | |
Fishery Workers | |
Farmers | |
Engineers | |
Wrestlers |