This is a documentation for Board Game Arena: play board games online !
Template:Note: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) (+collapsed state variable) |
Sammy McSam (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
<onlyinclude><div style="padding:.5em .75em;margin:.5em 0;min-height:1.5rem;border:1px solid {{{2|#ddd}}};background-color:{{{b|color-mix(in oklch,{{{2|#ddd}}} 8%,#fff0)}}};color:{{{c|#333}}};width: | <onlyinclude><div style="padding:.5em .75em;margin:.5em 0;min-height:1.5rem;border:1px solid {{{2|#ddd}}};background-color:{{{b|color-mix(in oklch,{{{2|#ddd}}} 8%,#fff0)}}};color:{{{c|#333}}};width:fit-content;{{{s|width:initial}}}"><span class="mw-{{{s}}}ollapsible mw-{{{s}}}ollapsed" style="display:flex;align-items:center;gap:.75em;"><span class="mw-{{{s}}}ollapsible-toggle" flex-shrink:0">{{{i|{{gameIcon | ||
|tooltip= | |tooltip= | ||
|imageFileName=MediaWiki-note-icons.png | |imageFileName=MediaWiki-note-icons.png | ||
| Line 7: | Line 7: | ||
|x={{{n|0}}}*25 | |x={{{n|0}}}*25 | ||
}}}}}</span><span class="mw-collapsible-content">{{{1|Note}}}</span></span></div></onlyinclude> | }}}}}</span><span class="mw-collapsible-content">{{{1|Note}}}</span></span></div></onlyinclude> | ||
{{warn|s=c| | |||
'''The lists in these rules are displayed incorrectly when viewed on a BGA game page.''' | |||
To read a correctly formatted version, you must open [https://en.doc.boardgamearena.com/{{FULLPAGENAMEE}} the wiki rules page] in a new tab. (If you want to help fix these rules, see [https://en.doc.boardgamearena.com/Wiki_formatting this guide] for advice.)}} | |||
== Pages that use {{FULLPAGENAME}} == | == Pages that use {{FULLPAGENAME}} == | ||
Latest revision as of 15:19, 13 August 2025
Note
The lists in these rules are displayed incorrectly when viewed on a BGA game page.
To read a correctly formatted version, you must open the wiki rules page in a new tab. (If you want to help fix these rules, see this guide for advice.)Pages that use Template:Note
- Gamehelparnak (transclusion) (← links)
- Gamehelpflipfreighters (transclusion) (← links)
- User:Sammy McSam/Hanabi page 2 (transclusion) (← links)
- Template:Note (transclusion) (← links)
- Template:Info (transclusion) (← links)
- Template:Warn (transclusion) (← links)
- Template:Error (transclusion) (← links)
- Template:Reminder (transclusion) (← links)
- Template:Broken lists (transclusion) (← links)
- Template:Checkmark (transclusion) (← links)
- Template:Crossmark (transclusion) (← links)
- Category:NoteTemplates (transclusion) (← links)
Parameters
Id
Name
Default
Example
Result
Description
i
icon
{{note|i={{SplendorDuelAbility|4}}}}
Note
Optional: icon e.g. as a {{gameIcon}}.
n
number
0
{{note|n=2}}
Note
Optional: icon preset as an integer 0-3.
1
text
Note
{{note|Message}}
Message
Required: content.
2
border color
#ddd (light grey)
{{note|Message|green}}
Message
Optional: border color as a CSS color value.
b
background
lighter shade of border color
{{note|b=lightgreen}}
Note
Optional: background as a CSS background value.
c
text color
#333 (dark grey)
{{note|c=green}}
Note
Optional: text color as a CSS color value.
s
state
expanded
{{note|s=c}}
Note
Optional: render the note text collapsed by default with the icon as the toggle.