Template:NotePelervar: Difference between revisions

From OlympusRPG Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="pelervar-note" style="display: flow-root;overflow: hidden;border:1px solid #c8ccd1; border-left:4px solid #3366cc; background:#f8f9fa; padding:0.6em 0.9em; margin:0.9em 0; border-radius:2px; line-height:1.5;">{{{1|}}}</div><noinclude>
<div class="pelervar-note" style="display:flow-root;overflow:hidden;border:1px solid #c8ccd1; border-left:4px solid #3366cc; background:#f8f9fa; padding:0.6em 0.9em; margin:0.9em 0; border-radius:2px; line-height:1.5;">{{{1|}}}</div><noinclude>
'''Template:NotePelervar''' renders an inline callout box, used across the wiki
'''Template:NotePelervar''' renders an inline callout box, used across the wiki
for "do not confuse" hatnotes and short asides.
for "do not confuse" hatnotes and short asides.

Latest revision as of 04:07, 9 June 2026

Template:NotePelervar renders an inline callout box, used across the wiki for "do not confuse" hatnotes and short asides.

Usage

{{NotePelervar|Your note text here.}}

The note text is the first (unnamed) parameter. It accepts ordinary wikitext — bold, italics, and links all work:

{{NotePelervar|'''Do not confuse''' [[Pelervar/Ashford|Ashford]] with [[Pelervar/Eastwatch|Eastwatch]].}}

Notes

  • Pipes inside ... links are safe; the parser protects them.
  • If your text contains an equals sign, pass it explicitly as
text with = sign

so it is not read as a named parameter.

  • The box ships with inline styles so it works on a vanilla install. To restyle
 site-wide, target the .pelervar-note class in
 MediaWiki:Common.css.