الگو:Rail color/توضیحات
ظاهر
این زیرصفحهٔ مستندات الگو:Rail color است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
این الگو در تعداد زیادی صفحه صفحه بهکار رفته است و تغییر دادن آن میتواند تأثیرات گستردهای داشتهباشد. لطفاً تغییرات را در زیرصفحههای /تمرین یا /آزمایشی الگو، یا در زیرصفحهٔ کاربری خودتان بیازمایید. توصیه میشود که ابتدا در خصوص تغییرات مورد نظر در صفحهٔ بحث گفتگو کرده و سپس آنها را پیادهسازی کنید. |
الگو:Sidebar Adjacent stations
این الگو از لوآ استفاده میکند: |
Template:Rail color returns an RGB hex code value from a subpage of پودمان:Adjacent stations or from a helper template of {{S-line}}.
Usage[ویرایش]
Module:Adjacent stations/system
or Template:system color
must exist for this template to work.
{{Rail color|system}}
{{Rail color|system|line}}
{{Rail color|system|line|branch}}
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.
Examples[ویرایش]
{{Rail color|Amtrak}}
← 00537E