Template:AV link: Difference between revisions
Create AV link template for archival links (via create-page on MediaWiki MCP Server) |
Add link_title field to AV link subobject for descriptive link labeling (via update-page on MediaWiki MCP Server) Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly><div style="display:none;">{{#subobject:|AV device={{FULLPAGENAME}}|Model link type={{{link_type|}}}|Model link source={{{link_source|}}}|Model link URL={{{link_url|}}}}}</div></includeonly><noinclude> | <includeonly><div style="display:none;">{{#subobject:|AV device={{FULLPAGENAME}}|Model link type={{{link_type|}}}|Model link source={{{link_source|}}}|Model link URL={{{link_url|}}}{{#if:{{{link_title|}}}|}Model link title={{{link_title}}}}}}}</div></includeonly><noinclude> | ||
This template stores archival links for AV devices as semantic subobjects. | This template stores archival links for AV devices as semantic subobjects. | ||
| Line 9: | Line 9: | ||
* '''link_source''' - Source name (e.g., CRT Database, Crutchfield, Sony) | * '''link_source''' - Source name (e.g., CRT Database, Crutchfield, Sony) | ||
* '''link_url''' - Full URL to the resource | * '''link_url''' - Full URL to the resource | ||
* '''link_title''' - Optional descriptive title for the link (e.g., "Technical Description", "Specifications"). If omitted, the link_source is used as the display text. | |||
[[Category:AV device templates]] | [[Category:AV device templates]] | ||
</noinclude> | </noinclude> | ||