41,857
edits
m
no edit summary
HiddenDragon (talk | contribs) (Add support for optional DC field) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#if:{{{border|}}}|<div style="padding-bottom: 1em"><div class="bg3wiki-tooltip-box">||}}{{#cargo_query: tables = conditions | <includeonly><onlyinclude>{{#if:{{{border|}}}|<div style="padding-bottom: 1em"><div class="bg3wiki-tooltip-box">||}}{{#cargo_query: tables = conditions | ||
| fields = name, icon, effects, types, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{inline|}}}') = inline, CONCAT('{{#replace:{{{altname|}}}|'| | | fields = _pageName=page, name, icon, effects, types, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{inline|}}}') = inline, CONCAT('{{#replace:{{{altname|}}}|'|\'}}') = altname, CONCAT('{{#replace:{{{dc|}}}|'|"}}') = dc, CONCAT('{{#if:{{{w|}}}|{{{w}}}|25}}') = w, | ||
| where = | | where = _pageName = "{{#replace:{{{1}}}|'|\'}} (Condition)" | ||
| format = template | | format = template | ||
| template = Condition/Format | | template = Condition/Format | ||
Line 8: | Line 8: | ||
| order by = _ID | | order by = _ID | ||
| more results text= | | more results text= | ||
}}{{#if:{{{border|}}}|</div></div>||}}</onlyinclude></includeonly><noinclude> | | default = [[{{{1}}} (Condition)|{{{1}}}]][[Category:Pages with unknown conditions]] | ||
}}{{#if:{{{border|}}}|</div></div>||}}</onlyinclude></includeonly><noinclude>{{documentation|content= | |||
Use this to display a condition. Examples follow. | Use this to display a condition. Examples follow. | ||
Line 97: | Line 98: | ||
== Also displays types == | == Also displays types == | ||
{{Condition | Feverish }} | {{Condition | Feverish }} | ||
}} | |||
[[Category:Condition templates]] | [[Category:Condition templates]] | ||
</noinclude> | </noinclude> |