Template:2011FR/lp-social-media: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
moving from foundation |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html>< |
<html><div style="display: none;" id="description-for-facebook"></html>{{{description|Wikipedia is something special. It is like a library or a public park. It is like a temple for the mind. It is a place we can all go to think, to learn, to share our knowledge with others. It is a unique human project, the first of its kind in history. It is a humanitarian project to bring a free encyclopedia to every single person on the planet.}}}<html></div> |
||
<link rel="image_src" href="</html>{{{image|<nowiki>//upload.wikimedia.org/wikipedia/foundation/9/9a/Wikimediafoundation-logo.png</nowiki>}}}<html>" /></html> |
<link rel="image_src" href="</html>{{{image|<nowiki>//upload.wikimedia.org/wikipedia/foundation/9/9a/Wikimediafoundation-logo.png</nowiki>}}}<html>" /></html> |
||
<includeonly>{{DISPLAYTITLE:{{{title|Keep Wikipedia Free}}} }}</includeonly><noinclude>{{/doc}}</noinclude> |
<includeonly>{{DISPLAYTITLE:{{{title|Keep Wikipedia Free}}} }}</includeonly><noinclude>{{/doc}}</noinclude> |
Latest revision as of 11:02, 14 December 2011
This template adds some extra hidden content to a page, to be picked up when it's shared on Facebook. Note that this template must be the first thing to appear on a page for it to work, and the "title" parameter will only work on wikis with Manual:$wgRestrictDisplayTitle set to false (wikimediafoundation.org is one of these). Facebook's debugger can be used to test, and force an update of their cache.
{{2011FR/lp-social-media |title = Title for sharing. Default is "Keep Wikipedia Free". |description = Description of the link. For some reason this has to be above a certain (undetermined) length or it won't be picked up. Test with the debugger. |image = Relative URL of image to display, default is "//upload.wikimedia.org/wikipedia/foundation/9/9a/Wikimediafoundation-logo.png" }}