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  
| equal
| wikipedia:{{PAGENAME}} 
| not equal}}  
| {{{url}}} }}  





Revision as of 01:35, 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}}}]])

wikipedia:PageNameTemplate


wikipedia:PageNameTemplate