Template:Condition sources: Difference between revisions
Jump to navigation
Jump to search
(Also remove div as part of test...) Tag: Reverted |
HiddenDragon (talk | contribs) (Undo) Tag: Manual revert |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: tables = condition_sources | <includeonly><div><!-- Without this div, the output may contain an extraneous <p><br/></p> at the start. --> | ||
{{#cargo_query: tables = condition_sources | |||
| fields = _pageName = name, template | | fields = _pageName = name, template | ||
| where = condition_inflicted="{{trim | {{{1}}} }}" | | where = condition_inflicted="{{trim | {{{1}}} }}" | ||
Line 7: | Line 8: | ||
| named args = yes | | named args = yes | ||
| delimiter = \n | | delimiter = \n | ||
| intro = <ul | | intro = <ul> | ||
| outro = </ul> | | outro = </ul> | ||
}} | |||
}}</includeonly><noinclude> | </div></includeonly><noinclude> | ||
Builds a list of things that inflict the specified condition, formatting them appropriately. The formatting is handled in [[Template:Condition sources/format]]. | Builds a list of things that inflict the specified condition, formatting them appropriately. The formatting is handled in [[Template:Condition sources/format]]. | ||
Latest revision as of 17:43, 13 May 2024
Builds a list of things that inflict the specified condition, formatting them appropriately. The formatting is handled in Template:Condition sources/format.
Example: {{Condition sources|Disguise Self}}
Result:
Example with no results:
No results