Template:InfoBox twitter/doc
From Gentoo Wiki
Jump to:navigation
Jump to:search
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.
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 usinggentoo
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 |