الگو:S-line/توضیحات: تفاوت میان نسخهها
محتوای حذفشده محتوای افزودهشده
جز ربات: انتقال پیوند میانویکی به d:q12671420 در ویکیداده |
|||
خط ۶۹:
</pre>
[[:Template:S-rail-start]] is a variant of the generic template {{t1|s-start}} used to begin thousands of succession boxes. '''Important note:''' No form of start template ({{tl|s-rail-start}} or {{tl|s-start}}) is needed when the succession box is in side the ''service'' parameter of {{tl|Infobox rail line}}. [[:Template:S-rail]] is used to generate headings for each grouping of rail services in a box. Here we have only one, but some particularly large terminals may have three or four (see [[Union Station (Chicago)]] or [[30th Street Station]]). S-rail uses the translation table at [[:Template:S-rail/lines]]; if the entry is undefined, it simply links the text. Therefore, Amtrak produces [[
You can see that S-line takes only parameters – no linking necessary! S-line accomplishes this through two assumptions: (1) groups of articles on train stations are named in a predictable manner; (2) redirects are cheap. For S-line to produce the table above five separate templates were defined. Before discussing them, however, let's review the parameters:
|