Template:ID: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
(Add experimental template for built-in object data.)
 
m (Color and size tweaks.)
Line 34: Line 34:
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>
{| class="idchar" style="border-spacing: 3px; padding: 5px; margin-left: 2px; margin-right: 0px; margin-top: 0px; margin-bottom: 2px; width: 25em; font-size: 90%; align: right; float: right; clear: right;"
{| class="idchar" style="border-spacing: 3px; padding: 5px; margin-left: 2px; margin-right: 0px; margin-top: 0px; margin-bottom: 2px; width: 22em; font-size: 90%; align: right; float: right; clear: right;"
|-
|-
| colspan="2" style="background: #8899bb none; font-size: 125%; text-align: center;" | '''''{{{name}}} <span style="float:right; padding-right: 5px"># {{{id}}}</span>'''''
| colspan="2" style="background: #99bbee none; font-size: 125%; text-align: center;" | '''''{{{name}}} <span style="float:right; padding-right: 5px"># {{{id}}}</span>'''''
|- valign="top"
|- valign="top"
| style="white-space: nowrap; background: #99aacc none; padding: 5px;" | '''Robotic name'''
| style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" | '''Robotic name'''
| style="width:15em; padding: 5px;" | <code>{{{robotic}}}</code>
| style="width:15em; padding: 5px;" | <code>{{{robotic}}}</code>
|- valign="top"
|- valign="top"
| style="white-space: nowrap; background: #99aacc none; padding: 5px;" | '''Default color'''
| style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" | '''Default color'''
| style="width:15em; padding: 5px;" | {{{color}}}
| style="width:15em; padding: 5px;" | {{{color}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap; background: #99aacc none; padding: 5px;" | '''Default param'''
| style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" | '''Default param'''
| style="width:15em; padding: 5px;" | {{{param}}}
| style="width:15em; padding: 5px;" | {{{param}}}
|- valign="top"
|- valign="top"
| style="white-space: nowrap; background: #99aacc none; padding: 5px;" | '''ID char'''
| style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" | '''ID char'''
| style="width:15em; padding: 5px;" | {{{idchar}}} {{#if:{{{iddamage}}}|
| style="width:15em; padding: 5px;" | {{{idchar}}} {{#if:{{{iddamage}}}|
|- valign="top"
|- valign="top"
| style="white-space: nowrap; background: #99aacc none; padding: 5px;" | '''ID damage'''
| style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" | '''ID damage'''
| style="width:15em; padding: 5px;" | {{{iddamage}}} }} {{#if:{{{idanim_chars|}}}|
| style="width:15em; padding: 5px;" | {{{iddamage}}} }} {{#if:{{{idanim_chars|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''ID anim. chars'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''ID anim. chars'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{idanim_chars}}} }} {{#if:{{{idanim_colors|}}}|
{{!}} style="width:15em; padding: 5px;" {{!}} {{{idanim_chars}}} }} {{#if:{{{idanim_colors|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''ID anim. colors'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''ID anim. colors'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{idanim_colors}}} }} {{#if:{{{score|}}}|
{{!}} style="width:15em; padding: 5px;" {{!}} {{{idanim_colors}}} }} {{#if:{{{score|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''<abbr title="Score when shot by player">Score</abbr>'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''<abbr title="Score when shot by player">Score</abbr>'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{score}}} }}
{{!}} style="width:15em; padding: 5px;" {{!}} {{{score}}} }}
|-
|-
Line 65: Line 65:
{{#if:{{{floor|}}}{{{active|}}}{{{enemy|}}}{{{entrance|}}}{{{pushable|}}}{{{hurt_touch|}}}{{{break_shot|}}}{{{break_bombed|}}}{{{explode_bombed|}}}|
{{#if:{{{floor|}}}{{{active|}}}{{{enemy|}}}{{{entrance|}}}{{{pushable|}}}{{{hurt_touch|}}}{{{break_shot|}}}{{{break_bombed|}}}{{{explode_bombed|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''Attributes'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''Attributes'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{#if:{{{floor|}}}|<abbr title="A_UNDER">Floor</abbr><br>
{{!}} style="width:15em; padding: 5px;" {{!}} {{#if:{{{floor|}}}|<abbr title="A_UNDER">Floor</abbr><br>
}} {{#if:{{{active|}}}|
}} {{#if:{{{active|}}}|
Line 85: Line 85:
}} }} {{#if:{{{effect_stood|}}}|
}} }} {{#if:{{{effect_stood|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''<abbr title="A_AFFECT_IF_STOOD">Effect when stood on</attr>'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''<abbr title="A_AFFECT_IF_STOOD">Effect when stood on</attr>'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{effect_stood}}} }} {{#if:{{{effect_touch|}}}|
{{!}} style="width:15em; padding: 5px;" {{!}} {{{effect_stood}}} }} {{#if:{{{effect_touch|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''<abbr title="A_ITEM">Effect when touched</attr>'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''<abbr title="A_ITEM">Effect when touched</attr>'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{effect_touch}}} }} {{#if:{{{special_stood|}}}|
{{!}} style="width:15em; padding: 5px;" {{!}} {{{effect_touch}}} }} {{#if:{{{special_stood|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_STOOD">Special when stood on</attr>'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_STOOD">Special when stood on</attr>'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_stood}}} }} {{#if:{{{special_pushed|}}}|
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_stood}}} }} {{#if:{{{special_pushed|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_PUSH">Special when pushed</attr>'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_PUSH">Special when pushed</attr>'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_pushed}}} }} {{#if:{{{special_shot|}}}|
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_pushed}}} }} {{#if:{{{special_shot|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_SHOT">Special when shot</attr>'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_SHOT">Special when shot</attr>'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_shot}}} }} {{#if:{{{special_bombed|}}}|
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_shot}}} }} {{#if:{{{special_bombed|}}}|
{{!}}- valign="top"
{{!}}- valign="top"
{{!}} style="white-space: nowrap; background: #99aacc none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_BOMBED">Special when bombed</attr>'''
{{!}} style="white-space: nowrap; background: #ccddf8 none; padding: 5px;" {{!}} '''<abbr title="A_SPEC_BOMBED">Special when bombed</attr>'''
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_bombed}}} }}
{{!}} style="width:15em; padding: 5px;" {{!}} {{{special_bombed}}} }}
|}
|}

Revision as of 09:36, 29 May 2025

Template for data panels for thing pages.

{{ID
|name = 
|id = 
|robotic = 
|color = 
|param = 
|idchar = 
|iddamage = 
|idanim_chars =
|idanim_colors =
|score =
|floor =
|active =
|enemy =
|entrance =
|pushable = any, N/S, or E/W
|hurt_touch =
|break_shot =
|break_bombed =
|explode_bombed =
|effect_stood =
|effect_touch =
|special_stood =
|special_pushed =
|special_shot =
|special_bombed =
}}
{{{name}}} # {{{id}}}
Robotic name {{{robotic}}}
Default color {{{color}}}
Default param {{{param}}}
ID char {{{idchar}}}