Plantilla:Abreviatura política devuelve un nombre corto abreviado para el partido político proporcionado.
{{Party abbrev|<party name>}}
A continuación se muestran algunos ejemplos que utilizan el Partido Laborista (tenga en cuenta que hay varios nombres de entrada potenciales):
["Partido Laborista y Cooperativo"] = "Partido Laborista (Reino Unido)",["Cooperativa Laborista"] = "Partido Laborista (Reino Unido)", ...["Partido Laborista (Tailandia)"] = {abbrev = "", color = "#FF0000", shortname = "",},["Partido Laborista (Reino Unido)"] = {abbrev = "Lab", color = "#E4003B", shortname = "Labour",},
{{Party abbrev|Labour Party (UK)}}
→ Laboratorio{{Party abbrev|Labour and Co-operative}}
→ Cooperativa de trabajo{{Party abbrev|Labour Co-operative}}
→ Cooperativa de trabajoSi la parte no está presente en el módulo, o la abreviatura no está en el módulo, se devolverá el nombre de la parte ingresada.
{{Party abbrev|Not-a-party}}
→ No es una fiesta{{Party abbrev|A test no values}}
→ Una prueba sin valoresPara comprobar si el grupo está presente en el módulo, utilice |error=value
.
{{Party abbrev|A test no values|error=ERROR}}
→ Una prueba sin valores ( nótese que en este caso la entrada está en el módulo ){{Party abbrev|Not-a-party|error=ERROR}}
→ ERROR