Difference between revisions of "Template:IMTL/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update URLs)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 33: Line 33:
 
: {{{{BASEPAGENAME}} | id= 1511 | title= Wilson Chambers Building }}
 
: {{{{BASEPAGENAME}} | id= 1511 | title= Wilson Chambers Building }}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line and interwikis at Wikidata -->
 
<!-- Categories below this line and interwikis at Wikidata -->
 
[[Category:Buildings and structures external link templates]]
 
[[Category:Buildings and structures external link templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:25, 25 April 2020

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