How to use ATTACH with BBCode?

The content inside an ATTACH bb code is the attachment ID.
You can see this and other BB code usage here:
https://xenforo.com/community/help/bb-codes/#attach

Except that the ATTACH documentation appears to be incomplete. For instance type and alt parameters are not documented there. For attachments which are not images is there a way to change the default link text which simply says "View attachment filename"?
 
Top Bottom