Template:Template parameter value/doc: Difference between revisions

Content deleted Content added
inline to match previous look
document the new options from Special:Diff/1152964589 that I forgot to document
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",
"autovalue": "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",
"autovalue": "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",
"autovalue": "no"
}
},
Line 83 ⟶ 96:
"4",
"5",
"ignore_subtemplates",
"ignore_blank",
"only_subtemplates"
]
}</templatedata>