HTML Templates
FILES:
The default templates are located in a folder called Defaults in the Templates folder in the EMDB application folder (Usually C:\Program Files (x86)). There is a template for the main list of movies called index.htm and a template for the individual movies pages called movie.htm.
You can create your own template by creating a new subfolder in the Templates folder and adding the two needed templates index.htm and movie.htm
HOW DOES IT WORK:
When the HTML pages are generated EMDB loads the template files and replaces all tags with database information. the movie.htm is re-used for every single movie page.
THE TAGS:
Tags use the format '#TAGNAME#'. There are three types of tags:

General tags. These are replaced by data from the database.

Translation tags. These are replaced by English texts or translated if EMDB is set to another language.

Helper tags. These are used to identify sections in the HTML. They will be removed during the process of generating the actual HTML files.
AVAILABLE TAGS:

General tags:

#EMDB_SHORT#
#EMDB_LONG#
#EMDB_FULL#
#DATE#
#TOTAL#
#LATEST_ADDITIONS#
#COVER#
#TITLE#
#YEAR#
#COUNTRY#
#DURATION#
#DIRECTOR#
#CAST#
#GENRES#
#PLOTOUTLINE#
#RATING#
#LOANED#
#MEDIUM#
#SOURCE#
#ALTERNATIVE_TITLE#
#LANGUAGES#
#EXTRAS#
#AUDIO_STREAMS#
#LOCATION#
#VERSION#
#EMDB_VERSION#
#SEEN#
#LOANED#
#INDEX#
#CERTIFICATION#
#IMDB_LINK#
#TRAILER_LINK#
#SUBTITLES#
#PAGE_TITLE#
#COMMENTS#
#SPOKEN_LANGUAGES#
#LINK_CURRENT_LETTER#
#CURRENT_LETTER#
#LINK_CURRENT_MOVIE#
#CURRENT_MOVIE#
#IMDB_RATING#
#USER_RATING#
#NUMBER#
#IMDB_NUMBER#
#OWN#
#RESOLUTION#
Translation tags:
#ALL_MOVIES_TRANSLATION#
#LATEST_ADDITIONS_TRANSLATION#
#OTHER_TRANSLATION#
#COPYRIGHT_TRANSLATION#
#LAST_UPDATED_TRANSLATION#
#NUMBER_OF_MOVIES_TRANSLATION#
#SPOKEN_LANGUAGES_TRANSLATION#
#IMDB_RATING_TRANSLATION#
#USER_RATING_TRANSLATION#
#NUMBER_TRANSLATION#
#OWN_TRANSLATION#")
#RESOLUTION_TRANSLATION#
#SOURCE_TRANSLATION#
#AUDIO_STREAMS_TRANSLATION#
#DURATION_TRANSLATION#
#AKA_TRANSLATION#
#COUNTRY_TRANSLATION#
#GENRES_TRANSLATION#
#DIRECTOR_TRANSLATION#
#CAST_TRANSLATION#
#MEDIUM_TRANSLATION#
#SUBTITLES_TRANSLATION#
#PLOT_OUTLINE_TRANSLATION#
#COMMENTS_TRANSLATION#
#LOCATION_TRANSLATION#
#LOANED_TRANSLATION#
#OWN_TRANSLATION#
#RESOLUTION_TRANSLATION#
#ROOT_TRANSLATION#
Helper tags:
#MOVIES_A# - #MOVIES_Z#
#MOVIES_A_BEGIN# - #MOVIES_Z_BEGIN#
#MOVIES_Z_END# - #MOVIES_Z_END#
#SUBTITLES_BEGIN#"
#SUBTITLES_END#"
#LOCATION_BEGIN#"
#LOCATION_END#"
#AKA_BEGIN#"
#AKA_END#"
#COMMENTS_BEGIN#
#COMMENTS_END#
#IMDB_RATING_BEGIN#
#IMDB_RATING_END#
#USER_RATING_BEGIN#
#USER_RATING_END#
#LATEST_ADDITIONS_LINK_START#
#LATEST_ADDITIONS_LINK_END#
#LATEST_ADDITIONS_TEMPLATE_START#
#LATEST_ADDITIONS_TEMPLATE_END#
#LATEST_ADDITIONS_START#
#LATEST_ADDITIONS_END#
#ALL_MOVIES_LINK_START#
#ALL_MOVIES_LINK_END#
#ALL_MOVIES_START#
#ALL_MOVIES_END#
#MOVIES_ALL#
#IMDB_BUTTON#
#WIDTH#
#HEIGHT#
If you really like EMDB, support me via PayPal...
To order a customized version of EMDB with your own name instead of mine use the button below: