Template:Prettified Row Format for ask


 * - style="vertical-align:top;"
 * none|link=

Prints one table row: a page's name and thumbnail image are both in the first column; clicking on the link takes you to the page, not the image file. All cells in the row are aligned vertically to the top.

This template is designed for formatting  inline query results into table rows, though it could be used manually, too. See below.

(The image format (thumbnail, alignment none) is written into the template itself. To change it for all tables on the wiki, edit the template.)

Demonstration
Given the page Hammer Rock and the image file File:Round Stone Cropped.png, the first cell will look like:

Parameters
The first parameter is assumed to be a page, such as.

The second parameter is assumed to be the text form of an image: no square brackets or other prettification. (Pass in, not.

The  parameter is the number of additional cells of results to display. Up to eight more parameters can be passed through. If no  is given, no additional cells are displayed, even if more parameters are given.

Example Use
If you query for all stone age tools, and set, you can't combine the tool's page link and its thumbnail into one column. Instead, set  to format the query results with this template.

For the output to look like a proper table, you need to embed the ask query inside the beginning and end of a table, including the column headers:



Important note :  must be followed with   (the pound sign). This means that the image file is passed in as text, not as a image page link. It also must be the first property in the query.