Difference between revisions of "Template:Amtk"

From blackwiki
Jump to navigation Jump to search
blackwiki>Mackensen
(sort tracking category)
blackwiki>Mackensen
(change to use adjacent stations per talk page and Template_talk:Adjacent_stations#Shortcut)
Line 1: Line 1:
{{Amtrak stations|station={{{1|}}}|state={{{2|}}}|line={{{3|}}}|dab={{{dab|}}}}}{{#invoke:check for unknown parameters|check
+
{{Station link|Amtrak|{{{1|}}}|{{{3|}}}|{{{4|}}}}}{{#invoke:check for unknown parameters|check
 
|unknown=[[Category:Pages using Amtk with unknown parameters|_VALUE_]]|1|3|4}}<noinclude>{{documentation}}</noinclude>
 
|unknown=[[Category:Pages using Amtk with unknown parameters|_VALUE_]]|1|3|4}}<noinclude>{{documentation}}</noinclude>

Revision as of 16:25, 17 April 2019

Template:Station link

Template documentation[view] [edit] [history] [purge]

Template:Wrapper template

Usage

This template hard-codes the first parameter of {{Station link}} as "Amtrak", invoking Module:Adjacent stations/Amtrak. The following additional parameters are mapped:

  • |1= to |2=
  • |3= to |3=
  • |4= to |4=

Named parameters are not supported. Please note that for historical reasons |2= is unused and unsupported.

Tracking categories