Template:AV device link row: Difference between revisions
Fix parameter names to use short labels (type, source, url) (via update-page on MediaWiki MCP Server) |
Display link_title when available, fall back to source name (via update-page on MediaWiki MCP Server) Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly>* [{{{url|}}} {{{source|}}}] ({{{type|}}}) | <includeonly>* [{{{url|}}} {{#if:{{{title|}}}|{{{title}}}|{{{source|}}}}}] ({{{type|}}}) | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Helper template used by [[Module:AVDevice]] to format archival link rows in the infobox. | Helper template used by [[Module:AVDevice]] to format archival link rows in the infobox. | ||
| Line 8: | Line 8: | ||
* source - Source name | * source - Source name | ||
* url - Full URL | * url - Full URL | ||
* title - Optional descriptive title; if present, used as the link text instead of source | |||
[[Category:AV device templates]] | [[Category:AV device templates]] | ||
</noinclude> | </noinclude> | ||