Difference between revisions of "Template:Twitter"

From Lolibrary Wiki
Line 1: Line 1:
{{social | url=https://twitter.com/{{urlencode:{{{1}}}|PATH}} | display={{{1}}} | class=twitter}}
{{social | url=https://twitter.com/{{urlencode:{{{1}}}|PATH}} | display={{{1}}} | class=twitter}}
<noinclude>
{{Documentation|content=
Provides a uniform way for embedding twitter links
== Usage ==
{{Parameter names example
| <!-- twitter username -->
}}
<syntaxhighlight lang="html" style="overflow: hidden; background: unset;">
{{Twitter | <!-- username -->}}
</syntaxhighlight>
{{Clear}}
}}
<templatedata>
{
    "description": "Standardized twitter link",
    "params": {
        "1": {
            "label": "username",
            "description": "Twitter username",
            "type": "string"
        }
    },
    "paramOrder": [
    "1"
    ]
}
</templatedata>
</noinclude>

Revision as of 17:55, 12 July 2021

{{{1}}}


Template documentation

Provides a uniform way for embedding twitter links

Usage

{{{1}}}


{{Twitter | <!-- username -->}}

Standardized twitter link

Template parameters

ParameterDescriptionTypeStatus
username1

Twitter username

Stringoptional