Template:InterWiki: Difference between revisions

query Wikidata if no {{{code}}} is specified
(actually, let's keep {{PAGENAME}} in as a secondary default in case something goes wrong with #language)
(query Wikidata if no {{{code}}} is specified)
{{sister
|project=wikipedia
|text='''''[[:{{{code|{{#property:P424}}}}}:| {{{1|{{#if:{{{code|{{#property:P424}}}}}
|{{#ifeq:{{#language:{{{code|{{#property:P424}}}}}|en}}|{{{code|{{#property:P424}}}}}<!-- if an invalid or unsupported code is specified, #language just returns the same thing that was input -->
|{{Title without disambig|{{PAGENAME}}}}
|{{#language:{{{code|{{#property:P424}}}}}|en}}
}}
}} }}} edition]]''''' of [[Wikipedia]], the free encyclopedia