Pushpin

Template-info.png Documentation

This template inserts a red or green pushpin image depending on a boolean value.

Example

  • {{pushpin|yes}} = Green Pushpin.png
  • {{pushpin|no}} = Red Pushpin.png

This works for standard boolean values (true/false, yes/no, and 1/0). If none of those options are used it simply outputs the input text:

  • {{pushpin|not a boolean}} = not a boolean
Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.