<div class="help">
  <h1>Help: Cheat Sheet</h1>

  <div class="section">
    <h4>Searching</h4>
    <dl>
      <dt>tag1 tag2</dt>
      <dd>Search for posts that have tag1 and tag2.</dd>

      <dt>~tag1 ~tag2</dt>
      <dd>Search for posts that have tag1 or tag2.</dd>

      <dt>-tag1</dt>
      <dd>Search for posts that don't have tag1.</dd>

      <dt>tag1*</dt>
      <dd>Search for posts with tags that start with tag1.</dd>

      <dt>user:bob</dt>
      <dd>Search for posts uploaded by the user Bob.</dd>

      <dt>vote:3:bob</dt>
      <dd>Search for posts favorited by the user Bob.</dd>

      <dt>md5:foo</dt>
      <dd>Search for posts with the MD5 hash foo.</dd>

      <dt>rating:questionable</dt>
      <dd>Search for posts that are rated questionable.</dd>

      <dt>-rating:questionable</dt>
      <dd>Search for posts that are not rated questionable.</dd>

      <dt>source:http://site.com</dt>
      <dd>Search for posts with a source that starts with http://site.com.</dd>

      <dt>id:100</dt>
      <dd>Search for posts with an ID number of 100.</dd>

      <dt>id:100..</dt>
      <dd>Search for posts with an ID number of 100 or greater.</dd>

      <dt>id:&gt;=100</dt>
      <dd>Same as above.</dd>

      <dt>id:&gt;100</dt>
      <dd>Search for posts with an ID number greater than 100.</dd>

      <dt>id:..100</dt>
      <dd>Search for posts with an ID number of 100 or less.</dd>

      <dt>id:&lt;=100</dt>
      <dd>Same as above.</dd>

      <dt>id:&lt;100</dt>
      <dd>Search for posts with an ID number less than 100.</dd>

      <dt>id:100..200</dt>
      <dd>Search for posts with an ID number between 100 and 200.</dd>

      <dt>width:100</dt>
      <dd>Search for posts with a width of 100 pixels (uses same syntax as id search).</dd>

      <dt>height:100</dt>
      <dd>Search for posts with a height of 100 pixels (uses same syntax as id search)</dd>

      <dt>score:100</dt>
      <dd>Search for posts with a score of 100 (uses same syntax as id search).</dd>

      <dt>mpixels:2.5..</dt>
      <dd>Search for posts with 2.5 million pixels or greater (uses same syntax as id search).</dd>

      <dt>ratio:16:9</dt>
      <dd>Search for posts with aspect ratio of approximately 16:9 (uses same syntax as id search).</dd>

      <dt>date:2007-01-01</dt>
      <dd>Search for posts uploaded on a certain date (uses same syntax as id search).</dd>

      <dt>order:id</dt>
      <dd>Order search results in ascending order based on post ID.</dd>

      <dt>order:id_desc</dt>
      <dd>Order search results in descending order based on post ID.</dd>

      <dt>order:score</dt>
      <dd>Order search results in descending order based on post score.</dd>

      <dt>order:score_asc</dt>
      <dd>Order search results in ascending order based on post score.</dd>

      <dt>order:mpixels</dt>
      <dd>Order search results in descending order based on resolution.</dd>

      <dt>order:mpixels_asc</dt>
      <dd>Order search results in descending order based on resolution.</dd>

      <dt>order:landscape</dt>
      <dd>Order landscape images first.</dd>

      <dt>order:portrait</dt>
      <dd>Order portrait images first.</dd>

      <dt>order:vote</dt>
      <dd>Order by when the post was voted (only valid when doing a vote search)</dd>

      <dt>parent:1234</dt>
      <dd>Search for posts that have 1234 as a parent (and include post 1234).</dd>

      <dt>parent:none</dt>
      <dd>Search for posts that have no parent.</dd>

      <dt class="bad">gun* dress</dt>
      <dd>Pattern searches do not work well with other tags.</dd>

      <dt class="bad">~gun dress</dt>
      <dd>Or searches do not work well with other tags.</dd>

      <dt class="bad">rating:questionable rating:safe</dt>
      <dd>In general, combining the same metatags (the ones that have
    colons in them) will not work.</dd>

      <dt>rating:questionable score:100.. id:..1000</dt>
      <dd>You can combine different metatags, however.</dd>
    </dl>
  </div>

  <div class="section">
    <h4>Tagging</h4>
    <dl>
      <dt>tag1 tag2</dt>
      <dd>Tags a post with tag1 and tag2.</dd>

      <dt>maria-sama_ga_miteru</dt>
      <dd>Replace spaces in tags with underscores.</dd>

      <dt>tanaka_rie soryu_asuka_langley</dt>
      <dd>Use LastName FirstName order for characters with Japanese last names, or characters with full Chinese or Korean names. Middle names always follow the first name.</dd>

      <dt>john_smith akira_ferrari tony_leung</dt>
      <dd>Use FirstName LastName order for characters with non-Asian names, or characters with Japanese first names but non-Asian last names, or characters with non-Asian first names but Chinese last names.</dd>

      <dt>general:food</dt>
      <dd>Prefix a tag with <code>general</code> to remove any type. The prefix will be dropped when the tag is saved.</dd>

      <dt>artist:wakatsuki_sana</dt>
      <dd>Prefix a tag with <code>artist:</code> to type it as an artist. The prefix will be dropped when the tag is saved.</dd>

      <dt>character:gasai_yuno</dt>
      <dd>Prefix a tag with <code>character:</code> (or <code>char:</code>) to type it as a character.</dd>

      <dt>copyright:mirai_nikki</dt>
      <dd>Prefix a tag with <code>copyright:</code> (or <code>copy:</code>) to type is as a copyright. Copyright tags include things like anime, manga, games, novels, or original doujinshi works.</dd>

      <dt>ambiguous:sakura</dt>
      <dd>Prefix a tag with <code>ambiguous:</code> (or <code>amb:</code>) to make it ambiguous. Ambiguous tags are indicated as such to users, and they are pointed to the wiki for disambiguation.</dd>

      <dt>rating:questionable</dt>
      <dd>Rates a post as questionable. This tag is discarded after the rating is changed.</dd>

      <dt>parent:1234</dt>
      <dd>Sets the post's parent id to 1234. This tag is discarded after the parent id is changed. If the parent id is the same as the post id, then the parent id will be cleared.</dd>

      <dt>pool:maria-sama_ga_miteru_manga</dt>
      <dd>Adds the post to the "Maria-sama ga Miteru Manga" pool. This tag is discarded after the post is added to the pool. Make sure to replace spaces with underscores. If the pool with the given name doesn't exist, it will be automatically created.</dd>

      <dt>pool:10</dt>
      <dd>Adds the post to pool #10.</dd>

      <dt>-pool:10</dt>
      <dd>Removes the post from pool #10.</dd>
    </dl>
  </div>

  <div class="section">
    <h4>Comments &amp; Forum</h4>
    <dl>
      <dt>post #1000</dt>
      <dd>Creates a link to post #1000.</dd>

      <dt>comment #1000</dt>
      <dd>Creates a link to comment #1000.</dd>

      <dt>forum #1000</dt>
      <dd>Creates a link to forum post #1000.</dd>

      <dt>pool #1000</dt>
      <dd>Creates a link to pool #1000.</dd>

      <dt>[spoiler]spoiler text[/spoiler]</dt>
      <dd>Marks "spoiler text" as a spoiler.</dd>

      <dt>[[link to this page]]</dt>
      <dd>Creates an internal link to the wiki page with title "link to this page".</dd>

      <dt>[[my wiki page|click this]]</dt>
      <dd>Creates an internal link to the wiki page with title "my wiki page", using "click this" for the link text.</dd>
    </dl>
  </div>

  <div class="section">
    <h4>Wiki</h4>
    <p>The wiki uses <a href="http://en.wikipedia.org/wiki/Textile_(markup_language)">Textile</a> for formatting.</p>
    <dl>
      <dt>[[link to this page]]</dt>
      <dd>Creates an internal link to the wiki page with title "link to this page".</dd>

      <dt>[[my wiki page|click this]]</dt>
      <dd>Creates an internal link to the wiki page with title "my wiki page", using "click this" for the link text.</dd>

      <dt>h2. Major Header</dt>
      <dd>Major headers should use h2.</dd>

      <dt>h4. Minor Header</dt>
      <dd>Minor headers should use h4.</dd>
    </dl>
  </div>

  <div class="section">
    <h4>Notes</h4>
    <dl>
      <dt>&lt;tn&gt;translation note&lt;/tn&gt;</dt>
      <dd>Styles "translation note" as a translation note.</dd>
    </dl>
  </div>
</div>

<% content_for :subnavbar do %>
  <li><%= link_to "Help", help_path %></li>
<% end %>
