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:Mdwarf"
Jump to navigation
Jump to search
(Copied {{dwarf}} for use with military dwarves.) |
(permit X:Y color tokens) |
||
(One intermediate revision by one other user not shown) | |||
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: Dwarf2.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: Dwarf2.png|{{{2}}}]]</span><noinclude></div> |
'''Template:mdwarf''' 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:mdwarf''' 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" | ||
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|7:0|10px}} || Wrestlers |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|6:1|10px}} || Spearmasters |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|7:1|10px}} || Elite Wrestlers |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|2:0|10px}} || Marksdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|0:1|10px}} || Recruits |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|2:1|10px}} || Elite Crossbowdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|1:1|10px}} || Axe Lords |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|5:0|10px}} || Hammerdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|3:0|10px}} || Swordsdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|4:0|10px}} || Macedwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|1:0|10px}} || Axedwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|6:0|10px}} || Speardwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|4:1|10px}} || Mace Lords |
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 46: | Line 46: | ||
{| style="color: #fff; background: #000" | {| style="color: #fff; background: #000" | ||
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|7:0|10px}} || Wrestlers |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|6:1|10px}} || Spearmasters |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|7:1|10px}} || Elite Wrestlers |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|2:0|10px}} || Marksdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|0:1|10px}} || Recruits |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|2:1|10px}} || Elite Crossbowdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|1:1|10px}} || Axe Lords |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|5:0|10px}} || Hammerdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|3:0|10px}} || Swordsdwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|4:0|10px}} || Macedwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|1:0|10px}} || Axedwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|6:0|10px}} || Speardwarves |
|- | |- | ||
− | | {{mdwarf| | + | | {{mdwarf|4:1|10px}} || Mace Lords |
|} | |} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:26, 17 December 2010
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:
Wrestlers | |
Spearmasters | |
Elite Wrestlers | |
Marksdwarves | |
Recruits | |
Elite Crossbowdwarves | |
Axe Lords | |
Hammerdwarves | |
Swordsdwarves | |
Macedwarves | |
Axedwarves | |
Speardwarves | |
Mace Lords |