21:
382:
367:
355:
36:
394:
351:
32:
100:
104:
337:
40:
141:
is set to "on", the input units are abbreviated, which can be useful within infoboxes; the output units are already abbreviated
410:
377:
47:
This template is designed to provide easier-to-read unit conversions for endurance figures, which are often given as
362:
415:
239:
390:
345:
28:
189:
The template currently supports the following units (in any combination or conversion direction):
341:
329:
163:
96:
56:
404:
15:
130:
There are optional parameters that control the appearance of the output:
274:→ 450 nautical miles @ 5 knots, submerged (830 km @ 9.3 km/h)
69:{{endurance|distance|from_unit1|to_unit1|speed|from_unit2|to_unit2|}}
304:→ 100 kilometers @ 35 kilometers per hour (54 nmi @ 19 kn)
259:→ 100 kilometres @ 35 kilometres per hour (54 nmi @ 19 kn)
319:→ 2,100 nautical miles at 16 knots (3,900 km at 30 km/h)
253:→ 450 nautical miles @ 5 knots (830 km @ 9.3 km/h)
192:
151:
is set to "us", the
American spelling of metric units, i.e.
162:(Both of these parameters behave the same as they do in
371:
289:→ 450 nmi @ 5 kn (830 km @ 9.3 km/h)
238:Please add requests for additional units to the
272:{{endurance|450|nmi|km|5|knots|km/h|submerged}}
317:{{endurance|2100|nmi|km|16|knots|km/h|sep=at}}
287:{{endurance|450|nmi|km|5|knots|km/h|abbr=on}}
8:
302:{{endurance|100|km|nmi|35|km/h|knots|sp=us}}
361:Editors can experiment in this template's
95:s are unit abbreviations that are used by
257:{{endurance|100|km|nmi|35|km/h|knots}}
251:{{endurance|450|nmi|km|5|knots|km/h}}
101:Template:Convert/list of units/length
7:
105:Template:Convert/list of units/speed
85:are unformatted numbers (no commas)
14:
19:
1:
121:) to appear in the conversion
107:for units and abbreviations.)
294:US spelling of metric units
172:: a value in the parameter
432:
335:
59:for the unit conversions.
395:Subpages of this template
226:km/h: kilometres per hour
389:Add categories to the
346:Template:Endurance/doc
176:overrides the default
24:Template documentation
411:Conversion templates
113:is a notation (like
204:nmi: nautical miles
126:Optional parameters
309:Optional separator
279:Abbreviated output
235:
234:
423:
386:
375:
359:
330:Template:Convert
318:
303:
288:
273:
258:
252:
193:
179:
175:
171:
164:Template:Convert
150:
146:
140:
136:
112:
97:Template:Convert
94:
90:
84:
80:
70:
57:Template:Convert
44:
25:
23:
22:
431:
430:
426:
425:
424:
422:
421:
420:
401:
400:
399:
398:
388:
380:
365:
360:
349:
334:
326:
316:
301:
286:
271:
256:
250:
247:
236:
187:
185:Units supported
177:
173:
169:
148:
144:
138:
134:
128:
110:
92:
88:
82:
78:
68:
65:
45:
26:
20:
18:
12:
11:
5:
429:
427:
419:
418:
416:Ship templates
413:
403:
402:
333:
332:
325:
322:
321:
320:
313:
312:
310:
306:
305:
298:
297:
295:
291:
290:
283:
282:
280:
276:
275:
268:
267:
265:
261:
260:
254:
246:
243:
233:
232:
228:
227:
224:
213:
212:
211:
210:km: kilometres
208:
205:
191:
186:
183:
182:
181:
160:
159:
142:
127:
124:
123:
122:
108:
86:
72:
71:
64:
61:
17:
16:
13:
10:
9:
6:
4:
3:
2:
428:
417:
414:
412:
409:
408:
406:
396:
392:
384:
379:
373:
369:
364:
357:
353:
347:
343:
339:
338:documentation
331:
328:
327:
323:
315:
314:
311:
308:
307:
300:
299:
296:
293:
292:
285:
284:
281:
278:
277:
270:
269:
266:
264:Optional note
263:
262:
255:
249:
248:
244:
242:
241:
231:
225:
222:
221:
220:
218:
214:
209:
206:
203:
202:
201:
199:
195:
194:
190:
184:
168:
167:
166:
165:
158:
154:
143:
133:
132:
131:
125:
120:
116:
111:optional note
109:
106:
102:
98:
87:
77:
76:
75:
67:
66:
62:
60:
58:
54:
50:
42:
38:
34:
30:
237:
229:
223:knots: knots
216:
215:
197:
196:
188:
161:
156:
152:
129:
118:
114:
73:
52:
48:
46:
342:transcluded
55:, by using
39:] [
35:] [
31:] [
405:Categories
336:The above
393:subpage.
378:testcases
240:talk page
207:m: metres
115:submerged
89:from_unit
324:See also
245:Examples
198:Distance
119:surfaced
79:distance
49:distance
370:|
363:sandbox
356:history
354:|
147:: when
137:: when
99:. (See
93:to_unit
74:where:
37:history
387:pages.
230:
180:symbol
91:s and
344:from
217:Speed
157:metre
153:meter
83:speed
63:Usage
53:speed
43:]
41:purge
27:[
391:/doc
383:edit
376:and
372:diff
368:edit
352:edit
155:vs.
139:abbr
135:abbr
103:and
81:and
33:edit
29:view
340:is
174:sep
170:sep
117:or
407::
348:.
219::
200::
149:sp
145:sp
51:@
397:.
385:)
381:(
374:)
366:(
358:)
350:(
178:@
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.