     @displayNamePlural ?= @displayNameSingular
     check @displayNamePlural, String
     check @template, Match.Optional String
+    check @summaryTemplate, Match.Optional String
     @draggable ?= false
     check @draggable, Boolean
 

            Blaze.With (new ui.ComponentStack uiType: @, container: container, stack: value, count: count), =>
              @getCounterTemplate count, container.game().rules
          else
            Blaze.With (type: @, stack: value, container: container), =>
              Blaze.Each (-> cursor), =>
                @getCounterTemplate count, container.game().rules
    else

class ui.ComponentType
  constructor: ({@name, @width, @height, @isCounter, @stackProperty, @stackAfter,
                 @displayNameSingular, @displayNamePlural,
                 @draggable, @template, @summaryTemplate} = {}) ->
    check @name, String
    check @width, Match.Optional Number
    check @height, Match.Optional Number
