Template:Emoji: Difference between revisions
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
SomebodyRum (talk | contribs) mNo edit summary |
SomebodyRum (talk | contribs) mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | <noinclude><!-- | ||
================================================== | ================================================== | ||
TEMPLATE NAME: Emoji | TEMPLATE NAME: Emoji | ||
Adds an inline emoji into text flow without breaking the line. | |||
================================================== | ================================================== | ||
--> | USAGE: | ||
<templatestyles src="Template:Emoji/styles.css"/ | {{Emoji|name|size}} | ||
PARAMETERS: | |||
- 1: name | |||
- 2: size (e.g., x20px) | |||
================================================== | |||
--></noinclude><templatestyles src="Template:Emoji/styles.css"/><span class="emoji-wrapper">[[File:{{#switch: {{{1|}}} | |||
<!-- Variants --> | <!-- Variants --> | ||
| doctos = Doctos.png | | doctos = Doctos.png | ||
| Line 45: | Line 50: | ||
<!-- Misc --> | <!-- Misc --> | ||
| null = Null.jpeg | | null = Null.jpeg | ||
| roblox = Transgender_robloxian.png | | roblox = Transgender_robloxian.png | ||
}}|{{#if:{{{2|}}}|{{{2}}}| | }}|frameless|{{#if:{{{2|}}}|{{{2}}}|x30px}}|class=emoji-img|link=]]</span><noinclude>{{documentation}}</noinclude> | ||