Vorlage:NYCS trains

Aus Das unsichtbare Imperium
Version vom 1. September 2024, 09:31 Uhr von Zeus (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{NYCS {{{1}}}|time={{#ifeq:{{{2}}}|bold|{{#switch:{{{time|}}}|=bold|nolink=boldnolink|#default={{{time|}}}}}|{{{time|}}}}}|exclude={{{exclude|}}}}}{{#ifeq:{{Str find|{{NYCS {{{1}}}|exclude={{{exclude|}}}}}|[}}|-1||{{#switch:{{{time|}}}|full|text|color|colorshow|bulletfull|bullettext|boxfull|boxtext=<br>| }}{{#ifeq:{{Str find|{{NYCS {{{1}}}|time=nolinkatall|exclude={{{exclude|}}}}}|​}}|-1|{{#switch:{{{type}}}|route|routes=route|service|services=…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

{{NYCS {{{1}}}|time=|exclude=}}

This template formats the services that operate on a New York City Subway line. It is used to call a New York City Subway service template and adds the word "train" or "trains" afterward, according to the number of services that the called template returns.

Vorlagenparameter[Vorlagendaten bearbeiten]

ParameterBeschreibungTypStatus
11

Name of the service template, without the "NYCS" prefix. These templates can be found in the subcategories of [[:Category:New York City Subway line templates]].

Beispiel
Sixth
Unbekanntoptional
22

Add "bold" to format the services in bold

Unbekanntoptional
timetime

Display method. See [[Template:NYCS time 2/doc]] for options

Beispiel
bullets
Unbekanntoptional
excludeexclude

Exclude a service from being displayed in the given template

Beispiel
B
Unbekanntoptional
typetype

Add "routes" or "services" instead of "trains"

Beispiel
route
Unbekanntoptional
aposapos

Adds a possessive "train's" or "trains'"

Beispiel
y
Unbekanntoptional