Knowledge (XXG)

Template:IF

Source 📝

24: 55: 191: 124:
Transclusion shows exactly what is seen on the template page, meaning the dead code used for subst won't become active; this means you'll have broken code, and therefore you wasted your time; you MUST put a
245: 233: 39: 215: 269: 229: 35: 204: 199: 16:{{subst:((}}#if:{{subst:(((}}{{{1}}}{{subst:!}}{{subst:)))}}{{subst:!}}{{subst:(((}}{{{1}}}{{subst:)))}}{{subst:))}} 43: 240: 219: 62: 265: 223: 31: 179: 190: 18: 133:
tags within the original code, this is what makes this template possible.
167:
Thanks to my latest coding patch, this parameter is no longer required
182:- Not to be confused with if, which serves a different purpose. 185: 49: 257: 249: 207:
to it so that it can be listed with similar templates.
147:this is what generates the new unnamed parameter. 140:The first parameter must be a number (1-infinity) 129:so it can re-integrate the code and activate the 8: 239:Editors can experiment in this template's 155:The second parameter must be a lowercase 7: 14: 189: 53: 22: 61:This template should always be 1: 198:has not been added to any 287: 213: 85:Usage of this template is 270:Subpages of this template 103:{{#if:{{{1|}}}|{{{1}}}}} 117:be put at the beginning 264:Add categories to the 27:Template documentation 203:. Please help out by 99:This will produce: 211: 210: 205:adding categories 87:moderately simple 78: 77: 278: 261: 253: 237: 193: 186: 104: 95: 73: 57: 56: 50: 47: 28: 26: 25: 286: 285: 281: 280: 279: 277: 276: 275: 274: 273: 263: 255: 243: 238: 227: 224:Template:IF/doc 212: 176: 110: 102: 93: 83: 67: 54: 48: 29: 23: 21: 12: 11: 5: 284: 282: 254:and testcases 209: 208: 196:This template 194: 184: 183: 175: 172: 171: 170: 169: 168: 162: 161: 151: 150: 149: 148: 142: 141: 137: 136: 135: 134: 119: 118: 109: 106: 94:{{subst:IF|1}} 92:To use, place 82: 79: 76: 75: 58: 20: 19: 13: 10: 9: 6: 4: 3: 2: 283: 271: 267: 259: 251: 247: 242: 235: 231: 225: 221: 217: 216:documentation 206: 202: 201: 195: 192: 188: 187: 181: 178: 177: 173: 166: 165: 164: 163: 159: 158: 153: 152: 146: 145: 144: 143: 139: 138: 132: 128: 123: 122: 121: 120: 116: 112: 111: 107: 105: 100: 97: 90: 88: 80: 71: 65: 64: 59: 52: 51: 45: 41: 37: 33: 17: 197: 156: 154: 130: 126: 114: 101: 98: 91: 86: 84: 72:}} 69: 68:{{ 60: 15: 220:transcluded 180:Template:If 113:A "subst:" 66:(i.e., use 63:substituted 42:] [ 38:] [ 34:] [ 214:The above 200:categories 268:subpage. 174:See also 70:subst:IF 248:| 241:sandbox 234:history 232:| 40:history 262:pages. 258:create 222:from 131:subst 127:subst 81:Usage 46:] 44:purge 30:[ 266:/doc 250:diff 246:edit 230:edit 115:must 36:edit 32:view 218:is 108:Why 226:. 96:. 89:. 74:). 272:. 260:) 256:( 252:) 244:( 236:) 228:( 160:. 157:t

Index

view
edit
history
purge
substituted
subst:IF
Template:If

categories
adding categories
documentation
transcluded
Template:IF/doc
edit
history
sandbox
edit
diff
create
/doc
Subpages of this template

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