Шаблон:BSsrws
Изглед
{{#ifeq:bssrws |док
|
{{#ifeq:show |show
|| Ово је документациона подстраница за Шаблон:BSsrws. Садржи информације о коришћењу, категоријама и другом садржају који није део оригиналне странице. |
}}{{#if: |
| {{#ifexist:Шаблон:BSsrws
| [[Категорија:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
|
}}
}}
|
}}
| Ovaj šablon pokreće Lua: |
Usage
This template expands a name – split over two lines – to link to the appropriate railway station article, without displaying "railway station".
- The text will inherit the alignment of the parent cell, but can be overridden by applying the parameter "
|{{SAFESUBST:#if:align|align=}}left" or "|{{SAFESUBST:#if:align|align=}}right". - The first and second parameters are the two lines. They are combined to form the station name. The words
railway stationare not needed. - The third parameter (alternatively "
|{{SAFESUBST:#if:3|3=}}" or "|{{SAFESUBST:#if:S|S=}}") will change the default words "railway station" in the link to its contents. - The fourth parameter (alternatively "
|{{SAFESUBST:#if:4|4=}}") will change both lines to italic text. Any character or text can be used. - The fifth parameter (alternatively "
|{{SAFESUBST:#if:5|5=}}") will change both lines to bold text. Any character or text can be used. - The separating line can be forced to appear by providing an argument for the parameter "
|{{SAFESUBST:#if:line|line=}}anything". - Background colors can be specified by providing a valid html color or hex triplet for the parameters "
|{{SAFESUBST:#if:bg1|bg1=}}" (top line) and "|{{SAFESUBST:#if:bg2|bg2=}}" (bottom line).
For example:
{{BSsrws|Stratford|International}}links to[[Stratford International railway station]]and displays
.Stratford International {{BSsrws|Stratford|International|station|it}}links to[[Stratford International station]]and displays
.Stratford International
Incorrect uses
If either line of text is empty, the page that the template is used on will be a member of Category:Pages using BSto or BSsrws with missing text values.