Template:Seo/doc: Difference between revisions

Jump to navigation Jump to search
260 bytes removed ,  5 years ago
no edit summary
No edit summary
No edit summary
Line 39:
* <code>keywords</code> - Add search engine keywords here, separated by commas. Example: <code>the sims, sims, wiki</code>
* <code>description</code> - The meta description for the page. Keep it short, concise, and effective. In articles, including the first few lines of the lede often makes for a good description. Defaults to <code>The Sims Wiki is a website about The Sims that anyone can contribute to. Content includes The Sims, The Sims 2, The Sims 3, The Sims 4, and more.</code> if left blank.
* <code>image</code> - PasteThe the direct linkname of the main image of the page, usually the one that best describes the subject. UseDo anot direct link toinclude the image;"File:" youprefix can(so getfor thisa byfile right-clickinglike on[[:File:Bella the image and selecting "Copy image address"Goth. If left blankpng]], defaults totype <code>https://static.miraheze.org/simswiki/c/cc/TSW_logo_with_whiteBella Goth.png</code>. If left blank, whichdefaults isto the wiki's logo.
 
===Optional parameters===
Line 49:
===Open Graph protocol===
* <code>og-type</code> - Changes the Open Graph type of the object. If left blank, defaults to <code>website</code>.
* <code>og-image</code> - The image to use for the Open Graph protocol. If blank, defaults to whatever is specified in <code>image</code>, else defaults to https://static.miraheze.org/simswiki/c/cc/TSW_logo_with_white.pngthe wiki's logo.
* <code>og-site_name</code> - The name of the larger web site the object belongs to. Defaults to <code>The Sims Wiki</code>.
* <code>og-locale</code> - The locale of the object, in the format <code>language_TERRITORY</code>. Defaults to <code>en_US</code>.
Line 68:
* <code>twitter-domain</code> - The name of the website. Technically deprecated. Defaults to <code>The Sims Wiki</code>.
* <code>twitter-creator</code> - The username of the creator of the content.
* <code>twitter-image-src</code> - The image to use for Twitter Cards and link embeds. If blank, defaults to whatever is specified in <code>image</code>, else defaults to https://static.miraheze.org/simswiki/c/cc/TSW_logo_with_white.pngthe wiki's logo.
* <code>twitter-description</code> - The meta description of the page. Defaults to whatever is specified in <code>description</code>, otherwise defaults to <code>The Sims Wiki is a website about The Sims that anyone can contribute to. Content includes The Sims, The Sims 2, The Sims 3, The Sims 4, and more.</code>
 
Line 114:
"og-image": {
"label": "Open Graph Image",
"description": "The image to use for the Open Graph protocol. UseLeave ablank directto linkuse towhatever you specified in the image\"Image\" parameter.",
"example": "https://static.miraheze.org/simswiki/c/cc/TSW_logo_with_white.png",
"type": "string"
},
Line 177 ⟶ 176:
"twitter-image-src": {
"label": "Twitter Image Source",
"description": "The image used for Twitter Cards and link embeds. Leave blank to use whatever you specified in the \"Image\" parameter.",
"description": "Unknown.",
"type": "string"
},
Line 187 ⟶ 186:
"image": {
"label": "Image",
"description": "PasteThe the direct linkname of the main image of the page, usually the one that best describes the subject. UseDo anot direct link toinclude the image; you can get this by right-clicking on the image and selecting \"Copy image addressFile:\" prefix. If left blank, defaults to https://static.miraheze.org/simswiki/c/cc/TSW_logo_with_white.png, which is the wiki's logo.",
"type": "string",
"suggested": true,
"example": "Bella Goth.png"
}
},
"paramOrder": [
"keywords",
"description": "Unknown.",
"image",
"description",
"og-type",
"og-image",
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu