Template:Template parameter value/doc: Difference between revisions

Content deleted Content added
Template data: autovalue doesnt do quite what I wanted it to
but default does
Line 72:
"label": "Ignore subtemplates",
"description": "Giving this a value will make the template ignores subtemplates and their parameters when looking for a value in a template. Can be used for more precise grabbing of parameters as opposed to using a parameter index",
"type": "boolean",
"default": "no"
},
"ignore_blank": {
"label": "Ignore blank values",
"description": "Ignores keys with blank values when deciding which index of a parameter to use. This option does nothing when using ignore_subtemplates",
"type": "boolean",
"default": "no"
},
"only_subtemplates": {
"label": "Only subtemplates",
"description": "The inverse to ignore_subtemplates. Only keys that are in subtemplates of the template requested will be considered. ignore_subtemplates will take precedence over this option if both are enabled",
"type": "boolean",
"default": "no"
}
},