imfdb.org  

Go Back   imfdb.org > The Forum > imfdb

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2012, 04:56 PM
zackmann08 zackmann08 is offline
IMFDB Chief of Operations
 
Join Date: Dec 2011
Location: CA
Posts: 275
Default Unit Conversion Templates

In my process of editing both on IMFDB and Wikipedia, I discovered that wikipedia has a nifty little template that does unit conversions for you. For example, if you type: {{convert|23|oz|abbr=on}} it outputs "22 oz (620 g)". Is this something that we could possibly add? Ive been updating a lot of the S&W pages with specifications and its a pain in the ass to constantly be using a unit converted to get both metric and 'standard' units. Not sure what is involved in making the template but thought I would mention it.

-Zack
Reply With Quote
  #2  
Old 01-04-2012, 08:01 PM
Evil Tim's Avatar
Evil Tim Evil Tim is offline
IMFDB & Forum Admin
 
Join Date: Apr 2011
Location: The surface of the sun
Posts: 733
Default

Wikipedia templates are usually hard to copy because they feature a lot of nested code and some of it doesn't work on mediawiki; you often find you'd have to copy ten or fifteen sub-functions to get something simple like an infobox.
Reply With Quote
  #3  
Old 01-04-2012, 09:42 PM
zackmann08 zackmann08 is offline
IMFDB Chief of Operations
 
Join Date: Dec 2011
Location: CA
Posts: 275
Default

Ah, gotcha. Well I thought it might be worth a try.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:10 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.