الگو:Div col: تفاوت میان نسخه‌ها

از امامت‌پدیا، دانشنامهٔ امامت و ولایت
جز (۱ نسخه واردشده)
جزبدون خلاصۀ ویرایش
خط ۱: خط ۱:
<includeonly><templatestyles src="Div col/styles.css"/><!--
<includeonly><div class="<!--
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
-->{{#if: {{{colwidth|{{formatnum:{{{2|}}}|R}} }}}
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!--
    | column-width
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!--
    | column-count column-count-{{{cols|{{formatnum:{{{1|2}}}|R}} }}} }}" style="<!--
-->}}><!--
-->{{#if: {{{colwidth|{{formatnum:{{{2|}}}|R}} }}}
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes
    | {{column-width|{{{colwidth|{{formatnum:{{{2}}}|R}} }}}}}
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}<!--
    | {{column-count|{{{cols|{{formatnum:{{{1|2}}}|R}} }}}}} }} <!--
--></includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using div col with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Div col]] with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | class | colwidth | content | gap | rules | small | style }}<noinclude>
-->{{#if: {{{rules|}}}
    | {{#ifeq:{{{rules}}}|yes
      | {{column-rule}}
      | {{column-rule|{{{rules}}}}} }} }} <!--
-->{{#ifeq: {{lc:{{{small|}}}}}|yes
    | font-size:90%; }} <!--
-->{{#if: {{{style|}}}
    | {{{style}}} }}"></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

نسخهٔ ‏۱۸ مهٔ ۲۰۲۱، ساعت ۱۸:۳۵