Difference between revisions of "Template:Australian Wetlands Database/doc"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(added docs)
imported>Zyxw
m (note modules used)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{Uses Wikidata|P2584}}
 
{{Uses Wikidata|P2584}}
 
{{Tracks Wikidata|P2584}}
 
{{Tracks Wikidata|P2584}}
 +
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
 +
 
Creates a {{tl|cite web}} transclusion that links to the Australian Wetlands Database.
 
Creates a {{tl|cite web}} transclusion that links to the Australian Wetlands Database.
  
Line 8: Line 10:
 
:{{tlc|Australian Wetlands Database|name{{=}}''name''|code{{=}}''code''|accessdate{{=}}''access date''}}
 
:{{tlc|Australian Wetlands Database|name{{=}}''name''|code{{=}}''code''|accessdate{{=}}''access date''}}
 
where:
 
where:
* <tt>name</tt> is the name of the area in the database (defaults to the name of the page where the template is transcluded)
+
* <kbd>name</kbd> is the name of the area in the database (defaults to the name of the page where the template is transcluded)
* <tt>code</tt> is the code of the area in the database. Codes are on the page, next to the name of the area; use [http://www.environment.gov.au/cgi-bin/wetlands/search.pl?smode=DOIW this search page] to look for a specific area.
+
* <kbd>code</kbd> is the code of the area in the database. Codes are on the page, next to the name of the area; use [http://www.environment.gov.au/cgi-bin/wetlands/search.pl?smode=DOIW this search page] to look for a specific area.
* <tt>accessdate</tt> (or <tt>access-date</tt>) is the access date passed through to {{tl|cite web}}.
+
* <kbd>accessdate</kbd> (or <kbd>access-date</kbd>) is the access date passed through to {{tl|cite web}}.
  
 
==Tracking categories==
 
==Tracking categories==
Line 21: Line 23:
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:External link templates]]
 
[[Category:External link templates]]
 +
[[Category:External link templates using Wikidata]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:32, 10 May 2019

Template:Uses Wikidata Template:Tracks Wikidata

Creates a {{cite web}} transclusion that links to the Australian Wetlands Database.

Usage

{{Australian Wetlands Database|name=name|code=code|accessdate=access date}}

where:

  • name is the name of the area in the database (defaults to the name of the page where the template is transcluded)
  • code is the code of the area in the database. Codes are on the page, next to the name of the area; use this search page to look for a specific area.
  • accessdate (or access-date) is the access date passed through to {{cite web}}.

Tracking categories