Deep Rock Galactic Wiki
(Created template for insertion of dwarf portrait icon images.)
 
m (Fixed default text alignment.)
Line 1: Line 1:
<includeonly>[[File:{{{1}}} portrait.png | link={{{link|{{#switch:{{{1}}}|mission control|Mission control=|#default={{{1}}}}}}}} | {{{2|50px}}} | {{{extra|bottom}}}]]</includeonly><noinclude>
+
<includeonly>[[File:{{{1}}} portrait.png | link={{{link|{{#switch:{{{1}}}|mission control|Mission control=|#default={{{1}}}}}}}} | {{{2|50px}}} | {{{extra|text-bottom}}}]]</includeonly><noinclude>
 
{{clear}}{{doc}}
 
{{clear}}{{doc}}
 
[[Category:Image insertion templates|{{PAGENAME}}]]
 
[[Category:Image insertion templates|{{PAGENAME}}]]

Revision as of 16:49, 26 May 2018

Template-info.png Documentation

{{icon dwarf}} is used to insert icon images of dwarf portraits. By default, the icon will link to that dwarf's class page.

Usage

  • {{icon dwarf|Scout}} creates Scout portrait.png
  • {{icon dwarf|Scout|25px}} creates Scout portrait.png
  • {{icon dwarf|Scout|link=}} creates Scout portrait.png
  • {{icon dwarf|Scout|extra=middle}} creates Scout portrait.png

Icons

  • Driller portrait.png — Driller
  • Engineer portrait.png — Engineer
  • Gunner portrait.png — Gunner
  • Scout portrait.png — Scout
  • 50px — Mission Control

Notes

  • Default icon size is 50px, and will align to the bottom of text.
  • The extra parameter can be used for additional image formatting options.