Knowledge (XXG)

User:J Clear/test IB2

Source 📝

108: 198: 133: 63: 46:
In this initial concept, the editor has to select the template name based on the number of "careers" the ship has had. It could be implemented where the editor always picks the same template and adds sets of paramters. But either way, without an "iterator" and arrays, the number of careers will be
176:{{User:J Clear/Infobox Ship 2 |Ship commissioned1 = ] |Ship decommissioned1 = ] |Ship armament1 = '''Light''' |Ship image2 = ] |Ship commissioned2 = ] |Ship decommissioned2 = ] |Ship armament2 = '''Heavy''' }} 107: 26:
A proof of concept test with limited parameters implemented. Only commissioning, decommissioning and armament work at this point.
241:{{User:J Clear/Infobox Ship 1 |Ship commissioned = ] |Ship decommissioned = ] |Ship armament = '''Medium''' }} 184:
Note that Infobox Ship 1 would replace Infobox Ship, or be a redirect if that works in the template space.
197: 132: 62: 35: 218: 208: 153: 143: 83: 73: 17: 114: 189: 54: 31:
Note this is subject to the limitations of the current
47:statically limited, although easy to extend. 8: 224: 159: 89: 7: 41:, so many things aren't hidden yet. 24: 196: 131: 106: 61: 1: 195: 192: 130: 127: 60: 57: 180:Backward compatibility test 255: 228: 213: 203: 163: 148: 138: 121:at an undisclosed location 93: 78: 68: 104: 225:General Characteristics 160:General Characteristics 90:General Characteristics 123: 51:Two career example 239: 238: 174: 173: 122: 105: 246: 200: 190: 135: 112: 110: 65: 55: 40: 34: 254: 253: 249: 248: 247: 245: 244: 243: 242: 215:Decommissioned: 187: 182: 177: 150:Decommissioned: 119: (APA-125) 111: 80:Decommissioned: 53: 38: 32: 22: 21: 20: 12: 11: 5: 252: 250: 240: 237: 236: 231: 227: 226: 222: 221: 216: 212: 211: 206: 202: 201: 194: 181: 178: 175: 172: 171: 166: 162: 161: 157: 156: 151: 147: 146: 141: 137: 136: 129: 125: 124: 113:Second career 102: 101: 96: 92: 91: 87: 86: 81: 77: 76: 71: 67: 66: 59: 52: 49: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 251: 235: 232: 229: 223: 220: 217: 214: 210: 207: 205:Commissioned: 204: 199: 191: 188: 185: 179: 170: 167: 164: 158: 155: 152: 149: 145: 142: 140:Commissioned: 139: 134: 126: 120: 118: 109: 103: 100: 97: 94: 88: 85: 82: 79: 75: 72: 70:Commissioned: 69: 64: 56: 50: 48: 44: 43: 42: 37: 27: 19: 233: 186: 183: 168: 116: 98: 45: 39:}} 36:Infobox Ship 33:{{ 30: 29: 28: 25: 18:User:J Clear 219:2006-06-30 209:2006-01-01 154:2006-12-30 144:2006-07-01 84:2006-06-30 74:2006-01-01 230:Armament: 165:Armament: 115:USS  95:Armament: 193:Career 128:Career 58:Career 234:Medium 117:Lanier 169:Heavy 99:Light 16:<

Index

User:J Clear
Infobox Ship
InsertAltTextHere
2006-01-01
2006-06-30
The Mighty Lanier
USS Lanier (APA-125)
InsertAltTextHere
2006-07-01
2006-12-30
InsertAltTextHere
2006-01-01
2006-06-30

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