Template:InfoBox twitter

From Gentoo Wiki
Jump to:navigation Jump to:search
[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to create an infobox link to the software or project's Twitter account page.

Parameters

unnamed
Specify the relevant location of the software or project after the ending / (forward slash) of the https://twitter.com/ URL. For example to using gentoo will link to Gentoo's Twitter account via https://twitter.com/gentoo.
header (optional)
Add a Resources heading.
raw (optional)
Specify a custom URL. Useful for strangely formatted URLs (probably not necessary for Twitter).
text (optional)
Change the text. Default: Twitter.

Usage

See the template's testcases:


Parameter: unnamed
Wiki code {{InfoBox stack |{{InfoBox twitter|gentoo}} }}

Main version
Sandbox version
Parameter:header
Wiki code {{InfoBox stack |{{InfoBox twitter|gentoo|header=true}} }}

Main version
Resources
Sandbox version
Resources
Parameter: raw
Wiki code {{InfoBox stack |{{InfoBox twitter|https://twitter.com/gentoo|raw=true}} }}

Main version
Sandbox version
Parameter: unnamed, text
Wiki code {{InfoBox stack |{{InfoBox twitter|gentoo|text=Other text}} }}

Main version
Sandbox version

See also

Note
The above documentation is transcluded from Template:InfoBox twitter/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)