Jump to content

Template:QuerySimpleOutput1/doc

From Conan Exiles Wiki
Revision as of 19:57, 3 January 2019 by imported>Testerle
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Outputs a single list item based on the parameters in the query

<li>[[File:{{{2}}}|32px|link={{{1}}}|frameless]] [[{{{1}}}]]</li>
  • param 1 - _pageName
  • param 2 - image

Looks like this:

Example usage:

<ul>
{{#cargo_query:
tables=Item
| fields=_pageName,image,harvesting_power
| where=harvesting_power IS NOT NULL
| group by=_pageName
| order by=harvesting_power,_pageName
| format=template
| template=QuerySimpleOutput1
}}
</ul>

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.