Template:Maybe pipe
Jump to navigation
Jump to search
{{{disp}}}
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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.
Usage
{{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)