Template:Headshot: Difference between revisions
(Created page with "<includeonly>{|style="float:left" |style="background:{{#switch: {{{2|}}} | Officer = steelblue | Enlisted = silver | Civilian = tan |steelblue }}"|{{ID Portrait|{{{1}}}}} |-st...") |
Toxin Arlill (talk | contribs) No edit summary |
||
(6 intermediate revisions by one other 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}}}|{{{4}}}}} | ||
| Officer = steelblue | |||
| Enlisted = silver | |||
| Civilian = tan | |||
|steelblue | |||
}}"|{{ID Portrait|{{{ | |||
|-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}}}}}} | ||
| Officer = steelblue; color:white | |}</includeonly><noinclude> | ||
| Enlisted = silver | {{Headshot|Officer|Roshanara Rahman|Rahman}} | ||
| Civilian = tan | {{Headshot|Officer|Mei'konda}} | ||
|steelblue | {{Headshot|Enlisted|Lunat Drys}} | ||
}}"|{{{ | {{clear}} | ||
|}</includeonly> | |||
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 parameter 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|100}} | |||
{{Headshot|Officer|Mei'konda}} | |||
{{Headshot|Enlisted|Lunat Drys}} | |||
{{Headshot|Civilian|Reza Kardgar}} | |||
{{clear}} | |||
</pre> | |||
{{Headshot|Officer|Roshanara Rahman|Rahman|100}} | |||
{{Headshot|Officer|Mei'konda}} | |||
{{Headshot|Enlisted|Lunat Drys}} | |||
{{Headshot|Civilian|Reza Kardgar}} | |||
{{clear}} | |||
==Questions/Comments?== | |||
[[User:Rich|'''♫ Rich''' <small>(Capt. Roshanara Rahman)</small>]] • [[User_talk:Rich|<small>'''REPLY'''</small>]] • [[118Wiki:Operations|<small>Wiki Ops Team</small>]] • [[Department of Veterans Affairs|<small>Veterans Affairs</small>]] | |||
[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 21:58, 4 March 2025
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 parameter 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|100}} {{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