مواد ڏانھن هلو

ماڊيول:AUshield/doc

کليل ڄاڻ چيڪلي، وڪيپيڊيا مان

This is the documentation page for ماڊيول:AUshield

Invoke this module from within a template with the following command: {{#invoke:AUshield|Shield}}


Basic Module Description

[سنواريو]
  • This module has a table of base highway types and their properties. Output is created by using the route type parameter to look up properties for that type of route, and then creating "[[File:... ...]]" using the route number as well, to ensure the appropriate file is linked. Provision is also made for alt text, and custom sizing. See comments within code for more specific information.
  • Note: The limitation of 4 shields can be increased if needed with minor modification, and has only been enforced to match the functionality of {{AUshield}}.


Template Data

[سنواريو]

The template that is used to invoke this module requires the following parameters:

Template parameters

ParameterDescriptionTypeStatus
1st route type1

The code for the route type (see [[Template:AUshield]] for a description of the codes)

Stringrequired
1st route number2

The route number

Stringrequired
2nd route type3

The code for the route type (see [[Template:AUshield]] for a description of the codes)

Stringoptional
2nd route number4

The route number

Stringoptional
3rd route type5

The code for the route type (see [[Template:AUshield]] for a description of the codes)

Stringoptional
3rd route number6

The route number

Stringoptional
4th route type7

The code for the route type (see [[Template:AUshield]] for a description of the codes)

Stringoptional
4th route number8

The route number

Stringoptional
Show alternate text and image linkalt

Normally this parameter should be left empty (Set this parameter to 'on' to include alt text, e.g. State Route 2, and the default image link), set '|alt=on' to activate

Stringoptional
image sizesize

Normally this parameter should be left empty (Use this parameter to change image size. Allowed values are '<number>px', to set the width in pixels, or 'x<number>px', to set the height in pixels)

Stringoptional