Template:Sourcebox

From The Vault - Fallout Wiki
Jump to: navigation, search
Sourcebox default.pngThe following is based on source? and has not been confirmed by canon sources.
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   =The Vault:About
|source =''[[The Vault]]''
|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

RequiredIcon required.png
<unnamed 1>

This must always be added, and it must always be set to {{{1}}}.

RequiredIcon required.png
link

The page the image links to.

RequiredIcon required.png
source

The source of the tagged information.

RequiredIcon required.png
(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"
OptionalIcon optional.png
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.

OptionalIcon optional.png
image

File name of image to be displayed (without "File:").

OptionalIcon optional.png
(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:

FOBoSLogo.pngThe following is based on Fallout: Brotherhood of Steel and has not been confirmed by canon sources.

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:

Operation Anchorage logo.pngThe following is based on Operation: Anchorage and may contain spoilers.

Technical

Documentation transcluded from Template:Sourcebox/doc.