Template:Infobox/NPC/Ultima Underworld

From Ultima Codex
Jump to navigation Jump to search

This can be used by itself or inside of other NPC Infobox's otherappearances parameter.

Usage[edit]

{{Infobox/NPC/Ultima Underworld
| name=
| image=
| alt=
| px=
| portrait=
| palt=
| portrait2=
| p2alt=
| caption=
| location/locationU/loc=
| location2=
| stringblock=
| universal=
| otherappearances=
}}

Parameters[edit]

name
Optional. Name of the NPC. Defaults to PAGENAME
image
Optional, unlinked image. Use this for large non-portrait images such as illustrations and screenshots. Will be scaled with px, see below. Namespace image: is assumed
px
Optional parameter to use on the image (not the portraits). Useful for forcing a size, like 64x64px. if not given, 150px is assumed. should not be bigger than 200px
alt
Optional, the alt text to describe the image, not the portraits
portrait
Optional, unlinked image. Portrait from Ultima Underworld. File is assumed to be in the image: namespace
Should be 68x68, a doubling of the in-game 34x34 conversation portraits. Any other size should use image= instead
palt
Optional, The alt text for the portrait
portrait2
Optional, unlinked image. Use this for the PSX version of the portrait
p2alt
Optional, The alt text for the second portrait
caption
Optional. Words that go under the portrait(s). Only appears if a portrait is there. Default is "(name or PAGENAME), from Ultima Underworld"
If image is present caption goes under image and if portrait(s) are also present they get the default caption.
location
Optional. Location of NPC in Ultima Underworld. Will be linked. Can use {{GSACLunl|x}} here for level x
locationU
Optional. Like location above but isn't linked. Good idea to use {{GSACL}} here.
loc
Optional. A parameter passed directly to {{GSACL}}. Should be a digit 1..9
note: only use one of location, locationU, or loc
location2
Optional second location
stringblock
Optional. a block number to link to in Ultima Underworld strings. Can use this to link to a character's conversation block.
universal
Optional. Use only if this template is not being used in other appearances. This is includes all the parameters that are universal to all the templates. Enter {{Infobox/NPC/Universal}} here.
otherappearances
Optional. Use only if this template has universal set. Use other games NPC Infoboxes here.

Example[edit]

{{Infobox/NPC/Ultima Underworld
 | name=Bragit
 | portrait=Bragit.png
 | portrait2=BragitPSX.png
 | location={{GSACLunl|1|Bragit's Room|L1, Bragit's Room}}
 | critter=26
 | stringblock=3651
 | universal={{Infobox/NPC/Universal
   | profession=outcast
   | association=Outcasts (Level 1)
   }}
}}

Sandbox[edit]

Bragit

Alttext:Bragit.png

common

Alttext:BragitPSX.png


Bragit, from Ultima Underworld
Species: human
Profession: outcast
Association: Outcasts
Ultima Underworld pixel art of a blue, vertical banner depicting a yellow ankh.
Appearances

Ultima Underworld
Location: L1, Bragit's Room
Alttext:Uw1.critter26.idlespin.gif
Name: an outcast
Description: an outcast
Height: 46
Mass: 80.0
Vitality: 45
Passiveness: 17%
Movement speed: 8
Poison: 0
Sight: 88
Experience given: 50
TechnicalInfo
critter number: 26
string block: 3651