Шаблон:PageSeo: відмінності між версіями
bg3>Taylan Немає опису редагування |
587 (обговорення | внесок) (Створена сторінка: <includeonly><div style="display: none;">{{#seo: | type = {{{type|article}}} | site_name = Baldur's Gate 3 Wiki | title = {{{fulltitle|{{{title|{{PAGENAME}}}}} - {{SITENAME}}}}} | keywords = {{{fullkeywords|{{{keywords|{{PAGENAME}}}}}, Baldur's Gate 3 Wiki, BG3 Wiki, Baldur's Gate 3, BG3, Wiki, bg3.wiki}}} | description = {{{description|Read about {{PAGENAME}} on bg3.wiki, the Baldur's Gate 3 Wiki curated by the community.}}} | image = {{{image|}}} }}</div...) |
(Немає відмінностей)
|
Версія за 04:03, 24 серпня 2023
Use this template to optimize a page for SEO. It uses the {{#seo:}}
tag underneath, which is added by the WikiSEO extension.
Generally, it's a good idea to provide a description and an image, which don't have good default values. According to various web pages, an ideal description is apparently around 160 characters. Search engines might display the description under the title of the page in the results, where they would otherwise use an auto-generated preview snippet based on page contents. Note that Google completely ignores the keywords, according to a blog article they published in 2009.
Example usage:
{{PageSeo | title = An alternative title | keywords = blah, blub, blip | description = A summary of what this wiki page is about | image = Some_image.jpg | type = article }}
Default values:
title
: {{PAGENAME}} - Вікі D&D українськоюkeywords
: {{PAGENAME}}, Baldur's Gate 3 Wiki, BG3 Wiki, Baldur's Gate 3, BG3, Wiki, bg3.wikitype
: article
If you provide title
, it will automatically have - Вікі D&D українською
appended to it.
If you provide keywords
, it will automatically have , Baldur's Gate 3 Wiki, BG3 Wiki, Baldur's Gate 3, BG3, Wiki, bg3.wiki
appended to it.
If you would like to control the full title or keywords tag contents without those automatic additions, you can instead use fulltitle
and fullkeywords
.
But as mentioned above, usually you should only provide a description and an image like this:
{{PageSeo | description = | image = }}