Ad placeholder

Template:Condition: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="padding-bottom: 1em"><div class="bg3wiki-tooltip-box">{{#cargo_query: tables = conditions
<includeonly>{{#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
| fields = name, icon, effects, CONCAT('{{{save|}}}') = save, CONCAT('{{{duration|}}}') = duration
| where = name = '{{#replace: {{{1}}} | ' | '' }}'
| where = name = '{{#replace: {{{1}}} | ' | '' }}'
Line 5: Line 5:
| template = Condition/Format
| template = Condition/Format
| named args = yes
| named args = yes
}}</div></div></includeonly><noinclude>
}}{{#if:{{{border|1}}}|</div></div>||}}</includeonly><noinclude>
Use this to display a condition.  Examples follow.
Use this to display a condition.  Examples follow.


Line 54: Line 54:
----
----
{{Condition | Bleeding | save = CON | duration = 2 }}
{{Condition | Bleeding | save = CON | duration = 2 }}
----
Use {{InfoBlob|<nowiki>border = 1</nowiki>}} to add a border.
<pre>
{{Condition | Bleeding | save = CON | duration = 2 | border = 1}}
</pre>
Result:
----
{{Condition | Bleeding | save = CON | duration = 2 | border = 1}}
----
----
</noinclude>
</noinclude>
7,103
edits

Navigation menu