Template:NYCS
[[{{{alt
|{{{1}}} (New York City Subway {{{4|service}}})}}}|{{
#if: {{{bold|}}}
| {{{2|{{{1}}}}}}
| {{{2|{{{1}}}}}}
}}]]{{
- if: {{{service|}}}
| {{{service}}}
}}{{
- if: {{{3|}}}
}}
{{documentation}}
{
"params": {
"1": {
"label": "Page name",
"description": "The page name without the (New York City Subway ________) suffix. If |alt= is given, this isn't needed. The blank defaults to \"service\" unless |4= is given.",
"type": "line",
"suggested": true
},
"2": {
"label": "Link text",
"description": "The link text, if left blank the value from |1= will be used"
},
"3": {
"label": "Alternate link",
"description": "If given, will provide a link to be used in place of the {{NYCS time}}.",
"type": "line"
},
"4": {
"label": "Suffix",
"description": "If given, would change the suffix of the link to \"(New York City Subway
},
"bold": {
"description": "If given, will put boldface on the link text",
"type": "boolean"
},
"service": {
"description": "If given, will append the text \"train\" or \"service\" after the service link.",
"type": "line"
},
"alt": {
"label": "Alternate link target",
"description": "If given, will provide an alternate value to link to, aside from [first parameter] (New York City Subway service)",
"type": "line"
}
},
"description": "The NYCS template substitutes subway service information to make updating these easier.",
"paramOrder": [
"1",
"2",
"3",
"4",
"alt",
"bold",
"service"
]
}