Fallout Wiki
Advertisement
Fallout Wiki
Template documentation (for the template shown above, sometimes hidden or invisible)


Affinity generates a table of companion reactions for Fallout 4, representing each character's reaction as a single icon.

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Table Part1

Declares which part of the table the template is for

Example
Available options: start, end, row
Auto value
row
Stringrequired
Scenarioscenario

The scenario the Sole Survivor is involved in at the point the affinity trigger is hit

Auto value
Stringrequired
Caitcait

Cait's Reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Codsworthcodsworth

Codsworth's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Curiecurie

Curie's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Dansedanse

Paladin Danse's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Deacondeacon

Deacon's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Hancockhancock

Hancock's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
MacCreadymaccready

MacCready's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Piper Wrightpiper

Piper's reacton

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Preston Garveypreston

Preston's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Strongstrong

Strong's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Nick Valentinevalentine

Nick Valentine's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
X668x688

X668's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Longfellowlongfellow

Old Longfellow's reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired
Porter Gagegage

Porter Gage's Reaction

Example
Available Options: love, like, dislike, hate, none
Stringrequired

Usage[]

In order to work, the template must be called three times. Initially with {{Affinity|start}}, then for each scenario {{Affinity|row}} must be called. Each table should be ended with {{Affinity|end}}

Changes to the icons are done via the {{Affinity/Switch}} template.

Character
Character parameter
Cait cait
Codsworth codsworth
Curie curie
Danse danse
Deacon deacon
John Hancock hancock
Robert MacCready maccready
Nick Valentine nick
Piper Wright piper
Preston Garvey preston
Strong strong
X6-88 x688
Old Longfellow longfellow
Porter Gage gage
Icon
Text Icon
love Love
like Like
dislike Dislike
hate Hate
none Neutral

Example[]

{{Affinity|start}}
{{Affinity|row
|scenario     =Accuse Nick of protecting the Institute
|cait         =like
|codsworth    =none
|curie        =dislike
|danse        =love
|deacon       =dislike
|hancock      =none
|maccready    =like
|piper        =dislike
|preston      =none
|strong       =like
|valentine    =none
|x688         =hate
|longfellow   =none
|gage         =none
}}
{{Affinity|end}}

Becomes:

Row template[]

{{Affinity|row
|scenario     =
|cait         =
|codsworth    =
|curie        =
|danse        =
|deacon       =
|hancock      =
|maccready    =
|piper        =
|preston      =
|strong       =
|valentine    =
|x688         =
|longfellow   =
|gage         =
}}
Documentation transcluded from Template:Affinity/doc.
Advertisement