Jump to content

Template:MLS roster status/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template can be used to easily indicate the roster status of a Major League Soccer player. The template takes in one or more codes for a roster status and outputs piped links for each of those codes, explaining what they mean.

Each parameter should be a code for the roster status you wish to indicate. You can specify up to four codes as separate parameters. Here is a list of all valid codes (any invalid codes will be rendered as-is with no link):

Code Links to
C Captain (association football)
DP Designated Player Rule
GA Generation Adidas
HG Homegrown Player Rule (Major League Soccer)
INTL MLS International Roster Slots

By default, this template's output will be in italics and parentheses. To disable this behavior and get unstyled links, pass |nostyle=y as an additional parameter.

Examples

[edit]
Code Output
{{MLS roster status|HG}} (HG)
{{MLS roster status|DP|INTL}} (DP, INTL)
{{MLS roster status|foobar}} (foobar)
{{MLS roster status|GA|foobar}} (GA, foobar)
{{MLS roster status|DP|HG|GA|INTL}} (DP, HG, GA, INTL)
{{MLS roster status|DP|nostyle=y}} DP
{{MLS roster status|DP|INTL|nostyle=y}} DP, INTL
{{MLS roster status}} (No code specified)