![]() | 以下内容基於source?,因而不應完全作正史内容看待。 |
---|
Template used for constructing source templates. It should not be used directly in articles.
Usage
{{sourcebox |image = Image, will display default image if not given |link = Page the image links to |source = Source of tagged information, bold |text = Additional text - available options see below. |1 = {{{1}}} This line needs to be added always. |color = Color of top and bottom borders (optional, only use if necessary) Accepts hexadecimal color codes or simple color names (red, yellow, blue, grey, black etc) |px = Image dimensions, defaults to 50x25px (optional, only use if necessary) }}
Unnamed parameter
All templates set will support the values "end" and "contradict" for the first unnamed parameter. "Contradict" overrides other "text" options with the appropriate text, "end" alters the template text so it marks the end of information from the source.
{{Name of template|end}}
{{Name of template|contradict}}
Options for "text" parameter
option | resulting text |
---|---|
default | has not been confirmed by canon sources |
contradict | contradicts canon sources |
empty | - |
semi | some details might contradict canon |
spoiler | may contain spoilers |
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:
![]() | 以下内容基於Fallout: Brotherhood of Steel,因而不應完全作正史内容看待。 |
---|
Spoiler
{{sourcebox |image = Operation Anchorage logo.png |link = Operation: Anchorage |source = ''[[Operation: Anchorage]]'' |text = spoiler |1 = {{{1}}} }}
results in:
![]() | 以下内容基於Operation: Anchorage,因而可能含有劇透内容。 |
---|
社区内容除另有注明外,均在CC-BY-SA许可协议下提供。