Template:Callout/doc: Difference between revisions
From Space Station 14 Wiki
No edit summary |
(syntax sync) |
||
Line 10: | Line 10: | ||
TYPE: line</nowiki> | TYPE: line</nowiki> | ||
|align: <nowiki>Alignment of the callout. | |align: <nowiki>Alignment of the callout. When "Center" is used, the callout will span almost across the full width of a page. | ||
TYPE: line</nowiki> | TYPE: line</nowiki> | ||
}} | }} |
Revision as of 14:40, 14 August 2024
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. When "Center" is used, the callout will span almost across the full width of a page. TYPE: line
}}
| 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. When "Center" is used, the callout will span almost across the full width of a page. TYPE: line
}}
Examples
Types
Type | Syntax | Result |
---|---|---|
Info | {{Callout |
Info An informative message. |
Warning | {{Callout |
Warning Something to be warned about. |
Danger | {{Callout |
Danger The clown is closing in. |
Tip | {{Callout |
Tip When walking over slippery surfaces, hold Shift to slow down and not slip (in most cases). |
Example | {{Callout |
Example An example for something. |
Header label
{{Callout
or
{{Callout
↓
Notice
Bla-bla-bla, lorem ipsum...
or
Notice
Bla-bla-bla, lorem ipsum...
Alignment
Left
The default.
Center
{{Callout
or
{{Callout
↓
or
Right
{{Callout
↓
Info
Bla-bla-bla, lorem ipsum...