Difference between revisions of "Template:PageNameTemplate"

From PKC
Jump to navigation Jump to search
(Created page with "<noinclude> This template can be used as follows: <nowiki>{{PageNameTemplate |key=a tring that uniquely identifies a Wikipedia Entry |qCode=Q[0-9]* }}</nowiki> </noinclude...")
 
 
(58 intermediate revisions by 2 users not shown)
Line 2: Line 2:
This template can be used as follows:
This template can be used as follows:
  <nowiki>{{PageNameTemplate
  <nowiki>{{PageNameTemplate
|key=a tring that uniquely identifies a Wikipedia Entry
  |qCode=Q[0-9]*
  |qCode=Q[0-9]*
|url={{{url}}}
  }}</nowiki>
  }}</nowiki>
</noinclude>
</noinclude>
[[wikipedia:{{{key}}}|{{{key}}}]]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
 
 
{{#ifeq:
  {{#len:{{{url|}}} }} | 0
| [[wikipedia:{{PAGENAME}}|{{PAGENAME}}]]
| [{{{url}}} {{PAGENAME}}] }}
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])

Latest revision as of 12:17, 9 July 2022

This template can be used as follows:

{{PageNameTemplate
 |qCode=Q[0-9]*
 |url={{{url}}}
 }}


PageNameTemplate ([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])