Template:IMTL/doc
外观
此頁面是Template:IMTL的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
Template:IMTL displays an external link for an entry in the IMTL.org (Images Montréal) database.
Usage
[编辑]- ID only (uses Wikipedia article name as link text)
{{IMTL | ID }}
{{IMTL | id = ID }}
- ID with title
{{IMTL | ID | TITLE }}
{{IMTL | id = ID | title = TITLE }}
Parameters
[编辑]- id or unnamed parameter 1
- Required: the "CodeIMTL" of the database entry found on the lower left side of the page.
- Example: https://imtl.org/montreal/image.php?id=1511.
- title or name or unnamed parameter 2
- The name of the linked-to article, as it appears in the IMTL.org database. The default is the article's pagename.
Usage
[编辑]- URL
- https://imtl.org/montreal/image.php?id=1511
- Redirects to https://imtl.org/montreal/building/Immeuble-Wilson-Chambers.php
- Usage
{{IMTL | 1511 | Wilson Chambers Building }}
{{IMTL | id= 1511 | title= Wilson Chambers Building }}
- Output
- Wilson Chambers Building at IMTL.org
- Wilson Chambers Building at IMTL.org