টেমপ্লেট:পার্শ্ববর্তী স্টেশন

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
(টেমপ্লেট:Adjacent stations থেকে পুনর্নির্দেশিত)
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

Adjacent stations is a specialised succession box template that links adjacent station articles, along with the termini of one or more lines or services. It is a Lua version of {{S-line}} (পার্থক্য দেখূন).

ব্যবহার[সম্পাদনা]

উপাত্ত মডিউল[সম্পাদনা]

Before the template can be used, a module needs to be created that includes information about the transport system such as the title, lines and the termini of those lines. The data module needs to be a sub-page of মডিউল:পার্শ্ববর্তী স্টেশন (মডিউল:পার্শ্ববর্তী স্টেশন/system), and needs to be of a specific structure.

See মডিউল:পার্শ্ববর্তী স্টেশন for a guide on creating and editing data modules. Note that not all variables are used by this template.

You can also use {{পার্শ্ববর্তী স্টেশন/সারি|system|line}} inside Special:ExpandTemplates to simplify subpage creation for lines with two termini. You will need to replace every two spaces with a tab space afterwards.

ট্রান্সক্লুশন[সম্পাদনা]

For multiple lines or systems, this template only needs to be transcluded once. Each line is assigned a number. The parameters for the corresponding line are suffixed by the number (e.g. system2, line2). Parameters without a number suffix are treated as group 1.

প্যারামিটার[সম্পাদনা]

Parameter Description Behaviour if absent Notes
systemn The system to which line n belongs. This should correspond to a subpage of মডিউল:পার্শ্ববর্তী স্টেশন.
  • System for n assumed to be same as the previous group.
  • Renders empty table if no systems are entered.
Displays error message if unrecognised.
linen The name of line n (or recognised alias). This should correspond to a key under ["lines"] in data. Displays the termini of the line as subtext in left and right cells by default. Renders Terminus as subtext if adjacent station is terminus.
  • Line for n assumed to be same as the previous group.
  • Renders only header row if no lines are entered.
Displays error message if unrecognised.
leftn The name of the previous station. Renders the formatted station name in the left cell as main text. Renders Terminus in the left cell as main text.
rightn The name of the next station. Renders the formatted station name in the right cell as main text. Renders Terminus in the right cell as main text.
to-leftn The left terminus name or alias. Used to replace left terminus where it is non-default. Uses default left terminus. Uses un-formatted name if terminus is absent in data.
to-rightn The right terminus name or alias. Used to replace right terminus where it is non-default. Uses default right terminus. Uses un-formatted name if terminus is absent in data.
ton Terminus name or alias on either side. Used to replace either terminus where it is non-default. Uses default termini. Only replaces side with defined terminus in data.
transfern The name of the transfer station for the line, at stations where an interchange with a line at another nearby station is possible.
oneway-leftn If entered, 'One-way operation' is displayed in the left cell instead of the small text which indicates the line terminus. This can also be entered for the whole line in the system subpage.
oneway-rightn If entered, 'One-way operation' is displayed in the left cell instead of the small text which indicates the line terminus. This can also be entered for the whole line in the system subpage.
nonstopn If entered, instead of displaying previous and next stations, displays 'line does not stop here'. If the value for this parameter is 'former', then 'did not stop here' will be used instead.
headern A table header across the width of the table, displayed above the succession for the line. This will display with or without other parameters with the same number.
note-rown A note across the width of the table, displayed below the succession for the line. This will display with or without other parameters with the same number.
note-leftn A note, displayed below the left (previous) station's name.
note-midn A note, displayed below the line name in italics.
note-rightn A note, displayed below the right (next) station's name.
throughn The through line – trains on the line run through to this line. If this is entered, 'through to line', in italics, displays where 'Terminus' would.
through-leftn The through line for the left cell only (primarily for compatibility purposes).
through-rightn The through line for the right cell only (primarily for compatibility purposes).
reversen If this is entered, 'reverses direction', in italics, displays where 'Terminus' would.
reverse-leftn The same for the left cell only (primarily for compatibility purposes).
reverse-rightn The same for the right cell only (primarily for compatibility purposes).

উদাহরণ[সম্পাদনা]

মার্কআপ ফলাফল দেয়
{{পার্শ্ববর্তী স্টেশন|system=এমটিআর|line=Island|left=Admiralty|right=Causeway Bay}}
পূর্ববর্তী স্টেশন MTR MTR পরবর্তী স্টেশন
Admiralty
অভিমুখে Kennedy Town
Island line Causeway Bay
অভিমুখে Chai Wan
{{পার্শ্ববর্তী স্টেশন
|system=এমটিআর
|line1=Tsuen Wan|left1=Central|right1=Tsim Sha Tsui
|line3=South Island|right3=Ocean Park
}}
পূর্ববর্তী স্টেশন MTR MTR পরবর্তী স্টেশন
Central
সমাপ্তি
Tsuen Wan line Tsim Sha Tsui
অভিমুখে Tsuen Wan
সমাপ্তি South Island line Ocean Park
অভিমুখে South Horizons
{{পার্শ্ববর্তী স্টেশন
|system3=তাইওয়ান উচ্চ গতির রেল|left3=Nangang|right3=Banqiao
|system4=তাইওয়ান রেলওয়ে প্রশাসন|line4=West Coast|left4=Songshan|right4=Wanhua
}}
পূর্ববর্তী স্টেশন তাইওয়ান উচ্চ গতির রেল তাইওয়ান উচ্চ গতির রেল পরবর্তী স্টেশন
Nangang
অভিমুখে Zuoying
THSR Banqiao
অভিমুখে Nangang
পূর্ববর্তী স্টেশন তাইওয়ান রেলওয়ে প্রশাসন তাইওয়ান রেলওয়ে পরবর্তী স্টেশন
Songshan
অভিমুখে Keelung
West Coast line Wanhua
অভিমুখে Kaohsiung
{{পার্শ্ববর্তী স্টেশন|left=Guting|line=G|right=Gongguan|system=তাইপেই মেট্রো|to-right=Xindian}}
পূর্ববর্তী স্টেশন চিত্র:Taipei Metro Logo(Logo Only).svg তাইপেই মেট্রো পরবর্তী স্টেশন
Guting
অভিমুখে Xindian বা Taipower Building
Songshan–Xindian line Gongguan
অভিমুখে Xindian