We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:Infobox addiction/doc

From The Vault - Fallout Wiki
Jump to: navigation, search
Icon template doc.svg
This page contains usage information for Template:Infobox addiction.

Infobox template for addictions.

Based on {{Infobox}}.

Usage

Place the following at the top of the article, below any page management templates:

{{Infobox addiction
<!-- insert parameters -->
}}

Parameters

Specific parameters

Sometimes required or at least one requiredIcon semi-required.png
caused by1 up to caused by6

List of items this addiction is caused by in the corresponding games.

Sometimes required or at least one requiredIcon semi-required.png
duration1 up to duration6

How long the addiction lasts in the corresponding games.

Sometimes required or at least one requiredIcon semi-required.png
effects1 up to effects6

What effects the addiction has in the corresponding games. Be brief, details can be put in article text.

OptionalIcon optional.png
games1 up to games6

Abbreviation(s) for Fallout games this addiction appears in. For accepted abbreviations please see {{abb}}. Multiple abbreviations can be specified if separated by commas (,).

Sometimes required or at least one requiredIcon semi-required.png
risk1 up to risk6

The risk of addiction in the corresponding games (in percent).

OptionalIcon optional.png
starts after1 up to starts after6

How long the delay between taking the drug and addiction is in the corresponding games.

General infobox parameters

OptionalIcon optional.png
footer

Content of row below main infobox content.

OptionalIcon optional.png
icon

File name of icon (without "File:"), i.e. the small image which is displayed in the top right corner of the main image area.

OptionalIcon optional.png
icon offset

Offset for icon in pixels, i.e. the icon is moved "upwards" by the specified amount of pixels. Setting this to "@outside" results in the icon being placed completely outside (above) the image area.

OptionalIcon optional.png
image up to image5

File name of image(s) (without "File:") to be displayed below main header and above main infobox content.

OptionalIcon optional.png
image desc

Description for image, displayed below the image.

OptionalIcon optional.png
(default: "260x200px")
image size up to image5 size

Width of corresponding image in pixels (e.g. "260px").

OptionalIcon optional.png
(default: "{{Pagename nd}}")
name

Main title/"headline" of the infobox. By default, the name of the current page without any disambiguation suffixes (i.e. terms in brackets at the end) is used.

OptionalIcon optional.png
subtitle

Text in small font below the main infobox title.

Example

Alcohol addiction
Alcohol addiction.jpg
Fallout, Fallout 2, Fallout Tactics
Caused ByBeer, Scotch, Vodka, Whiskey
Risk5% (Beer)
10% (Scotch, Vodka, Whiskey)
Duration7 days
Effects-1 Agility
-1 Charisma
Fallout 3
Caused ByBeer, Scotch, Vodka, Whiskey, Wine
Risk5% (Beer, Wine)
10% (Scotch, Vodka, Whiskey)
Duration108000
Effects-1 Agility
-1 Charisma
{{Infobox addiction
|image         =Alcohol addiction.jpg
|games1        =FO1, FO2, FOT
|caused by1    =[[Beer]], [[Scotch]], [[Vodka]], [[Whiskey]]
|risk1         =5% (Beer)<br>10% (Scotch, Vodka, Whiskey)
|duration1     =7 days
|effects1      =-1 [[Agility]]<br />-1 [[Charisma]]
|games2        =FO3
|caused by2    =[[Beer]], [[Scotch]], [[Vodka]], [[Whiskey]], [[Wine]]
|risk2         =5% (Beer, Wine)<br>10% (Scotch, Vodka, Whiskey)
|duration2     =108000
|effects2      =-1 [[Agility]]<br />-1 [[Charisma]]
}}

Copy/paste

{{Infobox addiction
|image         =
|games1        =
|caused by1    =
|risk1         =
|duration1     =
|effects1      =
|games2        =
|caused by2    =
|risk2         =
|duration2     =
|effects2      =
|games3        =
|caused by3    =
|risk3         =
|duration3     =
|effects3      =
}}

Technical