Template:RelatedDocuments: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Create template |
Update |
||
| Line 20: | Line 20: | ||
* Promotional Material | * Promotional Material | ||
* Video | * Video | ||
* Protocol | |||
'''Examples:''' | '''Examples:''' | ||
Revision as of 09:12, 9 June 2026
Related Documents Template
Auto-generates a bullet list of links to other document pages for the current product.
Usage:
{{RelatedDocuments}}
Auto-detects:
- Product name from current page (strips known doc-type suffixes)
- Current document type — auto-excluded from output
Default document types listed:
- Datasheet
- User Guide
- Certifications & Approvals
- Product Change Notifications
- Firmware Changelog
- Promotional Material
- Video
- Protocol
Examples:
- On page "LIGO MAX" (product hub) → all 7 items listed
- On page "LIGO MAX Datasheet" → 6 items (Datasheet excluded)
- On page "LIGO PRO BLE User Guide" → 6 items (User Guide excluded), all linking to "LIGO PRO BLE [Type]"
Optional override:
{{RelatedDocuments|product=Custom Name}}
→ Forces all links to use "Custom Name [DocType]" instead of auto-detection.