Knowledge (XXG)

Template:LocationParamUsageCheck

Source 📝

46: 115:
uses of a template are on pages which do have a location in the title which matches the location parameters, then the location parameters are redundant, and the template can be rewritten to remove the parameters and instead parse the title.
97:
Most of the category-by-year header templates are designed to be used on pages where the location is part of the page title. In such cases, the year does not need to be supplied as a parameter, because it can be grabbed from the title using
30: 232: 61: 265: 228: 57: 65: 281: 261: 222: 53: 214: 205: 26: 153:
A Lua pattern which must match the whole string, with one pattern group which must match the location
102: 218: 275: 22: 40: 163:<whatever combination one or more parameters denotes the location> 94:
This template is intended as a temporary monitoring and diagnostic tool.
79:
that parameter is different from the location specified in the title,
72:
A monitoring template, to track use of by-year templates where:
15: 25:
is being discussed in accordance with Knowledge (XXG)'s
253: 245: 241: 238:Editors can experiment in this template's sandbox 76:a location supplied as one or more parameters, and 119:This template will track the exceptions, if any. 8: 208:-- used for creating the tracking categories 206:Template:LocationParamUsageCheck category 85:the title does not include a location 7: 223:Template:LocationParamUsageCheck/doc 14: 282:LocationParamUsageCheck templates 44: 1: 29:. Help reach a consensus at 298: 212: 266:Subpages of this template 136: 142:LocationParamUsageCheck 260:Add categories to the 49:Template documentation 39: 38: 289: 257: 249: 236: 190: 187: 184: 181: 178: 175: 172: 169: 166: 162: 159: 156: 152: 149: 146: 143: 140: 107: 101: 69: 50: 48: 47: 16: 297: 296: 292: 291: 290: 288: 287: 286: 272: 271: 270: 269: 259: 251: 239: 237: 226: 211: 202: 192: 191: 188: 185: 182: 179: 176: 173: 170: 167: 164: 160: 157: 154: 150: 147: 144: 141: 138: 130: 125: 105: 99: 92: 70: 51: 45: 43: 27:deletion policy 12: 11: 5: 295: 293: 285: 284: 274: 273: 250:and testcases 210: 209: 201: 198: 197: 196: 168:templatename 158:locationparam 148:pattern 137: 135: 134: 129: 126: 124: 121: 91: 88: 87: 86: 83: 77: 42: 41: 37: 36: 19: 13: 10: 9: 6: 4: 3: 2: 294: 283: 280: 279: 277: 267: 263: 255: 247: 243: 234: 230: 224: 220: 216: 215:documentation 207: 204: 203: 199: 194: 193: 132: 131: 127: 122: 120: 117: 114: 109: 104: 95: 89: 84: 82: 78: 75: 74: 73: 67: 63: 59: 55: 34: 33: 28: 24: 20: 18: 17: 118: 112: 110: 106:}} 100:{{ 96: 93: 80: 71: 31: 219:transcluded 123:Methodology 64:] [ 60:] [ 56:] [ 213:The above 103:Title year 264:subpage. 32:its entry 276:Category 200:See also 183:PAGENAME 23:template 244:| 233:history 231:| 195:Example 133:Outline 90:Purpose 62:history 258:pages. 254:create 246:mirror 242:create 221:from 177:subst 128:Usage 68:] 66:purge 52:[ 21:This 262:/doc 229:edit 58:edit 54:view 217:is 113:all 111:If 278:: 225:. 189:}} 186:}} 174:{{ 139:{{ 108:. 81:or 268:. 256:) 252:( 248:) 240:( 235:) 227:( 180:: 171:= 165:| 161:= 155:| 151:= 145:| 35:.

Index

template
deletion policy
its entry
view
edit
history
purge
Title year
Template:LocationParamUsageCheck category
documentation
transcluded
Template:LocationParamUsageCheck/doc
edit
history
create
mirror
create
/doc
Subpages of this template
Category
LocationParamUsageCheck templates

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