• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Link with country/sandbox

  • Language
  • Watch
  • View source
< Template:Link with country
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Link with country (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Link with country (sandbox)
Shortcut
  • {{lwc}}

Usage

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

Other property options
P27 - Country of citizenship
P945 - Allegiance
P17 - Country

See also

  • {{Annotated link}} - provides an annotated link using the short description for the linked page.
The above documentation is transcluded from Template:Link with country/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Link_with_country/sandbox&oldid=13108322"
Last edited on 6 July 2024, at 18:59

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 6 July 2024, at 18:59.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop