Template:Infobox/NPC/Portrait
Jump to navigation
Jump to search
|-
| colspan="2" style="text-align: center;" | {{{1}}}
{{{5}}}
Abbreviates the repetition in a lot of NPC templates.
Should only be used in Infobox/NPC templates.
Usage[edit]
{{Infobox/NPC/Portrait|[image markup]|[Image/File:image file name]|[image size]|[alt text]|[caption]|[fallback name]|[formatted game]}}
Parameters[edit]
- 1
- Optional. Should typically be from Template:img. Must not be blank if parameter 2 is.
- 2
- Optional. File name of the image. Must be preceded by "Image:" or "File:". Must not be blank if parameter 1 is.
- 3
- Optional. Image size. Should be a number followed by "px" or whatever units are being used
- 4
- Optional. Alt text.
- 5
- Optional. Custom caption.
- 6
- Optional. Fallback name for the NPC. Not necessary if custom caption is given.
- 7
- Optional. Game name. Not necessary if custom caption is given.
Sandbox[edit]
Feel free to use this space for sandboxing previews. Recomment it out when done.
(commented out)