Difference between revisions of "Template:IMTL"
Jump to navigation
Jump to search
imported>Zyxw (Update URL. Remove any leading spaces from ID that would break URL. Fix for empty title parameter. If using page name as title, remove any disambiguation.) |
|||
| Line 1: | Line 1: | ||
| − | [ | + | [https://imtl.org/montreal/image.php?id={{Trim|{{{1|{{{id}}}}}}}} {{#if: {{{2|{{{name|{{{title<includeonly>|</includeonly>}}}}}}}}} | {{{2|{{{name|{{{title}}}}}}}}} | {{PAGENAMEBASE}} }}] at ''IMTL.org''<noinclude> |
| − | |||
| − | |||
{{Documentation}} | {{Documentation}} | ||
| − | + | <!-- Please add categories to the /doc subpage & add interwikis to Wikidata --> | |
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 21:09, 30 January 2019
{{{title}}} at IMTL.org
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
| The above documentation is transcluded from Template:IMTL/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |