Template:Note: Difference between revisions

From OpenTreeID Help
Imported from the SquidWeb wiki
 
OpenTreeID version: ot- styles and OpenTreeID examples
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|Adding a tree on your phone fills in its location from the phone's GPS.}}</pre>
gives
gives
{{Note|title=Good to know|The daily digest lists every file that failed.}}
{{Note|Adding a tree on your phone fills in its location from the phone's GPS.}}


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

Revision as of 12:24, 23 October 2026

Good to know:

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

{{Note|Adding a tree on your phone fills in its location from the phone's GPS.}}

gives

Good to know: Adding a tree on your phone fills in its location from the phone's GPS.

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.