Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

Show templates parameters from an article (example): Difference between revisions

m
no edit summary
m (→‎top: clean up, replaced: [[zh:Extension::{{subst:BASEPAGENAME}}]] → [[zh:扩展:{{subst:BASEPAGENAME}}]])
mNo edit summary
Line 1:
{{DPL manual|section=Examples|subsection=Show templates parameters from an article}}
 
The include parameter can be used to display the output value of a specific argumentparameter passed into a template used in an article, using the <code>{Template}:parameter</code> format.
 
Using the format of <code>{Template}:argument</code> thisThis example will show the subsection given to Template:{{Tl|DPL manual}} used in the [[Extension:DPL3/Parameters: Criteria for page selection]] article.:
 
<pre><nowiki>{{#dpl:
This example:
 
<pre><nowiki>{{#dpl:
title=Extension:DPL3/Parameters: Criteria for page selection
|include={DPL manual}:subsection
}}</nowiki></pre>
 
Would produceProduces this output:
 
<code>{{#dpl:
title=Extension:DPL3/Parameters: Criteria for page selection
|include={DPL manual}:subsection
}}</code>
 
<!-- Extension prefix in other languages:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.