Template:Preview: Difference between revisions
From xat wiki
m (Missed a div) |
No edit summary |
||
Line 201: | Line 201: | ||
<div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{40}}}}}_50_50_c.png</div> | <div class="smileypreviewfix predis" style="width:100%; height:60px; background: white; border: 1px solid #aaa; text-align:center">https://s1.xat.com/web_gear/chat/GetStrip5.php?c=S_{{urlencode:{{{40}}}}}_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:{{{40}}}}} {{{40}}}])</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:{{{40}}}}} {{{40}}}])</div> | ||
</div>|}}<!-- | |||
-->{{#if:{{{1|}}}|</div>|}}<!-- | |||
--><div style="clear:both"></div></includeonly><noinclude> | --><div style="clear:both"></div></includeonly><noinclude> |
Revision as of 14:28, 15 September 2016
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: