# Card

:eye: [PREVIEW](https://greenelab.github.io/lab-website-template/testbed#card)

```liquid
{%
  include card.html
  image="images/space.jpg"
  link="https://nasa.gov/"
  title="A Large Card"
  subtitle="A cool card"
  description="A cool description"
  tooltip="A cool tooltip"
  tags="tag A, tag B, tag C"
  repo="greenelab/lab-website-template"
  style="small"
%}
```

<table><thead><tr><th width="171">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>image</code></td><td>URL to an image for the card.</td></tr><tr><td><code>link</code></td><td>URL to link to when clicking the image or the title of the card.</td></tr><tr><td><code>title</code></td><td>Title for the card.</td></tr><tr><td><code>subtitle</code></td><td>Subtitle for the card.</td></tr><tr><td><code>description</code></td><td>Text to show under the card name. Can contain Markdown. Accepts <a href="/pages/G4oL36qvXqlh9fFarwV6#arbitrary-content">arbitrary content</a>.</td></tr><tr><td><code>tooltip</code></td><td>Text to show when hovering over the card.</td></tr><tr><td><code>tags</code></td><td><a href="/pages/CgsQw3wGGe0eR5PqcwkH">Tags</a> to show at the bottom of the card.</td></tr><tr><td><code>repo</code></td><td>GitHub repository to automatically fetch additional <a href="/pages/CgsQw3wGGe0eR5PqcwkH">tags</a> from.</td></tr><tr><td><code>style</code></td><td>Visual style of the card. Set to <code>small</code> to make the card a bit smaller.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://greene-lab.gitbook.io/lab-website-template-docs/basics/components/card.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
