User:Quantum/Element: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Remove "Has stats?" field (redundant now that there's an entire Stats section))
(WIP new element infobox)
Line 1: Line 1:
<table class="wikitable" style="float:right; clear: both; width: 22em; font-size: 88%">
<table class="wikitable" style="float:right; clear: both; width: 22em; font-size: 88%">
<tr><th colspan=2>'''{{PAGENAME}}'''</td></tr>
<tr><th colspan=2>'''{{PAGENAME}}'''</td></tr>
{{#if: {{{zzt-oop name|}}} | <tr><td>'''ZZT-OOP name'''</td><td>{{{zzt-oop name}}}</td></tr>}}
{{#if: {{{picture|}}} | <tr><td colspan=2>{{{picture}}}</td></tr> }}
{{#if: {{{zzt-oop name|}}} | <tr><td>'''ZZT-OOP name'''</td><td>{{{zzt-oop name}}}</td></tr> }}
<tr><td>'''Internal ID'''</td><td>{{{id}}}</td></tr>
<tr><td>'''Internal ID'''</td><td>{{{id}}}</td></tr>
{{#if: {{{behavior|}}} | <tr><td>'''Behavior'''</td><td>{{{behavior}}}</td></tr>}}
<tr><th colspan=2>'''Appearance'''</td></tr>
<tr><td>'''Character'''</td><td>{{{char}}}</td></tr>
<tr><td>'''Character'''</td><td>{{{char}}}</td></tr>
<tr><td>'''Default color'''</td><td>{{{color}}}</td></tr>
{{#if: {{{color|}}} | <tr><td>'''Default color'''</td><td>{{{color}}}</td></tr> }}
{{#if: {{{category|}}} | <tr><td>'''Category'''</td><td>{{{category}}}</td></tr> }}
{{#if: {{{cycle|}}} |
{{#if: {{{cycle|}}} |
<tr><th colspan=2>'''Stats'''</td></tr>
    <tr><th colspan=2>'''Stats'''</td></tr>
{{#if: {{{xy-step|}}} | <tr><td>'''X- and Y-step'''</td><td>{{{xy-step}}}</td></tr>}}
    {{#if: {{{xy-step|}}} | <tr><td>'''X/Y-step'''</td><td>{{{xy-step}}}</td></tr> }}
<tr><td>'''Default cycle'''</td><td>{{{cycle}}}</td></tr>
    <tr><td>'''Default cycle'''</td><td>{{{cycle}}}</td></tr>
{{#if: {{{p1|}}} | <tr><td>'''P1'''</td><td>{{{p1}}}</td></tr>}}
    {{#if: {{{p1|}}} | <tr><td>'''P1'''</td><td>{{{p1}}}</td></tr> }}
{{#if: {{{p2|}}} | <tr><td>'''P2'''</td><td>{{{p2}}}</td></tr>}}
    {{#if: {{{p2|}}} | <tr><td>'''P2'''</td><td>{{{p2}}}</td></tr> }}
{{#if: {{{p3|}}} | <tr><td>'''P3'''</td><td>{{{p3}}}</td></tr>}}
    {{#if: {{{p3|}}} | <tr><td>'''P3'''</td><td>{{{p3}}}</td></tr> }}
{{#if: {{{leader|}}} | <tr><td>'''Leader'''</td><td>{{{leader}}}</td></tr>}}
    {{#if: {{{leader|}}} | <tr><td>'''Leader'''</td><td>{{{leader}}}</td></tr> }}
{{#if: {{{follower|}}} | <tr><td>'''Follower'''</td><td>{{{follower}}}</td></tr>}}
    {{#if: {{{follower|}}} | <tr><td>'''Follower'''</td><td>{{{follower}}}</td></tr> }}
{{#if: {{{current instruction|}}} | <tr><td>'''Current instruction'''</td><td>{{{current instruction}}}</td></tr>}}
    {{#if: {{{current instruction|}}} | <tr><td>'''Current instruction'''</td><td>{{{current instruction}}}</td></tr> }}
{{#if: {{{data|}}} | <tr><td>'''Data'''</td><td>{{{data}}}</td></tr>}}
    {{#if: {{{data|}}} | <tr><td>'''Data'''</td><td>{{{data}}}</td></tr> }}
}}
}}
<tr><th colspan=2>'''Other traits'''</td></tr>
<tr><th colspan=2>'''Other traits'''</td></tr>
<tr><td>'''Destructible?'''</td><td>{{{destructible}}}</td></tr>
<tr><td>'''Effect on movement'''</td><td>{{{movement effect}}}</td></tr>
<tr><td>'''Effect on movement'''</td><td>{{{movement effect}}}</td></tr>
<tr><td>'''Color used by #put'''</td><td>{{#ifeq: {{{put color}}} | default | default color: {{{color}}} | {{{put color}}} }}</td></tr>
<tr><td>'''ZZT-OOP color behavior'''</td><td>{{{destructible}}}</td></tr>
{{#if: {{{score|}}} | <tr><td>'''Score when shot'''</td><td>{{{score}}}</td></tr> }}
{{#if: {{{visible-in-dark|}}} | <tr><td>'''Visible in the dark?'''</td><td>{{{visible-in-dark}}}</td></tr> }}
</table>
</table>
<noinclude>
An infobox for ZZT elements.
Mandatory params:
* '''id''': Element's internal ID
</noinclude>

Revision as of 04:13, 31 May 2020




Quantum/Element
Internal ID{{{id}}}
Character{{{char}}}
Other traits
Destructible?{{{destructible}}}
Effect on movement{{{movement effect}}}
ZZT-OOP color behavior{{{destructible}}}

An infobox for ZZT elements.

Mandatory params:

  • id: Element's internal ID