Template:Quote: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><center> | ||
{| class="noborder quote" style="background:transparent; max-width:{{#if:{{{4|}}}|{{{4}}}|60}}%;" | {| class="noborder quote" style="background:transparent; max-width:{{#if:{{{4|}}}|{{{4}}}|60}}%;" | ||
{{ #if: {{{3|}}} | {{!}} {{ #if: {{{2|}}}{{{cargo|}}} | rowspan="2" {{!}} }} [[File:{{{3}}}|64px]] }} | {{ #if: {{{3|}}} | {{!}} {{ #if: {{{2|}}}{{{cargo|}}} | rowspan="2" {{!}} }} [[File:{{{3}}}|64px]] }} | ||
Line 22: | Line 22: | ||
{{!}} style="text-align: right;" {{!}} <small>~ In-game description</small> | {{!}} style="text-align: right;" {{!}} <small>~ In-game description</small> | ||
{{!}} <!-- empty cell to prevent potential rendering issues -->}} }} | {{!}} <!-- empty cell to prevent potential rendering issues -->}} }} | ||
|}</includeonly><noinclude> | |}</center></includeonly><noinclude> | ||
{{doc}}</noinclude> | {{doc}}</noinclude> |
Revision as of 18:17, 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)