Template:Quote: Difference between revisions
From Official Barotrauma Wiki
(added cargo support) |
No edit summary |
||
Line 5: | Line 5: | ||
| ''{{#if:{{{cargo|}}}|{{#cargo_query: tables = Items | | ''{{#if:{{{cargo|}}}|{{#cargo_query: tables = Items | ||
| fields = name, description | | fields = name, description | ||
| where = name = {{PAGENAME}} | | where = name = "{{PAGENAME}}" | ||
| format = template | | format = template | ||
| template = Quote/desc | | template = Quote/desc |
Revision as of 18:12, 10 July 2022
This template is used to quote a person or source. The color of the quotes themselves should be changed to match the wiki skin color palette.
Syntax
{{ Quote | quote text | quote source | image | custom max width (default 60%) }}
Examples
{{Quote|Some quote.}}
prints:
“ | Some quote. | „ |
{{Quote|Some quote.|Some Guy}}
prints:
“ | Some quote. | „ |
~ Some Guy |
{{Quote|Some long quote.|Some Guy|Image Coming Soon.jpg|80}}
prints:
Images are automatically scaled in width to 64px.
The above documentation is transcluded from Template:Quote/doc. (edit | history)