Template:Note

From railML 3 Wiki
Jump to navigation Jump to search


Application

This template allows for a standardized display of general notes, error notes and reminders.

Arguments

  • 1 (required): the content
  • 2: the kind of note.
    Possible values for the second argument are:
    • (Empty): general note
    • error: error note
    • gotcha: like error
    • reminder: reminder
    • notice: as in ISO 3864-2; points to possible material damage
  • file: Alows to customize the image
  • width: allows to customize the image width (in px)

dependencies

This template does not employ any other templates and is not used by any other templates.

Example

{{note|This is just a note.}}

delivers

🗒️ This is just a note.  


{{note|Error|error}}

delivers

Error  
{{note|Don't forget me!|reminder}}

delivers

💡 Don't forget me!  


{{note|Once and forall!|notice}}

delivers

🗒️
NOTICE
Once and forall!  


{{note|Feel free to manipulate the image ...|file=timeline.svg}}

delivers

Timeline.svg Feel free to manipulate the image ...  


{{note|... and its size|file=timeline.svg|width=200}}

delivers

Timeline.svg ... and its size