Template:Fruit-Infobox.templatevalues: Difference between revisions
Content added Content deleted
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)) |
imported>FrozenPlum mNo edit summary |
||
Line 1: | Line 1: | ||
{{{grows|}}} |
{{{grows|}}} |
||
|[[File:{{{image|}}}|30px]]<noinclude> |
|style="text-align:center;"|[[File:{{{image|}}}|30px]]<noinclude> |
||
<!-- Documentation here --> |
<!-- Documentation here --> |
Latest revision as of 05:45, 16 April 2022
|style="text-align:center;"|[[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).