Template:Fruit-Infobox.templatevalues

From DynamicPageList3 Manual
Revision as of 05:44, 16 April 2022 by imported>FrozenPlum (Swap this to an image in the cell, so it's more clear why we'd want to use a surrogate (formatting))

|[[File:|30px]]

View this page's source to see each of the table cells it creates in the dpl statement it is used in. This template is a surrogate template (also called a 'phantom template') that formats one result/line of DPL output. DPL then reuses and applies this surrogate template's formatting to each result/line in the output list.

Surrogate/phantom templates are used by setting the template name in includepage = {templatename}.suffix (usually the suffix is descriptive of template purpose).