แม่แบบ:Rail icon

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Template:Rail icon returns an icon, an image or another preset value, from a subpage of {{Adjacent stations}}.

การใช้งาน[แก้]

Module:Adjacent stations/system must exist for this template to work.

Variables[แก้]

  • system is the name of the system or an abbreviation.
  • line is the line name, if any.
  • branch is the name of the branch or service, if any.

Parameters[แก้]

Optional parameters:

  • |size= – image size, expressed as width (15px), height (x15px) or both if necessary (15x15px).
  • |link= – image link (full page name)
  • |alt=alt text
  • |bold= – setting for some types of text-based icon; default is "yes" for all of those types
  • |name=y – setting to any value will add the system or line name.

Examples[แก้]

Using Module:Adjacent stations/MRT:

If there are two or more images by default, then the image-applicable values will be set for all of them.

ดูเพิ่ม[แก้]

  • {{Rail-interchange}} (abbreviated {{rint}}) for a similar template that has icons for many more systems.