Examples/Parameter: title (example 2): Difference between revisions
< Examples
Content deleted Content added
imported>FrozenPlum m Fix this example now that there's a surrogate to use it with (created for another example) |
imported>FrozenPlum m forgot to preview |
||
Line 32: | Line 32: | ||
[[Category:Uses mode parameter]] |
[[Category:Uses mode parameter]] |
||
[[Category:Uses secseparators parameter]] |
[[Category:Uses secseparators parameter]] |
||
[[ |
[[Category:Uses a surrogate template]] |
||
</noinclude> |
</noinclude> |
Revision as of 01:16, 16 April 2022
Example
This example will take all invocations of template "Color" in article Apple and will include and apply "Template:Color.templatevalues". The output will be separated, at the top of each page, by horizontal lines.
{{#dpl: |title=Apple |include={Color}.templatevalues |mode = userformat |secseparators=\n----\n }}
Result
{{#dpl: |title=Apple |include={Color}.templatevalues |mode = userformat |secseparators=\n----\n }}