Template:Weight npn/doc: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(Documentation for a trial of a cleaned-up weight template) |
mNo edit summary |
||
| Line 11: | Line 11: | ||
* p: weight in pounds | * p: weight in pounds | ||
* k: weight in kilograms | * k: weight in kilograms | ||
* | * r: decimal places to round numbers to | ||
=== Usage === | === Usage === | ||
| Line 17: | Line 17: | ||
*{{weight_npn|k=70}} → {{weight_npn|k=70}} | *{{weight_npn|k=70}} → {{weight_npn|k=70}} | ||
*{{weight_npn|p=154}} → {{weight_npn|p=154}} | *{{weight_npn|p=154}} → {{weight_npn|p=154}} | ||
*{{weight_npn|k=73.34| | *{{weight_npn|k=73.34|r=2}} → {{weight_npn|k=73.34|r=2}} | ||
*{{weight_npn|p=154|k=55}} → {{weight_npn|p=154|k=55}} | *{{weight_npn|p=154|k=55}} → {{weight_npn|p=154|k=55}} | ||
...if you don't want to actually convert your measurements :) | ...if you don't want to actually convert your measurements :) | ||
Latest revision as of 05:07, 24 June 2008
DO NOT USE
This template is still in progress, please don't expect it to be useful yet.
Normalized Parameter Names for weight template
This is for use as a normalized form of the weight styling template, thus allowing some of the fragility of the older weight template to be separated out.
Parameters
- p: weight in pounds
- k: weight in kilograms
- r: decimal places to round numbers to
Usage
Examples of how to use this template:
- {{weight_npn|k=70}} → 70 kg (154 lb)
- {{weight_npn|p=154}} → 154 lb (70 kg)
- {{weight_npn|k=73.34|r=2}} → 73.34 kg (161.35 lb)
- {{weight_npn|p=154|k=55}} → 154 lb (55 kg)
...if you don't want to actually convert your measurements :)