Difference between revisions of "Template:PageNameTemplate"

From PKC
Jump to navigation Jump to search
Line 15: Line 15:
{{#ifeq:  
{{#ifeq:  
   {{#len:{{{url|}}} }} | 0  
   {{#len:{{{url|}}} }} | 0  
| [[wikipedia:{{PAGENAME}}]]
| [[wikipedia:{{PAGENAME}}|{{PAGENAME}}]]
| [[{{{url}}}]] }}  
| [[{{{url}}}|{{PAGENAME}}]] }}  





Revision as of 01:37, 8 July 2022

This template can be used as follows:

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


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

PageNameTemplate


wikipedia:PageNameTemplate