CardMaker Tutorial: References: Basic

This guide covers the basics of a reference. Note: It is assumed that you have been through the basic deck tutorial.

  1. There are a few strict rules in creating your reference file:
    1. The first row is reserved for column names. It should not be used to store anything else.
    2. The first column is the count. Do not attempt to use it for anything else. It should contain numeric values and nothing else. 0 will result in ignoring the row completely.
    3. Do not use bracket characters [ ] or @ symbols in your column names.
    4. Avoid quotes in general. If you need to put in a special character (or not so special) refer to the list below. These apply to Text Elements (not Graphic, Shape, or otherwise).
      CharacterEscape Code (type this into your CSV instead)
      Newline\n
      " - Double Quote\q
      , - Comma\c
    5. There is one optional/reserved column name: allowed_layout This column allows you to specify that the row is only to appear if the layout associated has the given name. This allows you to use the same reference file with different layouts. This is not a common situation but you may find it useful under certain circumstances.
  2. All of the samples below are based on the following Reference content:

  3. Text Element Definition Samples - The key is the use of the @[column name] format. This special sequence is converted to the value in the column in your reference file. The sample images below show the result of the given value set as the Definition value of a Text Element.
    1. Row 1
      @[item]

      @[item] - $@[cost]

    2. Row 2
      @[item]

      @[item] - $@[cost]

  4. There is a shortcut to adding a reference to a column to the Definition field. You can right-click on a value in the row preview as seen in the image below:

  5. "What if I want to do crazy things like reference other columns in the reference file?"" Go right ahead. You can define the value in a row to be @[another column name]. Be sure to read about reference defines too!


© Copyright NHMK 2018    e-mail: nhmkamv at gmail
(Pages on this site use Javascript so if you do not see content you have Javascript disabled!)