Template:Pushpin

From Cube Life: Island Survival Wiki
Jump to: navigation, search
Template-info.png Documentation

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

Example

  • {{pushpin|yes}} = Yes
  • {{pushpin|no}} = Yes

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