Template:NPC: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Tag: Manual revert
 
(19 intermediate revisions by the same user not shown)
Line 5: Line 5:
| title = {{{name|{{FULLPAGENAME}}}}}
| title = {{{name|{{FULLPAGENAME}}}}}
| rows =
| rows =
{{#if: {{{other_names|}}} | {{infobox row|label=Other names|field={{{other_names|}}} }}  
{{#if: {{{other_names|}}} | {{infobox row|label=Other names|field={{{other_names|}}} }} }}
{{#if: {{{titles|}}} | {{infobox row|label=Titles|field={{{titles|}}} }} }}
{{#if: {{{titles|}}} | {{infobox row|label=Titles|field={{{titles|}}} }} }}
{{#if: {{{gender|}}} | {{infobox row|label=Gender|field={{{gender|}}} }} }}
{{#if: {{{gender|}}} | {{infobox row|label=Gender|field={{{gender|}}} }} }}

Latest revision as of 21:45, 27 November 2023

[view] [edit] [history] [⧼smw purge⧽]Documentation

This template provides an infobox for NPC/character pages.

{{NPC
| name =
| image =
| image_caption =
| other_names =
| titles =
| gender =
| species =
| affiliation =
| location =
| occupation =
| relatives =
| status =
| buys =
| sells =
}}

TemplateData

An infobox to serve as a quick reference on the right side of NPC pages.

Template parameters

ParameterDescriptionTypeStatus
NPC namename

Will automatically enter based on page name

Example
Niall
Lineoptional
Imageimage

Refers to the image file stored on the wiki. Images should preferably be uploaded in .svg or .png and named the same as the NPC name in snake_case (e.g. totem_of_the_void.png). By default, the Parallel logo will be displayed, but you should always point this parameter to an NPC render or screenshot.

Default
ParallelLogo.png
Example
Niall.svg
Filesuggested
Image captionimage_caption

An optional caption for the image.

Lineoptional
Other namesother_names

Any other names the NPC has been referred to with.

Linesuggested
Titlestitles

Any titles the NPC holds.

Example
King of the Sky Kingdom
Linesuggested
Gendergender

The gender of the NPC.

Linesuggested
Speciesspecies

The species of the NPC.

Example
Human
Linesuggested
Affiliationaffiliation

Groups the NPC is affiliated with.

Example
Sky Kingdom
Linesuggested
Found inlocation

Where in Parallel the NPC is stationed.

Example
Shopping District
Linesuggested
Occupationoccupation

Any occupation the NPC holds.

Example
Baker
Linesuggested
Relativesrelatives

Relatives of the NPC.

Example
Niall
Linesuggested
Statusstatus

The current status of the NPC.

Suggested values
Alive Deceased
Default
Unknown
Linesuggested
Buysbuys

Items the NPC buys.

Linesuggested
Found insells

Items the NPC sells.

Linesuggested

Examples

Some

Template:NPC
Plains Armorer.png: Infobox image for Template:NPC the npc in Minecraft
Oh man dude
Gender

Non-binary (they/them)

Species

Human (Homo sapiens)

Occupation

Swamp Witch

Found in

Unknown

Unknown

Unknown, presumed alive

{{NPC
| image = Plains Armorer.png
| image_caption = Oh man dude
| gender = Non-binary (they/them)
| species = Human (''Homo sapiens'')
| location = Unknown
| occupation = Swamp Witch
| status = Unknown, presumed alive
}}
[view] [edit] [history] [⧼smw purge⧽]The above documentation is transcluded from Template:NPC/doc.