This is a documentation for Board Game Arena: play board games online !
Template:Warn: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) No edit summary |
Sammy McSam (talk | contribs) (+collapsed state variable from Template:Note) |
||
| Line 1: | Line 1: | ||
<onlyinclude>{{Note|n=2|{{{1|Warning}}}|#fc3|b=#fff9ea}}</onlyinclude> | <onlyinclude>{{Note|n=2|{{{1|Warning}}}|#fc3|b=#fff9ea|s={{{s}}}}}</onlyinclude> | ||
== Pages that use {{FULLPAGENAME}} == | == Pages that use {{FULLPAGENAME}} == | ||
| Line 21: | Line 21: | ||
<div>{{warn|Message}}</div> | <div>{{warn|Message}}</div> | ||
<div>'''''Required:''''' content.</div> | <div>'''''Required:''''' content.</div> | ||
<div>{{code|s}}</div> | |||
<div>state</div> | |||
<div>expanded</div> | |||
<div>{{code|<nowiki>{{warn</nowiki>{{text|<nowiki>|s=c</nowiki>|#cfc}}<nowiki>}}</nowiki>}}</div> | |||
<div>{{warn|s=c}}</div> | |||
<div>'''''Optional:''''' render the note text collapsed by default with the icon as the toggle.</div> | |||
</div> | </div> | ||
[[Category:NoteTemplates]] | [[Category:NoteTemplates]] | ||
Latest revision as of 15:14, 13 August 2025
Warning
Pages that use Template:Warn
- Gamehelparnak (transclusion) (← links)
- Gamehelpflipfreighters (transclusion) (← links)
- Template:Note (transclusion) (← links)
- Template:Warn (transclusion) (← links)
- Template:Broken lists (transclusion) (← links)
- Template:Checkmark (transclusion) (← links)
- Template:Crossmark (transclusion) (← links)
- Category:NoteTemplates (transclusion) (← links)
Parameters
Text
Id
Name
Default
Example
Result
Description
1
text
Warning
{{warn|Message}}
Message
Required: content.
s
state
expanded
{{warn|s=c}}
Warning
Optional: render the note text collapsed by default with the icon as the toggle.