Template:Archives: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
(tmbox/ombox styles)
Line 1: Line 1:
{{talk other|<templatestyles src="Module:Message box/tmbox.css"/>|<templatestyles src="Module:Message box/ombox.css"/>|demospace={{{demospace|}}}}}
<table id="archivebox" role="presentation" class="{{talk other|tmbox tmbox-notice|ombox ombox-notice|demospace={{{demospace|}}}}} {{#ifeq:{{{banner|{{{large|}}}}}}|yes||mbox-small}} {{#ifeq:{{{collapsed}}}|yes|mw-collapsible mw-collapsed|{{#ifeq:{{{collapsible}}}|yes|mw-collapsible}}}} {{{class|}}}" style="text-align: center; padding: 1em; {{#if:{{{box-width|}}}|width:{{{box-width}}};}} {{#ifeq:{{{banner|{{{large}}}}}}|yes|min-width:80%;}} {{{style|}}}">
<table id="archivebox" role="presentation" class="{{talk other|tmbox tmbox-notice|ombox ombox-notice|demospace={{{demospace|}}}}} {{#ifeq:{{{banner|{{{large|}}}}}}|yes||mbox-small}} {{#ifeq:{{{collapsed}}}|yes|mw-collapsible mw-collapsed|{{#ifeq:{{{collapsible}}}|yes|mw-collapsible}}}} {{{class|}}}" style="text-align: center; padding: 1em; {{#if:{{{box-width|}}}|width:{{{box-width}}};}} {{#ifeq:{{{banner|{{{large}}}}}}|yes|min-width:80%;}} {{{style|}}}">
<tr>{{#ifeq:{{{image|}}}|none|<td>|<td {{#ifeq:{{{banner|{{{large}}}}}}|yes|rowspan="{{#expr:1+{{#ifeq:{{{search}}}|no|0|1}}+{{#if:{{{list|{{{1|}}}}}}|1|0}}+{{#if:{{{age|}}}{{{target|}}}|1|0}}}}"}}  
<tr>{{#ifeq:{{{image|}}}|none|<td>|<td {{#ifeq:{{{banner|{{{large}}}}}}|yes|rowspan="{{#expr:1+{{#ifeq:{{{search}}}|no|0|1}}+{{#if:{{{list|{{{1|}}}}}}|1|0}}+{{#if:{{{age|}}}{{{target|}}}|1|0}}}}"}}  
Line 14: Line 15:
   |nobr={{#if:{{{banner|{{{large|}}}}}}|yes|no}}
   |nobr={{#if:{{{banner|{{{large|}}}}}}|yes|no}}
   |{{#if:{{{prefix|}}}|prefix|DISABLE3}}={{{prefix|}}}
   |{{#if:{{{prefix|}}}|prefix|DISABLE3}}={{{prefix|}}}
  |{{#if:{{{start|}}}|start|DISABLE4}}={{{start|}}}
   }}
   }}
  }}
  }}

Revision as of 19:20, 27 May 2022