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"

From Dwarf Fortress Wiki
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|#999|10px}} || Miners
+
| {{mdwarf|7:0|10px}} || Wrestlers
 
|-
 
|-
| {{mdwarf|#ff0|10px}} || Carpenters
+
| {{mdwarf|6:1|10px}} || Spearmasters
 
|-
 
|-
| {{mdwarf|#fff|10px}} || Masons
+
| {{mdwarf|7:1|10px}} || Elite Wrestlers
 
|-
 
|-
| {{mdwarf|#090|10px}} || Trappers
+
| {{mdwarf|2:0|10px}} || Marksdwarves
 
|-
 
|-
| {{mdwarf|#666|10px}} || Metalsmiths
+
| {{mdwarf|0:1|10px}} || Recruits
 
|-
 
|-
| {{mdwarf|#0f0|10px}} || Jewelers
+
| {{mdwarf|2:1|10px}} || Elite Crossbowdwarves
 
|-
 
|-
| {{mdwarf|#00f|10px}} || Craftsdwarves
+
| {{mdwarf|1:1|10px}} || Axe Lords
 
|-
 
|-
| {{mdwarf|#909|10px}} || Nobles
+
| {{mdwarf|5:0|10px}} || Hammerdwarves
 
|-
 
|-
| {{mdwarf|#099|10px}} || Peasants
+
| {{mdwarf|3:0|10px}} || Swordsdwarves
 
|-
 
|-
| {{mdwarf|#900|10px}} || Children
+
| {{mdwarf|4:0|10px}} || Macedwarves
 
|-
 
|-
| {{mdwarf|#009|10px}} || Fisherdwaves
+
| {{mdwarf|1:0|10px}} || Axedwarves
 
|-
 
|-
| {{mdwarf|#990|10px}} || Farmers
+
| {{mdwarf|6:0|10px}} || Speardwarves
 
|-
 
|-
| {{mdwarf|#f00|10px}} || Mechanics
+
| {{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|#999|10px}} || Miners
+
| {{mdwarf|7:0|10px}} || Wrestlers
 
|-
 
|-
| {{mdwarf|#ff0|10px}} || Carpenters
+
| {{mdwarf|6:1|10px}} || Spearmasters
 
|-
 
|-
| {{mdwarf|#fff|10px}} || Masons
+
| {{mdwarf|7:1|10px}} || Elite Wrestlers
 
|-
 
|-
| {{mdwarf|#090|10px}} || Trappers
+
| {{mdwarf|2:0|10px}} || Marksdwarves
 
|-
 
|-
| {{mdwarf|#666|10px}} || Metalsmiths
+
| {{mdwarf|0:1|10px}} || Recruits
 
|-
 
|-
| {{mdwarf|#0f0|10px}} || Jewelers
+
| {{mdwarf|2:1|10px}} || Elite Crossbowdwarves
 
|-
 
|-
| {{mdwarf|#00f|10px}} || Craftsdwarves
+
| {{mdwarf|1:1|10px}} || Axe Lords
 
|-
 
|-
| {{mdwarf|#909|10px}} || Nobles
+
| {{mdwarf|5:0|10px}} || Hammerdwarves
 
|-
 
|-
| {{mdwarf|#099|10px}} || Peasants
+
| {{mdwarf|3:0|10px}} || Swordsdwarves
 
|-
 
|-
| {{mdwarf|#900|10px}} || Children
+
| {{mdwarf|4:0|10px}} || Macedwarves
 
|-
 
|-
| {{mdwarf|#009|10px}} || Fisherdwaves
+
| {{mdwarf|1:0|10px}} || Axedwarves
 
|-
 
|-
| {{mdwarf|#990|10px}} || Farmers
+
| {{mdwarf|6:0|10px}} || Speardwarves
 
|-
 
|-
| {{mdwarf|#f00|10px}} || Mechanics
+
| {{mdwarf|4:1|10px}} || Mace Lords
 
|}
 
|}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:26, 17 December 2010

{{{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