Template:MoinMarkup/Smiley: Difference between revisions
AndrewSayers (talk | contribs) Created page with "<pre><onlyinclude>{{#switch: {{{smiley|{{{1|}}}}}} | /!\ | alert = 16x16px|alert | X-( | angry = 16x16px|angry | <!> | attention = 16x16px|attention | :D | biggrin = 16x16px|biggrin | (./) | checkmark = 16x16px|checkmark | >:> | devil = 16x16px|devil | <:( | frown = 16x16px|frown | {X} | icon-error = Fil..." |
AndrewSayers (talk | contribs) Compare with <<Icon>> |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<pre><onlyinclude>{{#switch: {{{smiley|{{{1|}}}}}} | <pre><onlyinclude>{{#switch: {{{smiley|{{{1|}}}}}} | ||
| /!\ | | /!\ | ||
| alert = | | alert = ⚠️ | ||
| X-( | | X-( | ||
| angry = | | angry = 😡 | ||
| <!> | | <!> | ||
| attention = | | attention = ❗️ | ||
| :D | | :D | ||
| biggrin = | | biggrin = 😁 | ||
| (./) | | (./) | ||
| checkmark = | | checkmark = ✔️ | ||
| >:> | | >:> | ||
| devil = | | devil = 😈 | ||
| <:( | | <:( | ||
| frown = | | frown = 😢 | ||
| {X} | | {X} | ||
| icon-error = | | icon-error = ❌ | ||
| {i} | | {i} | ||
| icon-info = | | icon-info = ℹ️ | ||
| (!) | | (!) | ||
| idea = | | idea = 💡 | ||
| :\ | | :\ | ||
| ohwell = | | ohwell = 🫤 | ||
| {1} | | {1} | ||
| prio1 = | | prio1 = 1️⃣ | ||
| {2} | | {2} | ||
| prio2 = | | prio2 = 2️⃣ | ||
| {3} | | {3} | ||
| prio3 = | | prio3 = 3️⃣ | ||
| :o | | :o | ||
| redface = | | redface = 😮 | ||
| :( | | :( | ||
| :-( | | :-( | ||
| sad = | | sad = 😕 | ||
| :) | | :) | ||
| :-) | | :-) | ||
| smile = | | smile = 🙂 | ||
| B) | | B) | ||
| B-) | | B-) | ||
| smile2 = | | smile2 = 😎 | ||
| :)) | | :)) | ||
| :-)) | | :-)) | ||
| smile3 = | | smile3 = 😄 | ||
| ;) | | ;) | ||
| ;-) | | ;-) | ||
| smile4 = | | smile4 = 😉 | ||
| {o} | | {o} | ||
| star_off = | | star_off = ⭐️ | ||
| {*} | | {*} | ||
| star_on = | | star_on = 🌟 | ||
| {OK} | | {OK} | ||
| thumbs-up = | | thumbs-up = 👍 | ||
| {{!}}) | | {{!}}) | ||
| {{!}}-) | | {{!}}-) | ||
| tired = | | tired = 😴 | ||
| :-? | | :-? | ||
| tongue = | | tongue = 😛 | ||
| [[Category:Pages with unknown smileys]]{{{smiley|{{{1|}}}}}} | | [[Category:Pages with unknown smileys]]{{{smiley|{{{1|}}}}}} | ||
}} | }}{{Template:MoinMarkup/Boilerplate}}</onlyinclude></pre> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"MoinMarkupID": { | |||
"type": "number", | |||
"required": true, | |||
"description": "Unique ID for this template on the page, must be the first parameter.", | |||
"deprecated": true | |||
}, | |||
"smiley": { | "smiley": { | ||
"aliases": [ | "aliases": [ | ||
| Line 97: | Line 103: | ||
], | ], | ||
"required": true | "required": true | ||
} | }, | ||
"MoinMarkupID2": { | |||
"type": "number", | |||
"required": true, | |||
"description": "Same value as MoinMarkupID=, guaranteed to be the last parameter", | |||
"deprecated": true | |||
} | |||
}, | }, | ||
"description": "Unreviewed smiley imported from MoinMoin" | "description": "Unreviewed smiley imported from MoinMoin" | ||
| Line 103: | Line 115: | ||
</templatedata> | </templatedata> | ||
{{Template:MoinMarkup/TemplateBoilerplate}} | |||
Some notes about this template: | |||
* smileys are discussed in [https://wiki.debian.org/HelpOnSmileys HelpOnSmileys] | |||
* most or all MoinMoin smileys are also accessible using [https://wiki.debian.org/HelpOnMacros#:~:text=%3C%3CIcon the <<Icon>> macro] - see [https://moinmo.in/HelpOnNavigation#Icon the list of icons] | |||
** see [[Template:MoinMarkup/Macro]] for the MediaWiki implementation of <tt><<Icon>></tt> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 22:53, 15 March 2026
<onlyinclude>{{#switch: {{{smiley|{{{1|}}}}}}
| /!\
| alert = ⚠️
| X-(
| angry = 😡
| <!>
| attention = ❗️
| :D
| biggrin = 😁
| (./)
| checkmark = ✔️
| >:>
| devil = 😈
| <:(
| frown = 😢
| {X}
| icon-error = ❌
| {i}
| icon-info = ℹ️
| (!)
| idea = 💡
| :\
| ohwell = 🫤
| {1}
| prio1 = 1️⃣
| {2}
| prio2 = 2️⃣
| {3}
| prio3 = 3️⃣
| :o
| redface = 😮
| :(
| :-(
| sad = 😕
| :)
| :-)
| smile = 🙂
| B)
| B-)
| smile2 = 😎
| :))
| :-))
| smile3 = 😄
| ;)
| ;-)
| smile4 = 😉
| {o}
| star_off = ⭐️
| {*}
| star_on = 🌟
| {OK}
| thumbs-up = 👍
| {{!}})
| {{!}}-)
| tired = 😴
| :-?
| tongue = 😛
| [[Category:Pages with unknown smileys]]{{{smiley|{{{1|}}}}}}
}}{{Template:MoinMarkup/Boilerplate}}</onlyinclude>
Unreviewed smiley imported from MoinMoin
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| MoinMarkupID | MoinMarkupID | Unique ID for this template on the page, must be the first parameter. | Number | deprecated |
| smiley | smiley 1 | Smiley to show
| Line | required |
| MoinMarkupID2 | MoinMarkupID2 | Same value as MoinMarkupID=, guaranteed to be the last parameter | Number | deprecated |
Please do not create new instances of this template.
When this wiki was converted from MoinMoin, we used MoinMarkup templates to represent anything that didn't translate neatly between the two formats. The goal is to gradually replace these with native MediaWiki equivalents.
The program that converted the old MoinMoin source always passes a unique MoinMarkupID= value as the first parameter, and the same value in MoinMarkupID2= as the last parameter. If you want to mass-edit every instance of this template (e.g. with the Replace Text extension), you should be able to search for something like {{MoinMarkup/Smiley|MoinMarkupID=(\d+)(.*)|MoinMarkupID2=\1}}.
Some notes about this template:
- smileys are discussed in HelpOnSmileys
- most or all MoinMoin smileys are also accessible using the <<Icon>> macro - see the list of icons
- see Template:MoinMarkup/Macro for the MediaWiki implementation of <<Icon>>