Template:InfoBox facebook/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 Facebook page.
Parameters
unnamed
- Specify the relevant location of the software or project after the ending
/
(forward slash) of the https://www.facebook.com/ URL. For example to usinggentoo.org
will link to Gentoo's project page on Facebook (https://www.facebook.com/gentoo.org).
header
(optional)- Add a Resources heading.
raw
(optional)- Specify a custom URL. Useful for strangely formatted URLs.
text
(optional)- Change the text. Default: Facebook.
Usage
See the template's testcases:
Parameter: unnamed | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox facebook|gentoo.org}}
}}
|
Main version | |
Sandbox version |
Parameter:header | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox facebook|gentoo.org|header=true}}
}}
|
Main version | Resources
|
Sandbox version | Resources
|
Parameter: raw | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox facebook|https://www.facebook.com/gentoo.org|raw=true}}
}}
|
Main version | |
Sandbox version |
Parameter: unnamed, text | |
---|---|
Wiki code | {{InfoBox stack
|{{InfoBox facebook|gentoo.org|text=Other text}}
}}
|
Main version | |
Sandbox version |