Template:Headshot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{|style="float:left" | <includeonly>{|style="float:left" | ||
|style="background:{{#switch: {{{ | |style="background:{{#switch: {{{1|}}}| Officer = steelblue| Enlisted = silver| Civilian = tan| officer = steelblue| enlisted = silver| civilian = tan|steelblue}}"|{{ID Portrait|{{{2}}}}} | ||
|-style="font-size:x-small" | |-style="font-size:x-small" | ||
|align=center | |align=center style="background:{{#switch: {{{1|}}}| Officer = steelblue; color:white | Enlisted = silver| Civilian = tan| officer = steelblue; color:white| enlisted = silver| civilian = tan|steelblue}}"|{{{3|{{{2}}}}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Headshot|Roshanara Rahman|Officer}} | {{Headshot|Officer|Roshanara Rahman|Rahman}} | ||
{{Headshot|Officer|Mei'konda}} | |||
{{Headshot|Enlisted|Lunat Drys}} | |||
{{clear}} | |||
Creates headshot images for characters on a full roster listing like [[Veritas NPCs]]. Remember to put <nowiki>{{clear}}</nowiki> after a row. | |||
==How to Use== | |||
<pre> | |||
{{Headshot|Character type (Officer, Enlisted, or Civilian)|Character Name|Shortened Name if too long for the box}} | |||
</pre> | |||
The first parameter is what type of character (Officer, Enlisted, or Civilian). | |||
The second parameter is the character's name (name of their wiki page). | |||
The third paremeter is optional and is for if the character's name is too long to fit in the box. The shortened name will be displayed instead if given. | |||
==Example== | |||
Remember to put <nowiki>{{clear}}</nowiki> after a row. | |||
<pre> | |||
{{Headshot|Officer|Roshanara Rahman|Rahman}} | |||
{{Headshot|Officer|Mei'konda}} | |||
{{Headshot|Enlisted|Lunat Drys}} | |||
{{Headshot|Civilian|Reza Kardgar}} | |||
{{clear}} | |||
</pre> | |||
{{Headshot|Officer|Roshanara Rahman|Rahman}} | |||
{{Headshot|Officer|Mei'konda}} | |||
{{Headshot|Enlisted|Lunat Drys}} | |||
{{Headshot|Civilian|Reza Kardgar}} | |||
{{clear}} | |||
==Questions/Comments?== | ==Questions/Comments?== |
Latest revision as of 16:48, 31 October 2018
Rahman |
Mei'konda |
Lunat Drys |
Creates headshot images for characters on a full roster listing like Veritas NPCs. Remember to put {{clear}} after a row.
How to Use
{{Headshot|Character type (Officer, Enlisted, or Civilian)|Character Name|Shortened Name if too long for the box}}
The first parameter is what type of character (Officer, Enlisted, or Civilian). The second parameter is the character's name (name of their wiki page). The third paremeter is optional and is for if the character's name is too long to fit in the box. The shortened name will be displayed instead if given.
Example
Remember to put {{clear}} after a row.
{{Headshot|Officer|Roshanara Rahman|Rahman}} {{Headshot|Officer|Mei'konda}} {{Headshot|Enlisted|Lunat Drys}} {{Headshot|Civilian|Reza Kardgar}} {{clear}}
Rahman |
Mei'konda |
Lunat Drys |
Reza Kardgar |
Questions/Comments?
♫ Rich (Capt. Roshanara Rahman) • REPLY • Wiki Ops Team • Veterans Affairs