টেমপ্লেট:NYCS time 2
এই টেমপ্লেটটিতে সিনট্যাক্সের জটিল ব্যবহার হয়েছে।
টেমপ্লেটটিতে সম্পাদনা করার আগে আপনাকে এটির সেটাপ ও পার্সার ফাংশন সম্পর্কে ভালো ধারণা নেবার জন্য উৎসাহিত করা হচ্ছে। যদি আপনার সম্পাদনা কোনো সমস্যার সৃষ্টি করে তবে তা বাতিল করুন, কারণ টেমপ্লেটটি অনেকগুলো পাতায় ব্যবহৃত হতে পারে, যা সবখানে সমস্যার সৃষ্টি করবে। মনে রাখবেন, আপনি যদি কোনো পরীক্ষা-নিরীক্ষা করতে চান, তবে এখানে প্রয়োগ করার আগে তা সাধারণ টেমপ্লেট খেলাঘর বা আপনার ব্যবহারকারী উপপাতায় প্রয়োগ করে দেখতে পারেন। |
Usage[সম্পাদনা]
This template formats the services that operate on a New York City Subway line. It should never be used directly, but rather through line templates.
Syntax[সম্পাদনা]
{{ NYCS time 2 |1=<subway service>|<page to link to>|<time period icon>|<description of time period>|<time period icon for express service>|<description for time period, express service>|time={{{time|}}} }}
Of these parameters, unnamed parameter, icon, text and time are required. In addition, time must have the value {{{time|}}}
, as in time={{{time|}}}
. This last parameter allows the template to output different styles.
- Unnamed parameter (or 1): subway service (ex. 7)
- link: What page to link to (ex. IRT Flushing Line) (if not provided, links to the service page)
- icon: What icon to show in the service time description. Use standard names. (ex. alltimes shows )
- text: description of service pattern. Should be a readable version of icon (ex. All times)
- dicon: Same as icon, but for diamond service.
- dtext: Same as text, but for diamond service.
- time: Display method. Passed through to article, use in article can be color, show, colorshow, box, full, text, nolink, or blank (nolinkatall is an additional option used in {{NYCS trains}} only).
- punct: Allows the template to be configured into a comma, serial comma, or the conjunction "and" if the
|time=
parameter is equal to "nolink" or is blank. The options for|punct=
are,
(for comma),,and
(for serial comma), andand
(for conjunction), respectively. See this discussion for a detailed explanation.
For example, this is the template with the info described above. ({{NYCS Flushing}})
{{NYCS time 2|7|icon=alltimes|dicon=rushpeak|text=All times|dtext=rush hours in peak direction only|time={{{time|}}}}}
time= | boxfull | boxtext | boxshow | box | |
---|---|---|---|---|---|
Result | 7 (All times) <7> (rush hours in peak direction only) | 7 (All times) <7> (rush hours in peak direction only) | 7 <7> | 7 <7> | |
time= | bulletfull | bullettext | bulletshow | bullets | |
Result | (All times) (rush hours in peak direction only) | (All times) (rush hours in peak direction only) | |||
time= | color | colorshow | |||
Result | 7 (All times) <7> (rush hours in peak direction only) | 7 <7> | |||
time= | full | text | show | [blank] | bold |
Result | 7 (All times) <7> (rush hours in peak direction only) | 7 (All times) <7> (rush hours in peak direction only) | 7 <7> | 7 and <7> | 7 and <7> |
time= | nolink | boldnolink or nolinkbold | |||
Result | 7 and <7> | 7 and <7> |
See also[সম্পাদনা]
- Template:NYCS br
- Wikipedia:WikiProject New York City Public Transportation
- Wikipedia:WikiProject New York City Public Transportation/New York City Subway/Services and lines
ব্যবহার[সম্পাদনা]
আরও দেখুন[সম্পাদনা]
উপরোক্ত নথিটি টেমপ্লেট:NYCS time 2/নথি থেকে প্রতিলিপ্ত। (সম্পাদনা | ইতিহাস) ব্যবহারকারীগণ খেলাঘর (তৈরি করুন | আয়না) এবং পরীক্ষা পাতায় (তৈরি করুন) এই টেমপ্লেট সংক্রান্ত পরীক্ষা-নিরীক্ষা করতে পারেন। দয়া করে /নথি উপপাতায় বিষয়শ্রেণী যোগ করুন। এই টেমপ্লেটের উপপাতাসমূহ। |