ទំព័រគំរូ:Google+
The external links guideline recommends avoiding links to social networking profiles unless the profile is an official account, "controlled by the subject (organization or individual person) of the Wikipedia article" and when the links to Google+ "provide the reader with unique content and are not prominently linked from other official websites". |
Purpose
[កែប្រែ]The {{Google+}} template is designed to replace hard-coded URLs to Google+'s website, http://plus.google.com, with a syntax that is both easy to understand and use. There are two main examples of its use: in "External links" sections, and in reference citations (although you may use the template anywhere that is permitted under policy guidelines and consensus). The template is designed to improve and standardise the formatting and rendering of Google+ URLs.
Benefits
[កែប្រែ]Using the {{Google+}} template provides the following benefits:
- It makes it easier for readers to locate similar information in different articles. Because the template is rendered the same way on every article, it is more intuitive for the reader to locate Google+ links.
- It makes it simpler for editors to insert appropriate Google+ links into articles. Because editors now only have to supply an ID, they no longer have to enter the full Google+ URL, nor do they have to second-guess the link text to use (which varies widely without the use of templates). For example, instead of entering in the External links section of an article: [https://plus.google.com/109813896768294978296/about Sergey Brin] on [[Google Plus]], an editor now need only enter: {{Google+|109813896768294978296}}.
- The template renders to a succinct link text which helps to reduce clutter for the reader.
- When used in a reference (e.g. in {{Cite web}}), the template helps editors by using less syntax. This helps to reduce the space that <ref>...</ref> coding occupies in an article.
Usage
[កែប្រែ]Up to three parameters can be supplied to the template:
- The first parameter is the numerical ID or a username as it appears in the Google+ url, e.g. 109813896768294978296 in https://plus.google.com/109813896768294978296 or +SergeyBrin in https://plus.google.com/+SergeyBrin.
- The ID parameter is mandatory. To find the ID, locate the required account at Google+ (e.g. by performing a search there), and then copying the long string of digits out of the URL (in the address bar of the browser) after selecting a search result.
- The second parameter is the account name as it should appear in the visible text of the link, e.g. "Sergey Brin". It defaults to the article title if not supplied.
- The name parameter is not needed if the article title is the actual name of the person. Supply the name parameter if the name of the person is not the same as the article title, e.g. if there are brackets after the name, as is the case with the "Tony Horton (exercise instructor)" example below.
- The third parameter is the destination sub-page for the Google+ account, e.g. about in https://plus.google.com/109813896768294978296/about.
- The page parameter can be one of the following values: posts, about, photos, videos, or plusones. If the page parameter is not supplied, or if something other than one of the accepted values is supplied, the page parameter will default to: about. The default (about) is a good choice to be used when the Google+ account is to be used in a citation.
Note that if using named parameters (e.g. "id=", "name=", or "page="), it is not necessary to provide all parameters, e.g. as is the case in the third example given below (where there is no name parameter).
Examples
[កែប្រែ]When used on the article Sergey Brin: | Produces: |
{{Google+|+SergeyBrin}} | Sergey Brin on Google+ |
When used on the article Tony Horton (exercise instructor): | Produces: |
{{Google+|112063946124358686266|name=Tony Horton}} | Tony Horton on Google+ |
When used on the article Sergey Brin: | Produces a link that will land on the photos sub-page: |
{{Google+|109813896768294978296|page=photos}} | Sergey Brin on Google+ |
To-do
[កែប្រែ]- None at the moment.