ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Waterway-routemap/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

This is a universal template for all waterway Route Diagram Templates (RDT). It adds the following text (without the surrounding box) to an RDT:

It will also place the template in Category:Waterway routemap templates unless there is an appropriate category for that country, or the parameter |cat=no is set which will omit any categorization.

Country is specified by any valid ISO 3166-1 code.

Additional codes

[ਸੋਧੋ]

The template also recognizes these unofficial codes:

Code Location
AFR Africa
AA or ASA Asia
CT or CAT Catalonia
EU or EUR Europe
NIL Northern Ireland‎
UK United Kingdom‎

Optional parameters

[ਸੋਧੋ]

When included, the second (optional) parameter should be the parent article of the diagram.

{{Waterway-routemap|US|Colorado River}}

will change the first line of the template to:


Including the optional named parameter |type= will change “a waterway in Country” to “a alternate text in Country”. For example,

{{Waterway-routemap|IT|type=[[Roman aqueduct]]}}

will change the first line of the template to:

and,

{{Waterway-routemap|FR|Pont du Gard|type=[[aqueduct]]}}

will change the first line of the template to:


The optional named parameter |the=anything will omit the word “the” before the linked page. For example,

{{Waterway-routemap|ZM|the=x|Victoria Falls|type=[[waterfall]]}}

will change the first line of the template to:


The optional named parameter |display= will replace the text of the article link. If display is set to either I or i the article link will automatically be italicized.

The optional named parameter |place= will change “a waterway in Country” to “a waterway in place, Country”. For example,

{{Waterway-routemap|UK|Grand Union Canal (old)|display=Grand Union Canal|place=[[Leicestershire, England]]}}

will change the first line of the template to:

See also

[ਸੋਧੋ]

ਫਰਮਾ:RoutemapSeeAlso