Skip to content

Instantly share code, notes, and snippets.

@lbergen
Created November 8, 2012 16:57
Show Gist options
  • Save lbergen/4040057 to your computer and use it in GitHub Desktop.
Save lbergen/4040057 to your computer and use it in GitHub Desktop.
braai tags so far
# Basic product information tags
{{product.vanity}}
{{products(ID).vanity}}
{{product.name}}
{{products(ID).name}}
{{article.attachments['attachment_name']}}
{{product.model}}
{{products(ID).model}}
{{product.brand.name}}
{{products(ID).brand.name}}
{{product.MSRP}}
{{products(ID).MSRP}}
{{product.manufacturer_specs['score_name']}}
{{products(ID).manufacturer_specs['score_name']}}
{{product.raw_scores['score_name']}}
{{products(ID).raw_scores['score_name']}}
{{product.attachments['attachmentName']}}
{{products(ID).attachments['attachmentName']}}
# more widget-like tags
{{callout}}
{{/callout}}
{{photo_gallery "attachment1", "attachment2"}}
{{manufacturer_specs_table}}
{{raw_scores_table}}
{{comparison_bars}} *with attributes (space separated) as follows:
title="Neato title"
attribute="name" # manufacturer_spec or raw_score for which we are building bars
comp_page_format="???" # this has something to do with the url of the comp products I think?
comps="video" # always either not set or set to "video", not sure what it is
xLabel="stats" # label for the x axis
yLabel="information" # label for the y axis
{{ratings_bars}} *with attributes (space separated) as follows:
title="Neato title"
comp_num="1" # the number of the comp product to compare against (as opposed to all of them)
scores="Foo Score, Bar Score" # comma separated list of raw_scores
score_title="Testergebnisse" # because that exists
score_names="x, y, z" # alternate text to use for each of the rating bars. why not?
xLabel="stuff" # label for the x axis
yLabel="durp" # label for the y axis
{{image_chart}} *with attributes (space separated) as follows:
title="Neato title"
attachment="name of attachment"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment