Template:Maybe pipe/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Maybe pipe. It may contain usage information, categories and other content that is not part of the original template page. |
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
[edit source]{{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)