- 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
No edit summary Tag: Reverted |
m Reverted edits by MarioMario456 (talk) to last revision by P0008874 Tags: Rollback Reverted |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:X_logo_2023.svg|16px|link=https://twitter.com/{{{1}}}]] [https://twitter.com/{{{1}}} '''{{{2|{{{1}}}}}}''']</span></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Indicates a link to a [[ | Indicates a link to a [[Twitter]] profile. | ||
=== Syntax === | === Syntax === | ||
'''<nowiki>{{ | '''<nowiki>{{ twitter | profile | description }}</nowiki>''' | ||
# '''profile''' - the last portion of the URL to a | # '''profile''' - the last portion of the URL to a Twitter 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>{{twitter|example}}</nowiki> | ||
produces:<br /> | produces:<br /> | ||
{{ | {{twitter|example}} | ||
<br /> | <br /> | ||
<nowiki>{{ | <nowiki>{{twitter|example2|Some random faggot}}</nowiki> | ||
produces:<br /> | produces:<br /> | ||
{{ | {{twitter|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 02:56, 1 October 2024
Usage
Indicates a link to a Twitter profile.
Syntax
{{ twitter | profile | description }}
- profile - the last portion of the URL to a Twitter 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
{{twitter|example}}
produces:
File:X logo 2023.svg example
{{twitter|example2|Some random faggot}}
produces:
File:X logo 2023.svg Some random faggot
Fuck you Elon Musk.