Template:Preview

From xat wiki
Revision as of 19:11, 11 July 2021 by Andre (talk | contribs)

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:

<htmltag tagname="img" src="https://gs.xat.com/S_(clouds)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(cangry)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(ccrying)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(cfreeze)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(chappy)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(ckiss)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(clove)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(crainbow)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(csleepy)_40" />
<htmltag tagname="img" src="https://gs.xat.com/S_(cwindy)_40" />