6,366
editsAd placeholder
Template:Condition: Difference between revisions
Jump to navigation
Jump to search
rename skip effect -> inline
(Add inline use case) |
(rename skip effect -> inline) |
||
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, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{ | | fields = name, icon, effects, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration, CONCAT('{{{inline|}}}') = skip effect | ||
| where = name = '{{#replace: {{{1}}} | ' | '' }}' | | where = name = '{{#replace: {{{1}}} | ' | '' }}' | ||
| format = template | | format = template | ||
Line 85: | Line 85: | ||
</pre> | </pre> | ||
Result: blabla {{Condition | Bleeding | | Result: blabla {{Condition | Bleeding | inline = true }} blabla | ||
</noinclude> | </noinclude> |