Fallout中文維基
Advertisement
本頁包含了對此模板的使用説明:Template:Sourcebox

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

Required
<unnamed 1>
This must always be added, and it must always be set to {{{1}}}.
Required
link
The page the image links to.
Required
source
The source of the tagged information.
Optional
source prefix
Allows the adding of none bold adjective, prefixed to the source.
Required
(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"
Optional
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.
Optional
image
File name of image to be displayed (without "File:").
Optional
(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

Advertisement