Template:Link with country/sandbox
Appearance
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
[edit]Template {{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.