Templat:Rail pass box: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
MerlIwBot (bicara | kontrib)
NFarras (bicara | kontrib)
Tidak ada ringkasan suntingan
 
(7 revisi perantara oleh 6 pengguna tidak ditampilkan)
Baris 1:
<includeonly>{{Infobox
<tr><th>Penumpang ({{{pass_year<includeonly>|{{CURRENTYEAR}}</includeonly>}}})</th><td>{{{passengers}}} <includeonly>{{#if:</includeonly>{{{pass_percent<includeonly>|</includeonly>}}}<includeonly>|{{#ifexpr: {{{pass_percent}}} > 0|{{profit}}|{{#ifexpr: {{{pass_percent}}} < 0|{{loss}}|{{steady}}}}}} {{#expr:abs {{{pass_percent}}}}}</includeonly>%<includeonly>}}</includeonly> {{#if:{{{system<includeonly>|</includeonly>}}}|({{{system}}})}}</td></tr><noinclude>
| child = yes | decat = yes
 
| label1 = {{#ifeq:{{yesno-yes|{{{yearonly|}}}}}|yes||Penumpang}} {{#if:{{{pass_year|}}}|{{#ifeq:{{yesno-yes|{{{yearonly|}}}}}|yes|{{{pass_year}}}|({{{pass_year}}})}}}}
<tr><th>Penumpang| data1 = ({{#if:{pass_year<includeonly>|{{CURRENTYEARpassengers|}}</includeonly>}}})</th><td>|{{{passengers}}} <includeonly>{{#if:</includeonly>{{{pass_percent<includeonly>|</includeonly>}}}<includeonly>|&emsp;{{#ifexpr: {{{pass_percent}}} > 0|{{profit}}|{{#ifexpr: {{{pass_percent}}} < 0|{{loss}}|{{steady}}}}}} &nbsp;{{#expr:abs {{{pass_percent}}}}}</includeonly>%<includeonly>}}</includeonly> {{#if:{{{system<includeonly>|</includeonly>}}}|&#32;({{{system}}})}}</td></tr><noinclude>}}
<!--| label2 = {{pad}}Interchange
| data2 = {{#if:{{{interchange|}}}|{{{interchange}}}{{#if:{{{int_percent|}}}|&emsp;{{#ifexpr:{{{int_percent}}} > 0|{{profit}}|{{#ifexpr:{{{int_percent}}} < 0|{{loss}}|{{steady}}}}}}&nbsp;{{#expr:abs {{{int_percent}}}}}%}}}}-->
| label3 = Peringkat
| data3 = {{{pass_rank|}}}
}}</includeonly>
 
<noinclude>
{{Documentation|content=
This template is used inside public transit station and line infoboxes as a standard means of presenting passenger trafic.
 
== Contoh ==
{{Infobox
[[tl:Suleras:| data1 = {{Rail pass box]]
| passengers = {{{passengers}}}
| pass_percent = 0
| pass_rank = {{{pass_rank}}}
| pass_year = {{{pass_year}}}
| system = {{{system}}}
}}
}}
<pre style="overflow: auto;">
{{Infobox
[[en:Template:| data1 = {{Rail pass box]]
| passengers = {{{passengers|}}}
| pass_percent = {{{pass_percent|}}}
| pass_rank = {{{pass_rank}}}
| pass_year = {{{pass_year|}}}
| system = {{{system|}}}
}}
}}
</pre>
 
}}
[[Kategori:Templat navigasi transportasi]]
 
[[en:Template:Rail pass box]]
[[fa:الگو:Rail pass box]]
[[ja:Template:Rail pass box]]
[[ka:თარგი:რკინიგზის მგზავრების დაფა]]
[[kk:Үлгі:Rail pass box]]
[[mk:Шаблон:Rail pass box]]
[[ml:ഫലകം:Rail pass box]]
[[ta:வார்ப்புரு:Rail pass box]]
[[th:แม่แบบ:Rail pass box]]
[[tl:Suleras:Rail pass box]]
[[uk:Шаблон:Rail pass box]]
[[zh:Template:Rail pass box]]
</noinclude>