Template:Seo/doc: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 8:
|keywords =
|description =
|image =
 
|og-type =
Line 38 ⟶ 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> - Paste the direct link of the main image of the page, usually the one that best describes the subject. Use a direct link to the image; you can get this by right-clicking on the image and selecting "Copy image address". If left blank, defaults to <code>https://static.miraheze.org/simswiki/c/cc/TSW_logo_with_white.png</code>, which is the wiki's logo.
 
===Optional parameters===
Line 47 ⟶ 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.png.
* <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 66 ⟶ 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> - UnknownThe image to use for Twitter Cards. If blank, defaults to whatever is specified in <code>image</code>, butelse defaults to https://static.miraheze.org/simswiki/c/cc/TSW_logo_with_white.png. Seems to also be deprecated.
* <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 182 ⟶ 184:
"description": "The meta description of the page. Keep it simple, clear, and concise.",
"type": "string"
},
"image": {
"label": "Image",
"description": "Paste the direct link of the main image of the page, usually the one that best describes the subject. Use a direct link to the image; you can get this by right-clicking on the image and selecting \"Copy image address\". 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
}
},
"paramOrder": [
"keywords",
"image",
"description",
"og-type",