Jump to content

Template:Transport for New South Wales ferry wharves/doc

From Wikipedia, the free encyclopedia
{{Transport for New South Wales ferry wharves|_|state=}}

{{Transport for New South Wales ferry wharves}} is a universal navbox template, based on the design of {{Transport for New South Wales railway stations}}, that lists all of the stations and routes currently serviced, or planned to be serviced, by New South Wales' public transport operator Transport for NSW. The navbox is divided into various groups representing each route serviced by Transport for New South Wales' Sydney Ferries service, listing all the wharves of the Sydney Ferries network's seven routes, in addition to a list of decommissioned wharves and one upcoming service, the F4 Cross Harbour service, yet to be initiated. All the individual groups in each section are hidden using {{#switch:}} templates. To avoid navbox congestion, all groups are hidden by default, with the sections only appearing if the associated parameter with that group is activated. The key to activating paramaters is set to "y".

Examples

[edit]

Example 1

[edit]

On the article for Darling Point ferry wharf, which is a wharf currently solely serviced by Sydney Ferries' F7 Double Bay service, only the "Double Bay" parameter is activated as follows, producing the after-seen result:

{{Transport for New South Wales ferry wharves|Double Bay=y}}

Example 2

[edit]

On the article for Cockatoo Island ferry wharf, which is a wharf currently serviced by Sydney Ferries' F3 Parramatta River and F8 Cockatoo Island services, the parameters "Parramatta River", and "Cockatoo Island" are activated as follows, to produce the after-seen result:

{{Transport for New South Wales ferry wharves|Parramatta River=y|Cockatoo Island=y}}

Parameters

[edit]

Main parameters

[edit]
Sydney Ferries
Service Parameter
  F1 Manly "Manly"
  F2 Taronga Zoo "Taronga Zoo"
  F3 Parramatta River "Parramatta River"
  F4 Pyrmont Bay "Pyrmont Bay"
  F5 Neutral Bay "Neutral Bay"
  F6 Mosman Bay "Mosman Bay"
  F7 Double Bay "Double Bay"
  F8 Cockatoo Island "Cockatoo Island"
  F9 Watsons Bay "Watsons Bay"
  Decommissioned "Decommissioned"

Additional parameters

[edit]
Parameter Inputs Result / notes
"state=" "collapsed" Collapses navbox by default.
"expanded" Expands the navbox by default.

Full template

[edit]

Here's the entire template as it looks with all parameters active, displayed as "state=expanded", as a visual reference to editors.