Advertisement

Sourcebox

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

Meta-template for constructing source templates. It should not be used directly in articles.

Usage

{{sourcebox
|image  =Example.png
|link   =Fallout Wiki:About
|source =''[[Nukapedia]]''
|text   =default
|1      ={{{1}}}
}}

All "end" templates based on {{Sourcebox}} support various values for <unnamed 1> (if the end template properly passes its <unnamed 1> value to {{Sourcebox}} as shown above). This can be used by editors to override the text for specific purposes.

Available options:

  • contradict: Overrides other text options with the appropriate text for a contradiction to canon.
  • end: Alters the template text so it marks the end of information from the source.

Parameters

<unnamed 1>
This must always be added, and it must always be set to {{{1}}}.
link
The page the image links to.
source
The source of the tagged information.
source prefix
Allows the adding of none bold adjective, prefixed to the source.
(default: "default")
text
Additional text to be displayed after "The following is based on source".

Available options:

  • default: "has not been confirmed by canon sources"
  • contradict: "contradicts canon sources"
  • empty: no additional text
  • prerelease: "may be inaccurate or contain spoilers"
  • semi: "some details might contradict canon"
  • spoiler: "may contain spoilers"
  • noncanon: "is not considered canon"
  • nonfranchise: "is not part of the Fallout franchise"
  • canon: "may still be canonical"
color
Color of top and bottom borders (optional, only use if necessary). Accepts standard HTML color names or RGB hex triplets. To ensure a standardized and professional look across all {{sourcebox}}-based templates, this should only be used very sparingly.
image
File name of image to be displayed (without "File:").
(default: "50x25px")
px
Size of image. Only use if really necessary.

Copy/paste

{{sourcebox
|image  = 
|link   =
|source = 
|text   = 
|1      ={{{1}}}
}}

Examples

Canonicity

{{sourcebox
|image  =FOBoSLogo.png
|link   =Fallout: Brotherhood of Steel
|source =''[[Fallout: Brotherhood of Steel]]''
|text   =default
|1      ={{{1}}}
}}

results in:

Spoiler

{{sourcebox
|image  =Operation Anchorage logo.png
|link   =Operation: Anchorage (add-on)
|source =''[[Operation: Anchorage (add-on)|Operation: Anchorage]]''
|text   =spoiler
|1      ={{{1}}}
}}

results in:

Technical

Documentation transcluded from Template:Sourcebox/doc.
Community content is available under CC-BY-SA unless otherwise noted.