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
This may need to get merged elsewhere, or greatly expanded to be a better example, maybe with some other output formatting (for now, fix the example so it works)
(Created page with "{{DPL Manual|section=Examples|subsection=Related to Article}} The include parameter can be used to display the output value of a specific argument passed into a template used...")
 
imported>FrozenPlum
m (This may need to get merged elsewhere, or greatly expanded to be a better example, maybe with some other output formatting (for now, fix the example so it works))
 
(14 intermediate revisions by 7 users not shown)
Line 1:
{{DPL Manualmanual|section=Examples|subsection=RelatedShow totemplates Articleparameters 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> this example will show the subsection given to Template:DPL Manual used in the DPL:Parameters:_Criteria_for_Page_Selection article.
 
This example will show the subsection given to {{Tl|DPL manual}} used in the [[Criteria for page selection]] article:
This example:
 
<pre><nowiki>{{#dpl:
{{#dpl:
title=DPL:Parameters:_Criteria_for_Page_Selection
|title=Criteria for page selection
|include={DPL Manualmanual}:subsectionsection
}}</nowiki></pre>
}}
</pre>
 
'''Result:'''<br>
Would produce this output:
 
<code>{{#dpl:
|title=Criteria for page selection
title=DPL:Parameters:_Criteria_for_Page_Selection
|include={DPL Manualmanual}:subsectionsection
}}</code>
 
[[Category:Miscellaneous examples]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.