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

Template:Inline box: Difference between revisions

Template page
m (1 revision imported)
m (set alt text properly)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<table class="hgw-inline-box {{{class|}}} {{#if: {{{type|}}} | hgw-inline-box-{{{type}}} | }}" cellspacing="0" cellpadding="0">
<table class="hgw-inline-box {{{class|}}} {{#if: {{{type|}}} | hgw-inline-box-{{{type}}} | }}" cellspacing="0" cellpadding="0">
<tr>
<tr>
{{#ifeq: {{{image|}}} | none | <!-- no image --> | <td class="hgw-inline-box-image" nowrap="nowrap" style="width: {{{imagewidth|20px}}}">{{#if: {{{image|}}} | {{{image}}} | [[File:OOjs_UI_icon_information-{{#switch:{{{type|}}}|info=progressive|warning=warning|critical=destructive|success=constructive|progressive}}.svg|{{{imagewidth|20px}}}|link=]]}}</td> }}
{{#ifeq: {{{image|}}} | none | <!-- no image --> | <td class="hgw-inline-box-image" nowrap="nowrap" style="width: {{{imagewidth|20px}}}">{{#if: {{{image|}}} | {{{image}}} | [[File:OOjs_UI_icon_information-{{#switch:{{{type|}}}|info=progressive|warning=warning|critical=destructive|success=constructive|progressive}}.svg|{{{imagewidth|20px}}}|link=|alt={{#switch:{{{type|}}}|info=Info icon|warning=Warning icon|critical=Critical icon|success=Success icon|progressive}}]]}}</td> }}
<td class="hgw-inline-box-text">{{{text|{{{1|}}}}}}</td>
<td class="hgw-inline-box-text">{{{text|{{{1|}}}}}}</td>
</tr></table></onlyinclude><noinclude>{{Documentation}}</noinclude>
</tr></table></onlyinclude><noinclude>{{Documentation}}</noinclude>

Latest revision as of 20:14, 23 November 2024

progressive