©2003-2006 LDraw.org

Reference [1]: LDrawMOTM Module Meta-statements [2]

Posted by : OrionP on Mar 18, 2006 - 09:55 PM
Administrative [3]
A list of meta-statements for the LDrawMOTM modules. For use when editing the html pages of the Module.
For use in the individual entry pages and the index page entry html snippit:
_ENTRY_NAME_
_ENTRY_AUTHOR_
_ENTRY_REMARKS_
_ENTRY_MONTH_
_ENTRY_PAGE_URL_
_ENTRY_CATEGORY_LONGNAME_

URL for an image/file. Just the URL with no anchor tags
xx = Number for the image/file as listed in the entry submission/edit form
_ENTRY_IMAGE_xx_SMALL_URL_
_ENTRY_IMAGE_xx_MEDIUM_URL_
_ENTRY_IMAGE_xx_LARGE_URL_
_ENTRY_FILE_xx_URL_

_ENTRY_FILE_URL_LIST_ - A list of all the file associated with the entry includes anchor tag and line breaks

For use in the MOTM main page and the current winners block:

For the purposes of the meta command parser, CURRENT mean the entry from the given category with the most recent win month to the current month

xx = The Category short name in all caps (e.g. MOTM, SOTM, etc..)
_CURRENT_xx_NAME_
_CURRENT_xx_AUTHOR_
_CURRENT_xx_REMARKS_
_CURRENT_xx_MONTH_
_CURRENT_xx_PAGE_URL_
_xx_CATEGORY_LONGNAME

yy = Number for the image/file as listed in the entry submission/edit form
_CURRENT_xx_IMAGE_yy_SMALL_URL_
_CURRENT_xx_IMAGE_yy_MEDIUM_URL_
_CURRENT_xx_IMAGE_yy_LARGE_URL_
_CURRENT_xx_FILE_yy_URL_
Links
  [1] http://www.ldraw.org/index.php?name=News&catid=10
  [2] http://www.ldraw.org/index.php?name=News&file=article&sid=379
  [3] http://www.ldraw.org/index.php?name=News&catid=&topic=5