Template:Preview: Difference between revisions
From neox4t wiki
>Andre No edit summary |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
-->{{#if:{{{1|}}}|<div class="t-prev"> | -->{{#if:{{{1|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray1}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg1|}}}|https://neox4t.wiki/w/images/{{{fiximg1}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray1}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg1|}}}|https://neox4t.wiki/w/images/{{{fiximg1}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{1}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{1}}})</div></div> | <div class="plainlinks"><div>({{{1}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{2|}}}|<div class="t-prev"> | -->{{#if:{{{2|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray2}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg2|}}}|https://neox4t.wiki/w/images/{{{fiximg2}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray2}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg2|}}}|https://neox4t.wiki/w/images/{{{fiximg2}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{2}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{2}}})</div></div> | <div class="plainlinks"><div>({{{2}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{3|}}}|<div class="t-prev"> | -->{{#if:{{{3|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray3}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg3|}}}|https://neox4t.wiki/w/images/{{{fiximg3}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray3}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg3|}}}|https://neox4t.wiki/w/images/{{{fiximg3}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{3}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{3}}})</div></div> | <div class="plainlinks"><div>({{{3}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{4|}}}|<div class="t-prev"> | -->{{#if:{{{4|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray4}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg4|}}}|https://neox4t.wiki/w/images/{{{fiximg4}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray4}}}|yes|#c3c3c3|white}};">{{#if:{{{fiximg4|}}}|https://neox4t.wiki/w/images/{{{fiximg4}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{4}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{4}}})</div></div> | <div class="plainlinks"><div>({{{4}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{5|}}}|<div class="t-prev"> | -->{{#if:{{{5|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray5}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg5|}}}|https://neox4t.wiki/w/images/{{{fiximg5}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray5}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg5|}}}|https://neox4t.wiki/w/images/{{{fiximg5}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{5}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{5}}})</div></div> | <div class="plainlinks"><div>({{{5}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{6|}}}|<div class="t-prev"> | -->{{#if:{{{6|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray6}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg6|}}}|https://neox4t.wiki/w/images/{{{fiximg6}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray6}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg6|}}}|https://neox4t.wiki/w/images/{{{fiximg6}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{6}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{6}}})</div></div> | <div class="plainlinks"><div>({{{6}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{7|}}}|<div class="t-prev"> | -->{{#if:{{{7|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray7}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg7|}}}|https://neox4t.wiki/w/images/{{{fiximg7}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray7}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg7|}}}|https://neox4t.wiki/w/images/{{{fiximg7}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{7}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{7}}})</div></div> | <div class="plainlinks"><div>({{{7}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{8|}}}|<div class="t-prev"> | -->{{#if:{{{8|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray8}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg8|}}}|https://neox4t.wiki/w/images/{{{fiximg8}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray8}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg8|}}}|https://neox4t.wiki/w/images/{{{fiximg8}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{8}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{8}}})</div></div> | <div class="plainlinks"><div>({{{8}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{9|}}}|<div class="t-prev"> | -->{{#if:{{{9|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray9}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg9|}}}|https://neox4t.wiki/w/images/{{{fiximg9}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray9}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg9|}}}|https://neox4t.wiki/w/images/{{{fiximg9}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{9}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{9}}})</div></div> | <div class="plainlinks"><div>({{{9}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- | ||
-->{{#if:{{{10|}}}|<div class="t-prev"> | -->{{#if:{{{10|}}}|<div class="t-prev"> | ||
<div class="smileypreviewfix" style="background:{{#ifeq:{{{gray10}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg10|}}}|https://neox4t.wiki/w/images/{{{fiximg10}}}|https://gs. | <div class="smileypreviewfix" style="background:{{#ifeq:{{{gray10}}}|yes|#c3c3c3|white}};>{{#if:{{{fiximg10|}}}|https://neox4t.wiki/w/images/{{{fiximg10}}}|https://gs.neox4t.com/{{#ifeq:{{{S}}}|yes|S|a}}_({{#replace:{{{10}}}|#|*}})_40?.png}}</div> | ||
<div class="plainlinks"><div>({{{10}}})</div></div> | <div class="plainlinks"><div>({{{10}}})</div></div> | ||
</div>|}}<!-- | </div>|}}<!-- |
Latest revision as of 20:36, 9 September 2023
The purpose of this template is to provide a simple and fixed method for editors to add smiley previews on articles. For a gray background, use |gray followed by the number and =yes.
For example, {{preview|smile|sad|gray2=yes}} would give the 2nd smiley (sad) a gray background.
Usage:
- {{preview|smileycode|smileycode2 etc}}
Example:
- {{preview|clouds|cangry|ccrying|cfreeze|chappy|ckiss|clove|crainbow|csleepy|cwindy}}
Will produce:
(clouds)
(cangry)
(ccrying)
(cfreeze)
(chappy)
(ckiss)
(clove)
(crainbow)
(csleepy)
(cwindy)