Template:Preview: Difference between revisions

From xat wiki
No edit summary
(Undo revision 422054 by Daniel (talk))
Line 4: Line 4:


-->{{#if:{{{1|}}}|<div style="overflow: hidden;"><div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{1|}}}|<div style="overflow: hidden;"><div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg1}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{1}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{1}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg1}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{1}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{1}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{1}}}}} {{{1}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{1}}}}} {{{1}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{2|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{2|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg2}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{2}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{2}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg2}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{2}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{2}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{2}}}}} {{{2}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{2}}}}} {{{2}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{3|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{3|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg3}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{3}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{3}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg3}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{3}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{3}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{3}}}}} {{{3}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{3}}}}} {{{3}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{4|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{4|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg4}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{4}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{4}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg4}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{4}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{4}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{4}}}}} {{{4}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{4}}}}} {{{4}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{5|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{5|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg5}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{5}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{5}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg5}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{5}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{5}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{5}}}}} {{{5}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{5}}}}} {{{5}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{6|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{6|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg6}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{6}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{6}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg6}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{6}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{6}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{6}}}}} {{{6}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{6}}}}} {{{6}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{7|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{7|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg7}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{7}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{7}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg7}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{7}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{7}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{7}}}}} {{{7}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{7}}}}} {{{7}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{8|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{8|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg8}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{8}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{8}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg8}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{8}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{8}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{8}}}}} {{{8}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{8}}}}} {{{8}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{9|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{9|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg9}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{9}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{9}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg9}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{9}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{9}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{9}}}}} {{{9}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{9}}}}} {{{9}}}])</div>
</div>|}}<!--
</div>|}}<!--


-->{{#if:{{{10|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
-->{{#if:{{{10|}}}|<div style="width:100px; float:left; margin:0 15px 15px 0">
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg10}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{10}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{10}}}}}%23_50_50_c.png}}</div>
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">{{#ifeq:{{{fiximg10}}}|yes|https://i.xat.wiki/smilies/{{urlencode:{{{10}}}}}.png|https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{10}}}}}_50_50_c.png}}</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{10}}}}} {{{10}}}])</div>
<div class="plainlinks" style="width:100%; position: relative; background: #f2f2f2; font-weight: bold; border: 1px solid #aaa; border-top: 0; text-align:center; font-size:10px">([https://www.xatech.com/web_gear/flash/smiliesshow.swf?r={{urlencode:{{{10}}}}} {{{10}}}])</div>
</div>|}}<!--
</div>|}}<!--

Revision as of 20:14, 25 May 2018

The purpose of this template is to provide a simple and fixed method for editors to add smiley previews on articles.

Usage:

  • {{preview|smileycode|smileycode2 etc}}

Example:

  • {{preview|clouds|cangry|ccrying|cfreeze|chappy|ckiss|clove|crainbow|csleepy|cwindy}}

Will produce: