Template:NPC/doc: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
|above = {{{name}}}
|image = [[File:{{{image}}}]]
|caption = {{{image_caption}}}
| label1 = Other names
| data1 = {{{other_names}}}
| label2 = Title(s)
| data2 = {{{titles}}}
| label3 = Pronouns
| data3 = {{{pronouns}}}
| label4 = Species
| data4 = {{{species}}}
| label5 = Found in
| data5 = {{{location}}}
| label6 = Occupation
| data6 = {{{occupation}}}
| label7 = Affiliation(s)
| data7 = {{{affiliation}}}
| label8 = Relatives
| data8 = {{{relatives}}}
| label9 = Status
| data9 = {{{status}}}
| label10 = Buys
| data10 = {{{buys}}}
| label11 = Sells
| data11 = {{{sells}}}
}}
<templatedata>
<templatedata>
{
{
Line 123: Line 151:
}
}
</templatedata>
</templatedata>
This is an example NPC infobox, showing all available parameters.
{{Infobox
|above = {{{name}}}
|image = [[File:{{{image}}}]]
|caption = {{{image_caption}}}
| label1 = Other names
| data1 = {{{other_names}}}
| label2 = Title(s)
| data2 = {{{titles}}}
| label3 = Pronouns
| data3 = {{{pronouns}}}
| label4 = Species
| data4 = {{{species}}}
| label5 = Found in
| data5 = {{{location}}}
| label6 = Occupation
| data6 = {{{occupation}}}
| label7 = Affiliation(s)
| data7 = {{{affiliation}}}
| label8 = Relatives
| data8 = {{{relatives}}}
| label9 = Status
| data9 = {{{status}}}
| label10 = Buys
| data10 = {{{buys}}}
| label11 = Sells
| data11 = {{{sells}}}
}}

Revision as of 21:45, 24 June 2022

NPC
[[File:[[File:{{{image}}}]]|150px|class=|alt=[[File:{{{image}}}]]: Infobox image for NPC the infobox in Minecraft]]

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
Pronounspronouns

Pronouns the NPC uses.

Suggested values
he/him she/her they/them
Linesuggested
Speciesspecies

The species of the NPC.

Example
Human
Linesuggested
Found inlocation

Where in Parallel the NPC is stationed.

Example
Shopping District
Linesuggested
Occupationoccupation

Any occupation the NPC holds.

Example
Baker
Linesuggested
Affiliationaffiliation

Groups the NPC is affiliated with.

Example
Sky Kingdom
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