Esta es una plantilla auxiliar sencilla que se puede utilizar en otras plantillas. Muestra un enlace a una categoría si dicha categoría existe; de lo contrario, solo muestra texto sin formato en gris.
Se puede agregar un texto de visualización opcional como segundo parámetro.
{{LinkCatIfExists|CategoryName|OptionalDisplayText}}
{{LinkCatIfExists|CategoryName}}
{{LinkCatIfExists|A non-existent category}}
→ Una categoría inexistente{{LinkCatIfExists|United States}}
→ Estados Unidos{{LinkCatIfExists|CategoryName|DisplayText}}
{{LinkCatIfExists|A non-existent category|Foo}}
→ Foo{{LinkCatIfExists|United States|USA}}
→ Estados Unidos