Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:DMW/Infobox row: Difference between revisions

Template page
Revision as of 17:07, 2 November 2026 by Maintenance script (talk | contribs) (Sync from repository (wiki/Template/DMW/Infobox row))

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Sync from repository (wiki/Template/DMW/Infobox row)
 
Sync from repository (wiki/Template/DMW/Infobox row)
 
Line 1: Line 1:
{{!}}-
{{!}}-
{{!}} class="dmw-infobox__icon" {{!}} {{#if:{{{file|}}}|[[File:{{{file}}}|40x28px|link={{{file link|}}}|alt=]]|<span class="dmw-infobox__glyph dmw-infobox__glyph--{{{icon|type}}}"></span>}}
! scope="row" {{!}} <span class="dmw-infobox__icon" aria-hidden="true">{{#if:{{{file|}}}|[[File:{{{file}}}|40x28px|link=|alt=]]|<span class="dmw-infobox__glyph dmw-infobox__glyph--{{{icon|none}}}"></span>}}</span>{{{label}}}
! scope="row" {{!}} {{{label}}}
{{!}}{{#if:{{{id|}}}| id="{{{id}}}" {{!}}}} {{{1|{{{value|}}}}}}<noinclude>
{{!}} {{{1|{{{value|}}}}}}<noinclude>
One row of [[Template:DMW/Infobox]]: label cell (icon + label) and value cell. Icon: a wiki file (<code>file=Vaccine.png</code>) or a DMW glyph (<code>icon=</code> play-style, form, type, digivolves, location). Optional <code>id</code> on the value cell.
One row of [[Template:DMW/Infobox]]. Icon: either a wiki file (<code>file=Vaccine.png</code>) or a DMW glyph (<code>icon=</code> play-style, form, type, digivolves, location).
 
Rows written the old way (<code><nowiki>|'''Label:'''||value</nowiki></code>) line up in the same two columns.
[[Category:DMW components]]</noinclude>
[[Category:DMW components]]</noinclude>

Latest revision as of 17:07, 2 November 2026

|- ! scope="row" | {{{label}}} | One row of Template:DMW/Infobox: label cell (icon + label) and value cell. Icon: a wiki file (file=Vaccine.png) or a DMW glyph (icon= play-style, form, type, digivolves, location). Optional id on the value cell.

Rows written the old way (|'''Label:'''||value) line up in the same two columns.

Join the DMW Community

Guides, patch discussion, and help from the community all happen on Discord.

Join Discord