IMCDb Forum
Send an answer to a topic: IMCDb at Wikipedia
Warning, this subject is old (6235 days without answer)
Subject
Bold [b]Text[/b] Italic [i]Italic[/i] Underline [u]Underline[/u] Strike Out [strike]Strike Out[/strike]
Email [email=nobody@nobody.org]Name[/email] Link [url=http://www.website.com]Text[/url] Anchor [anchor]Name[/anchor] Image [img]http://www.website.com/image.jpg[/img]
Align Left [align=left]Text[/align] Centered [align=center]Text[/align] Align Right [align=right]Text[/align] Text Justify [align=justify]Text[/text]
Color [color=#000000]Text[/color] Highlight [highlight=pascal]Text[/highlight] Widgets Smileys :code: [:code] HTML to BBCode converter Word to BBCode converter
Preview Spell Checker

Copy Paste Cut Select All
Clear Insert Date Insert Time Insert Date and Time Insert your IP
List [list=square][item]BlaBla[/item][/list] Numbered List [list=decimal][item]BlaBla[/item][/list]
Quote [quote=name]Text[/quote] Spoiler [spoiler]James is the murderer![/spoiler]
Uppercase [uppercase]Text[/uppercase] Lowercase [lowercase]Text[/lowercase] l33t [l33t]I'm a Nerd[/l33t] Sub Script [sub]Text[/sub] Super Script [sup]Text[/sup] Size of Text [size=8]Text[/size]

Options
 
 
 
 
Ddey65
Just out of curiosity, are you suggesting we'll be able to throw these templates on any article that's appropriate for them? As for vehicles in specific television series episodes, this one was in "Even Stevens" episode #3.14, and this one was in episode #1.20.



antp
I did not know that there were so many links, last time that I checked there were at most 10 :smile:
Steinninn
I've changed the template into:
http://www.imcdb.org/vehicles_make-{{{make}}}{{#if:{{{model|}}}|_model-{{{model}}} }}.html {{{1|{{PAGENAME}}}}}

If someone is interested, here is a list of pages where the two templates might be usefull:

http://en.wikipedia.org/w/index.php?title=Special:Linksearch&target=www.imcdb.or- g&namespace=&limit=500&offset=0
Steinninn
If you stuble upon one url, it might not be easy to find the right text to put in the parameter to make the template work
antp
I use Apache URL-rewriting rather than redirecting pages in PHP, but what does it change in this case? :confused:
You can also do that:
http://imcdb.org/vehicle?id=1234/Chevrolet/Chevelle
:grin:
(but this style is not made on purpose, it is due to the fact that extensions can be omitted and that it discards all what is after page name)

I'd recommend to only use the style that is the easiest for you, and do not care about the others, as they give the same result.
Steinninn
Well, I see now, it would make things easier if they all redirect to one url, but what the hey.
antp
Both work in the same way, like for movies. You do not especially have to make something for the two kinds of URLs. You can chose one of the two.
Steinninn
Interesting, it makes things a little easier to know that it's the imdb id number.

I hope you know wiki, because things are going to get complicated. [[Template:imcdb movie]] looks like this:
http://www.imcdb.org/movie_{{{1}}}.html
So I only need the imdb id number in the first parameter, no matter what the url for Chips in black was. But things are going to get complicated now.

[[Template:imcdb]] vehicle looks like:
http://www.imcdb.org/vehicles_make-{{{1}}}.html
Some one wants to add an imcdb link to the article about [[Morris Marina]]. There are two kinds of urls that I know of that lead to the imcdb page
this is easy: http://www.imcdb.org/vehicles_make-morris_model-marina.html it's easy,
but what about this one: http://www.imcdb.org/vehicles.php?make=morris&model=marina

I'm just thinking, no matter where people are, they should all have an easy code that they can put into the first parameter.
antp
Nice :wink:
But what should be fixed? Both URL are valid. First one is for better referencing in Google, but the part after the first dash is not important:
http://www.imcdb.org/movie_1004509120-Chips--Chips-In-Black.html
http://www.imcdb.org/movie_1004509120-Anything.html
http://www.imcdb.org/movie_1004509120-You-write-what-you-want.html
So it is simply a way to include title in URL, but if it is complicated, you can use the URL that contains only the IMDB number.
Steinninn
I just thought I'd tell you about two new templates that I created at en.wikipedia.org

http://en.wikipedia.org/wiki/Template:Imcdb_vehicle
http://en.wikipedia.org/wiki/Template:Imcdb_movie

The problem is that urls keep changing.

http://www.imcdb.org/movie_1004509120-Chips--Chips-In-Black.html
http://www.imcdb.org/movie.php?id=1004509120
is the same title, can this be fixed?
Category:  






Ada
CSS
Cobol
CPP
HTML
Fortran
Java
JavaScript
Pascal
Perl
PHP
Python
SQL
VB
XML
Anon URL
DailyMotion
eBay
Flickr
FLV
Google Video
Metacafe
MP3
SeeqPod
Veoh
Yahoo Video
YouTube
6px
8px
10px
12px
14px
16px
18px
Sign In :: Sign Up :: Lost your login or your password?
KelCommunity.be :: © 2004-2024 Akretio SPRL :: Powered by Kelare