Template:Callout/doc

From Space Station 14 Wiki
Revision as of 13:27, 14 August 2024 by Aliser (talk | contribs) (Created page with "== Syntax == {{tj|Callout |1: <nowiki>[REQUIRED] Type of the callout. Select from the suggested values. Any casing is supported. TYPE: line</nowiki> |2: <nowiki>[REQUIRED] Content of the callout. TYPE: string</nowiki> |header: <nowiki>Header text of the callout. By default, depends on the type. TYPE: line</nowiki> |align: <nowiki>Alignment of the callout. TYPE: line</nowiki> }} == Examples == === Types === {| class="wikitable" |+ Capti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax

{{Callout
| 1 = [REQUIRED] Type of the callout. Select from the suggested values. Any casing is supported. TYPE: line
| 2 = [REQUIRED] Content of the callout. TYPE: string
| header = Header text of the callout. By default, depends on the type. TYPE: line
| align = Alignment of the callout. TYPE: line
}}

Examples

Types

Caption text
Type Syntax Result
Info {{Callout|Info|An informative message.}}
Info
An informative message.
Warning {{Callout|Warning|Something to be warned about.}}
Warning
Something to be warned about.
Danger {{Callout|Danger|The clown is closing in.}}
Danger
The clown is closing in.
Tip {{Callout|Tip|When walking over slippery surfaces, hold {{button|Shift}} to slow down and not slip (in most cases).}}
Tip
When walking over slippery surfaces, hold Shift to slow down and not slip (in most cases).
Example {{Callout|Example|An example for something.}}
Example
An example for something.