টেমপ্লেট:WAcity

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

[[{{{1}}}, Western Australia|{{{1}}}]]

টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

This is the basic syntax you need to get a listing of appropriately wikilinked Western Australian cities, suburbs, and features. This is mainly used for junction and exit list tables for WA highways, but can be used elsewhere.

Usage[সম্পাদনা]

Link to a disambiguated article
  • Instead of [[Article, Western Australia|Article]], use
{{WAcity|Article}}
  • Instead of [[Article (Western Australia)|Article]], use
{{WAcity|b1=on|Article}}
All parameters
{{WAcity|1|2|3|4|b1=|b2=|b3=|b4=|pre=}}

Here's what you should fill in[সম্পাদনা]

  • 1, 2, 3, 4: The name of the city, suburb, or feature to be wikilinked to.
    • The text entered here is what will be displayed in the list.
    • Enter the text exactly as it appears in the article title, but without disambiguation
      • Exception: To link to the Perth (suburb) article enter perth (all lowercase)
    • The parameters replace the numbers, i.e. it should not be 1=Albany, just simply Albany.
  • b1=, b2=, b3=, b4=: Can be set to on or omitted.
    • Set as on if the article uses brackets for disambiguation, in the form of "<article> (Western Australia)".
    • Omit parameter if the article uses a comma for disambiguation, in the form of "<article>, Western Australia".
  • pre= or p= or dash=: Can be used to include punctuation at the start of the list (a comma or ndash).
    • If set to dash, or ndash, or d, or n, or on, the list will be preceded by an ndash (–).
    • If set to comma, or equivalently , (an actual comma), the list will be preceded by a comma (,). This can be used to continue a list if multiple instances of this template are used.
    • If omitted, or set to off, or equivalently no, the list will not be preceded by any punctuation
  • All parameters except for 1 are optional.

Examples[সম্পাদনা]

What you type What you get
{{WAcity|Albany}} Albany
{{WAcity|Perth|Swan River|b2=on|perth|}} Perth, Swan River, Perth
{{WAcity|Bunbury|dash=on}}  – Bunbury
{{WAcity|Mirrabooka|Balga|dash=comma}} Mirrabooka, Balga
{{WAcity|p=n|Morley|Noranda|Dianella|Yokine}}{{WAcity|Mirrabooka|Balga|pre=,}}  – Morley, Noranda, Dianella, YokineMirrabooka, Balga

See also[সম্পাদনা]

{{AUSinttop}}, {{AUS-WAint}}, {{Jctbtm}}: Used to generate an WP:RJL compliant junction table

{{AUshield}}: Used to generate shields for Australian routes