Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Template:MoinMarkup/Smiley: Difference between revisions

From Debian Wiki
No edit summary
Compare with <<Icon>>
 
(One intermediate revision by the same user not shown)
Line 62: Line 62:
{
{
"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 105: Line 117:
{{Template:MoinMarkup/TemplateBoilerplate}}
{{Template:MoinMarkup/TemplateBoilerplate}}


MoinMoin supports [https://wiki.debian.org/HelpOnSmileys smileys] that aren't supported by default by MediaWiki.  This page converts those smileys to file links.
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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
MoinMarkupIDMoinMarkupID

Unique ID for this template on the page, must be the first parameter.

Numberdeprecated
smileysmiley 1

Smiley to show

Suggested values
alert angry attention biggrin checkmark devil frown icon-error icon-info idea ohwell prio1 prio2 prio3 redface sad smile smile2 smile3 smile4 star_off star_on thumbs-up tired tongue
Example
smile
Linerequired
MoinMarkupID2MoinMarkupID2

Same value as MoinMarkupID=, guaranteed to be the last parameter

Numberdeprecated

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: