Template:Fruit-Infobox.templatevalues: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (Update, next I'll see if more than one surrogate can be specified) |
imported>FrozenPlum m (Swap this to an image in the cell, so it's more clear why we'd want to use a surrogate (formatting)) |
||
Line 1: | Line 1: | ||
{{{grows|}}} |
{{{grows|}}} |
||
|{{{image|}}}<noinclude> |
|[[File:{{{image|}}}|30px]]<noinclude> |
||
<!-- Documentation here --> |
<!-- Documentation here --> |
Revision as of 05:44, 16 April 2022
|[[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).