Template:Note: Difference between revisions

From OpenTreeID Help
Imported from the SquidWeb wiki
 
Example that matches the app
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="sq-callout"><span class="sq-callout__title">{{{title|Good to know}}}:</span> {{{1|{{{text|}}}}}}</div><noinclude>
<div class="ot-callout"><span class="ot-callout__title">{{{title|Good to know}}}:</span> {{{1|{{{text|}}}}}}</div><noinclude>
Info callout with a teal accent bar. Use for tips, availability notes and context a reader should not miss.
Info callout with a green accent bar. Use for tips and context a reader should not miss.


<pre>{{Note|title=Good to know|The daily digest lists every file that failed.}}</pre>
<pre>{{Note|Choosing a site in Add tree fills in its project.}}</pre>
gives
gives
{{Note|title=Good to know|The daily digest lists every file that failed.}}
{{Note|Choosing a site in Add tree fills in its project.}}


For warnings use [[Template:Careful]]. Styles live in [[MediaWiki:Common.css]] (<code>.sq-callout</code>).
For warnings use [[Template:Careful]]. Styles live in [[MediaWiki:Common.css]] (<code>.ot-callout</code>).
{| class="wikitable"
{| class="wikitable"
! Parameter !! Meaning
! Parameter !! Meaning

Latest revision as of 12:33, 23 October 2026

Good to know:

Info callout with a green accent bar. Use for tips and context a reader should not miss.

{{Note|Choosing a site in Add tree fills in its project.}}

gives

Good to know: Choosing a site in Add tree fills in its project.

For warnings use Template:Careful. Styles live in MediaWiki:Common.css (.ot-callout).

Parameter Meaning
1 (unnamed) The text. Wikitext allowed.
title Bold lead-in before the colon. Default Good to know.