Skip to content

Instantly share code, notes, and snippets.

@incorvia
Forked from lbergen/gist:4040057
Created November 9, 2012 18:50
Show Gist options
  • Save incorvia/4047481 to your computer and use it in GitHub Desktop.
Save incorvia/4047481 to your computer and use it in GitHub Desktop.
# 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