A veces, los artículos contienen artículos (galerías) y categorías de Commons. Esta plantilla se puede utilizar para generar un cuadro de mensaje alineado a la derecha (predeterminado) con un enlace a una galería y una categoría de Commons. Está pensada para usarse en la sección " Enlaces externos " de un artículo.
{{Commons and category|CommonsGalleryName|CommonsCategoryName}}
Tenga en cuenta que la galería Commons (primer parámetro) o la categoría Commons (segundo parámetro) son ambas opcionales: si alguna se deja en blanco, la plantilla las buscará en Wikidata.
Hay dos parámetros opcionales:
|position=
-- puede especificar si el cuadro se desplaza hacia la izquierda del artículo|linktext=
-- puede anular el texto en el enlace principalGeneralmente:
Específicamente:
{{Commons and category|Automobile|Automobiles}}
{{Commons and category}}
Cuando se coloca en Car (galería y categoría ambas en wikidata):{{Commons and category}}
cuando se coloca en Beinn an Dòthaidh (única categoría en wikidata):{{Commons and category}}
Cuando se coloca en Samuel Baker House (única galería en wikidata):{{Commons and category}}
Cuando se coloca en Chicago Lawn, Chicago (ni galería ni categoría en wikidata):