- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Twitter: Difference between revisions
Jump to navigation
Jump to search
m MarioMario456 moved page Template:Twitter to Template:X over redirect: it's about time someone moved this to the new name |
No edit summary Tag: Reverted |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
Indicates a link to a [[Twitter]] profile. | Indicates a link to a [[X.com|X (formerly Twitter)]] profile. | ||
=== Syntax === | === Syntax === | ||
'''<nowiki>{{ | '''<nowiki>{{ X | profile | description }}</nowiki>''' | ||
# '''profile''' - the last portion of the URL to a | # '''profile''' - the last portion of the URL to a X page, after the slash | ||
# '''description''' (''optional'') - replaces the profile name with your text | # '''description''' (''optional'') - replaces the profile name with your text | ||
Line 14: | Line 14: | ||
=== Examples === | === Examples === | ||
<nowiki>{{ | <nowiki>{{X|example}}</nowiki> | ||
produces:<br /> | produces:<br /> | ||
{{ | {{X|example}} | ||
<br /> | <br /> | ||
<nowiki>{{ | <nowiki>{{X|example2|Some random faggot}}</nowiki> | ||
produces:<br /> | produces:<br /> | ||
{{ | {{X|example2|Some random faggot}} | ||
Fuck you [[Elon Musk]]. | Fuck you [[Elon Musk]]. | ||
[[Category:Link Templates|{{PAGENAME}}]]</noinclude> | [[Category:Link Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 23:48, 10 September 2024
Usage
Indicates a link to a X (formerly Twitter) profile.
Syntax
{{ X | profile | description }}
- profile - the last portion of the URL to a X page, after the slash
- description (optional) - replaces the profile name with your text
Note: do not use whitespace immediately before or after vertical bars or curly brackets
Examples
{{X|example}}
produces:
File:X logo 2023.svg example
{{X|example2|Some random faggot}}
produces:
File:X logo 2023.svg Some random faggot
Fuck you Elon Musk.