Knowledge (XXG)

Template:Checks for unknown parameters

Source 📝

33: 177:
There are no options to specify that a preview warning is not set or a tracking category is not added since this could easily be temporary or wrong. The message is both intended for users and maintainers of the template.
226: 167: 48: 259: 222: 44: 52: 280: 255: 216: 40: 188: 159: 85: 60: 17: 208: 148:{{#invoke:Check for unknown parameters|check|unknown={{main other|]}}|preview=Page using ] with unknown parameter "_VALUE_"|...}} 92:
in the template's own code. A call with an unlisted parameter may cause a warning in previews and may add a tracking category.
24:
in the template's own code. A call with an unlisted parameter may cause a warning in previews and may add a tracking category.
275: 174:
The number in parentheses is the number of pages in the category (sometimes inaccurate due to MediaWiki limitations).
143: 66:
It is recommended to place it somewhere after the documentation of known parameters, possibly under a heading
153:{{Checks for unknown parameters|preview=yes|category=Pages using infobox dog breed with unknown parameters}} 166:
in the template's own code. A call with an unlisted parameter causes a warning in previews and adds
212: 269: 195: 27: 59:
This template is for use in the documentation of templates which use
168:
Category:Pages using infobox dog breed with unknown parameters
247: 239: 235: 129:{{#invoke:Check for unknown parameters|unknown=...}} 112:{{#invoke:check for unknown parameters|preview=...}} 232:Editors can experiment in this template's sandbox 8: 164:{{#invoke:Check for unknown parameters|...}} 90:{{#invoke:Check for unknown parameters|...}} 22:{{#invoke:Check for unknown parameters|...}} 162:. All allowed parameters must be listed at 88:. All allowed parameters must be listed at 20:. All allowed parameters must be listed at 217:Template:Checks for unknown parameters/doc 281:Documentation shared content templates 7: 189:#invoke:check for unknown parameters 160:Module:Check for unknown parameters 86:Module:Check for unknown parameters 61:Module:Check for unknown parameters 18:Module:Check for unknown parameters 96:There are two optional parameters 14: 79:{{Checks for unknown parameters}} 31: 1: 297: 206: 144:Template:Infobox dog breed 114:in the template code sets 260:Subpages of this template 68:== Unknown parameters == 254:Add categories to the 131:has a category called 36:Template documentation 158:This template uses 84:This template uses 16:This template uses 276:Unknown parameters 191:|check}} 127:should be set if 110:should be set if 288: 251: 243: 230: 165: 154: 149: 138: 130: 126: 117: 113: 109: 103: 99: 91: 80: 69: 56: 37: 35: 34: 23: 296: 295: 291: 290: 289: 287: 286: 285: 266: 265: 264: 263: 253: 245: 233: 231: 220: 205: 184: 171: 163: 152: 147: 136: 128: 121: 115: 111: 107: 101: 97: 93: 89: 78: 76: 67: 57: 38: 32: 30: 25: 21: 12: 11: 5: 294: 292: 284: 283: 278: 268: 267: 244:and testcases 204: 203: 196:#invoke:params 192: 183: 180: 75: 72: 29: 28: 13: 10: 9: 6: 4: 3: 2: 293: 282: 279: 277: 274: 273: 271: 261: 257: 249: 241: 237: 228: 224: 218: 214: 210: 209:documentation 201: 197: 193: 190: 186: 185: 181: 179: 175: 172: 169: 161: 156: 150: 145: 142:For example, 140: 134: 125: 119: 118:to anything. 105: 94: 87: 82: 73: 71: 64: 62: 54: 50: 46: 42: 26: 19: 202:}} 199: 194:{{ 187:{{ 176: 173: 157: 151: 141: 133:categoryname 132: 124:categoryname 123: 120: 108:|preview=yes 106: 95: 83: 77: 65: 58: 15: 213:transcluded 51:] [ 47:] [ 43:] [ 270:Categories 207:The above 170: (0). 155:produces: 122:|category= 81:produces: 258:subpage. 200:function 182:See also 102:category 238:| 227:history 225:| 137:unknown 116:preview 98:preview 49:history 252:pages. 248:create 240:mirror 236:create 146:says: 215:from 74:Usage 55:] 53:purge 39:[ 256:/doc 223:edit 100:and 45:edit 41:view 211:is 135:in 272:: 219:. 139:. 104:. 70:. 63:. 262:. 250:) 246:( 242:) 234:( 229:) 221:( 198:|

Index

Module:Check for unknown parameters
view
edit
history
purge
Module:Check for unknown parameters
Module:Check for unknown parameters
Template:Infobox dog breed
Module:Check for unknown parameters
Category:Pages using infobox dog breed with unknown parameters
#invoke:check for unknown parameters
#invoke:params
documentation
transcluded
Template:Checks for unknown parameters/doc
edit
history
create
mirror
create
/doc
Subpages of this template
Categories
Unknown parameters
Documentation shared content templates

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.