Difference between revisions of "Template:IMTL/doc"
Jump to navigation
Jump to search
imported>Zyxw (update usage and examples, add category) |
imported>Zyxw (update URLs) |
||
| Line 15: | Line 15: | ||
== Parameters == | == Parameters == | ||
; id {{nobold|or unnamed parameter}} 1 | ; id {{nobold|or unnamed parameter}} 1 | ||
| − | : Required: the "CodeIMTL" of the database entry found on the lower left side of the page. Example: | + | : 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 {{nobold|or}} name {{nobold|or unnamed parameter}} 2 | ; title {{nobold|or}} name {{nobold|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. | : The name of the linked-to article, as it appears in the ''IMTL.org'' database. The default is the article's pagename. | ||
| Line 21: | Line 22: | ||
=== Usage === | === Usage === | ||
; URL | ; URL | ||
| − | : <kbd>[ | + | : <kbd>[https://imtl.org/montreal/image.php?id=1511 https://imtl.org/montreal/image.php?id={{Hilite|1511}}]</kbd> |
: Redirects to <kbd>https://imtl.org/montreal/building/Immeuble-Wilson-Chambers.php</kbd> | : Redirects to <kbd>https://imtl.org/montreal/building/Immeuble-Wilson-Chambers.php</kbd> | ||
Revision as of 21:11, 30 January 2019
| This is a documentation subpage for Template:IMTL. It contains usage information, categories and other content that is not part of the original template page. |
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)
- Template:Tlcw
- Template:Tlcw
- ID with title
- Template:Tlcw
- Template:Tlcw
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
- Template:Tlcw
- Template:Tlcw
- Output
- Wilson Chambers Building at IMTL.org
- Wilson Chambers Building at IMTL.org