This is the template sandbox page for Template:Link with country (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
editTemplate {{Link with country}} creates a link to the target article, appended with the "Country of origin" (wikidata property P495) of the target article if the property exists.
{{link with country|article|property=}}
{{lwc|article|property=}}
"property" defaults to P495 - Country of origin
See also
edit{{Annotated link}}
- provides an annotated link using the short description for the linked page.