The following is based on source?. |
This template depends on CSS
|
Meta-template for constructing source templates.
This template should not be used directly in articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
<unnamed 1> | 1 | This must always be added, and it must always be set to {{{1}}}.
| String | required |
Link | link | The page the image links to. | File | suggested |
Source | source | The source of the tagged information.
| String | required |
Source prefix | source prefix | Allows the adding of none bold adjective, prefixed to the source. | String | optional |
Text | text | Additional text to be displayed after "The following is based on {{{source|}}}".
| String | required |
Color | 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.
| String | optional |
Image | image | File name of image to be displayed (without "File:").
| File | optional |
Pixel Size | px | Size of image passed to the image parameter. Only use if really necessary.
| String | optional |
Output for {{{text|}}}
- 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"
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.
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:
The following is based on Fallout: Brotherhood of Steel and {{{1}}}. |
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:
The following is based on Operation: Anchorage and may contain spoilers. |
Technical
- Standardized documentation for templates based on this one:
{{Sourcebox/doc/standard}}