메뉴 여닫기
환경 설정 메뉴 여닫기
개인 메뉴 여닫기
로그인하지 않음
지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

For templates, this provides a plural check and a simple way to make word plurality correct for English.

Parameters

{{pl|<input>}}

  • input: The value to check. If it is equal to "1" (the number 1), this template will return the "singular" result (s). Otherwise with any other input it will return the plural result (p).
  • s (optional): The thing to return for "singular" (defaults to an empty output).
  • p (optional): The thing to return for "plural" (defaults to the value "s", the common way words are made plural in English).

Examples

Main article{{pl|1}}: article 1
Main article: article 1
Main article{{pl|2}}: article 1 and article 2
Main articles: article 1 and article 2
Dependanc{{pl|1|s=y|p=ies}}: 1
Dependancy: 1
Dependanc{{pl|3|s=y|p=ies}}: 1, 2, and 3
Dependancies: 1, 2, and 3