Template:WPBannerDoc/alias
Jump to navigation
Jump to search
- The parameter
|{{{2}}}=
is recognised as an alias for|{{{1}}}=
. If both|{{{1}}}=
and|{{{2}}}=
are present,|{{{2}}}=
is ignored.
Template documentation
Examples:
{{WPBannerDoc/alias|B-Class-1|b1}}
- The parameter
|b1=
is recognised as an alias for|B-Class-1=
. If both|B-Class-1=
and|b1=
are present,|b1=
is ignored.
{{WPBannerDoc/alias|B-Class-1|b1|B-Class-5|b5}}
- The parameters
|b1=
to|b5=
are recognised as aliases for|B-Class-1=
to|B-Class-5=
. If both|B-Class-1=
and|b1=
are present,|b1=
is ignored.
{{WPBannerDoc/alias|B-Class-1|b1|B-Class-5|b5|; similarly for the other four pairs}}
- The parameters
|b1=
to|b5=
are recognised as aliases for|B-Class-1=
to|B-Class-5=
. If both|B-Class-1=
and|b1=
are present,|b1=
is ignored; similarly for the other four pairs.
{{WPBannerDoc/alias|NYPT|NYCS|priority=none}}
- The parameter
|NYCS=
is recognised as an alias for|NYPT=
. If both|NYPT=
and|NYCS=
are present, there may be unexpected results.
{{WPBannerDoc/alias|class|1}}
- The first positional parameter is recognised as an alias for
|class=
. If both|class=
and the positional parameter are present, the positional parameter is ignored.
{{WPBannerDoc/alias|image|image-needed|needs-image|multi=yes}}
- The parameters
|image-needed=
and|needs-image=
are recognised as aliases for|image=
. If more than one is present,|image-needed=
has precedence over|needs-image=
, and|image=
has precedence over both of the others: parameters with lower precedence are ignored.