Skabelon:NYCS box/doc
Dette er dokumentationsundersiden til Skabelon:NYCS box. Denne side indeholder information om brug, kategorier samt andet indhold, som ikke er en del af den oprindelige skabelonside. |
{{NYCS box|d=|link=|style=}}
This template is an accessible version of {{NYCS-bull-small}}. To use, simply specify the line as the first parameter. If the line is a diamond, specify |d=yes. If you would like to link the symbol elsewhere, specify |link=. If you would like to display regular text, specify |style=regular. If you would like to display no links, specify |style=nolink (for bold text) or |style=plain (for regular text). (Note that adding |style=nolink or |style=plain will cause the link parameter to not do anything.)
Please do not use this template unless you want to create simple line blocks. For specific services and most other needs, check to see if a template in Category:New York City Subway line templates meets your requirements. To have those templates generate boxes, use |time=box.
Eksempler:
Kode | Resultat |
---|---|
{{NYCS box|A}} | A |
{{NYCS box|6|d=yes}} | <6> |
{{NYCS box|6|link=IRT Pelham Line}} | 6 |
{{NYCS box|6|d=yes|link=IRT Pelham Line}} | <6> |
{{NYCS box|7|d=yes|style=nolink}} | <7> |
{{NYCS box|7|d=yes|style=regular}} | <7> |
{{NYCS box|7|d=yes|style=plain}} | <7> |