Template:Maybe pipe/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Displays text, that is linked to a target if a link-target is specified. That is, it's the opposite behavior of normal piping, where a link is always generated that is optionally given alternate text to display. If no link is generated, an optional tooltip can be generated.

  • {{Maybe pipe|disp=Some visible text}} → Some visible text (not linked)
  • {{Maybe pipe|link=Example|disp=Some visible text}}Some visible text (linked to Example)