Difference between revisions of "Template:Faretable"

From Transit.Wiki
m
m
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border="1" class=wikitable
+
<includeonly><div style="overflow:auto;">
!
+
{| class=infodata
!One way
+
!{{{tablename|}}}!!{{{one way alt|One way}}} !!{{{pass1 name}}} {{#if:{{{pass2 name|}}}|!!{{{pass2 name}}}}}{{#if:{{{pass3 name|}}}|!!{{{pass3 name}}}}}
!{{{pass1 name}}}{{#if:{{{pass2 name|}}}|
 
!{{{pass2 name}}}}}{{#if:{{{pass3 name|}}}|
 
!{{{pass3 name}}}}}
 
 
|-
 
|-
|Full fare
+
|Full fare ||{{#if:{{{2nd table|}}}|{{{one way full}}}|$[[Base fare::{{{one way full}}}]]}} ||{{{pass1 full}}} {{#if:{{{pass2 name|}}}|{{!}}{{!}} {{{pass2 full}}}}}{{#if:{{{pass3 name|}}}|{{!}}{{!}} {{{pass3 full}}}}}
|[[Base fare::{{{full one way}}}]]
+
{{#if:{{{one way youth|}}}|
|{{{full pass1}}}{{{pass2 name| |
+
{{!}}-
{{!}} {{{full pass2}}}}}}{{{pass3 name| |
+
{{!}}{{{student|Youth}}} fare {{!}}{{!}}{{{one way youth}}} {{!}}{{!}}{{{pass1 youth}}} {{#if:{{{pass2 name|}}}|{{!}}{{!}} {{{pass2 youth}}}}}{{#if:{{{pass3 name|}}}|{{!}}{{!}} {{{pass3 youth}}}}}}}
{{!}} {{{full pass3}}}}}}
 
 
|-
 
|-
|Youth fare
+
|Senior/&#8203;Disabled/&#8203;Medicare fare ||{{{one way sdm}}} || {{{pass1 sdm}}} {{#if:{{{pass2 name|}}}|{{!}}{{!}} {{{pass2 sdm}}}}}{{#if:{{{pass3 name|}}}|{{!}}{{!}} {{{pass3 sdm}}}}}
|{{{youth one way}}}
+
|}</div>{{#if:{{{source|}}}|
|{{{youth pass1}}}{{{pass2 name| |
+
Source: [{{{source}}}]}}</includeonly>
{{!}} {{{youth pass2}}}}}}{{{pass3 name| |
+
<noinclude>
{{!}} {{{youth pass3}}}}}}
+
<pre>
|-
+
{{faretable
|Senior/Disabled/Medicare fare
+
|source        =
|{{{sdm one way}}}
+
|student      =
|{{{sdm pass1}}}{{{pass2 name| |
+
|one way full  =
{{!}} {{{sdm pass2}}}}}}{{{pass3 name| |
+
|one way youth =
{{!}} {{{sdm pass3}}}}}}
+
|one way sdm  =
|}
+
|pass1 name    =
 +
|pass1 full    =
 +
|pass1 youth  =
 +
|pass1 sdm    =
 +
|pass2 name   =
 +
|pass2 full    =
 +
|pass2 youth  =
 +
|pass2 sdm     =
 +
|pass3 name   =
 +
|pass3 full    =
 +
|pass3 youth  =
 +
|pass3 sdm     =
 +
}}
 +
</pre>
 +
</noinclude>

Latest revision as of 02:41, 5 January 2024


{{faretable
|source        =
|student       =
|one way full  = 
|one way youth =
|one way sdm   =
|pass1 name    =
|pass1 full    =
|pass1 youth   =
|pass1 sdm     =
|pass2 name    =
|pass2 full    =
|pass2 youth   =
|pass2 sdm     =
|pass3 name    =
|pass3 full    =
|pass3 youth   =
|pass3 sdm     =
}}