Template:Sourcebox/doc

Template used for constructing source templates. It should not be used directly in articles.

Usage
All "end" templates based on support various values for   (if the end template properly passes its   value to  as shown above). This can be used by editors to override the  for specific purposes.

Available options:
 * contradict: Overrides other  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
 
 * This must always be added, and it must always be set to.

link
 * The page the image links to.

source
 * The source of the tagged information.

text
 * Additional text to be displayed after "The following is based on . Available options:
 * {| class="fallout-table"

! option !! resulting text
 * default || has not been confirmed by canon sources
 * contradict || contradicts canon sources
 * empty || -
 * prerelease || may be inaccurate or contain spoilers
 * semi || some details might contradict canon
 * spoiler || may contain spoilers
 * }
 * prerelease || may be inaccurate or contain spoilers
 * semi || some details might contradict canon
 * spoiler || may contain spoilers
 * }
 * spoiler || may contain spoilers
 * }

color (optional)
 * 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  -based templates, this should only be used very sparingly.

image (optional)
 * Image, will display default image if not given

px (optional)
 * Size of  (default: "50x25px"). Only use if really necessary.

Canonicity
results in:

Spoiler
results in:

Technical

 * Sourcebox/doc/standard - standard documentation for templates based on this meta-template