Template:Callout/doc: Difference between revisions
From Space Station 14 Wiki
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
|} | |} | ||
== Header == | == Header label == | ||
{{tji|Callout|Info|header:Notice|Bla-bla-bla, lorem ipsum...}} <br> | {{tji|Callout|Info|header:Notice|Bla-bla-bla, lorem ipsum...}} <br> | ||
{{ | {{or}} <br> | ||
{{tji|Callout|Info|h:Notice|Bla-bla-bla, lorem ipsum...}} | {{tji|Callout|Info|h:Notice|Bla-bla-bla, lorem ipsum...}} | ||
Line 56: | Line 56: | ||
{{gray or}} <br> | {{gray or}} <br> | ||
{{Callout|Info|h=Notice|Bla-bla-bla, lorem ipsum...}} | {{Callout|Info|h=Notice|Bla-bla-bla, lorem ipsum...}} | ||
== Alignment == | |||
=== Left === | |||
The default. | |||
=== Center === | |||
{{tji|Callout|Info|align:center|Bla-bla-bla, lorem ipsum...}} <br> | |||
{{or}} <br> | |||
{{tji|Callout|Info|a:center|Bla-bla-bla, lorem ipsum...}} | |||
{{gda}} | |||
{{Callout|Info|align=center|Bla-bla-bla, lorem ipsum...}} | |||
{{or}} | |||
{{Callout|Info|a=center|Bla-bla-bla, lorem ipsum...}} | |||
=== Right === | |||
{{tji|Callout|Info|align:right|Bla-bla-bla, lorem ipsum...}} <br> | |||
{{gda}} | |||
{{Callout|Info|align=right|Bla-bla-bla, lorem ipsum...}} |
Revision as of 13:35, 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. 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. 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...