Template:PageSeo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#seo: | <includeonly>{{#seo: | ||
|title = {{{title|{{PAGENAME}}}}} - {{SITENAME}} | |title = {{{fulltitle|{{{title|{{PAGENAME}}}}} - {{SITENAME}}}}} | ||
|keywords = {{{keywords|{{PAGENAME}}}}}, {{SITENAME}}, baldur's gate, | |keywords = {{{fullkeywords|{{{keywords|{{PAGENAME}}}}}, {{SITENAME}}, baldur's gate 3, bg3, wiki}}}}}} | ||
|description = {{{description}}} | |description = {{{description}}} | ||
|image = {{{image|BG3Logo.webp}}} | |image = {{{image|BG3Logo.webp}}} | ||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
The {{c|title}} and {{c|keywords}} parameters will automatically have more text appended to them. (The title will have " - BG3Wiki" added to the end, and the keywords will have ", baldur's gate 3, bg3, wiki" added to the end.) You may instead use {{c|fulltitle}} and {{c|fullkeywords}} to control the fully generated title/keywords without anything added automatically. | |||
</noinclude> | </noinclude> |
Revision as of 00:17, 31 December 2021
Use this template to optimize a page for SEO. It uses the {{#seo:}}
tag underneath, which is added by the WikiSEO plugin.
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 }}
The title
and keywords
parameters will automatically have more text appended to them. (The title will have " - BG3Wiki" added to the end, and the keywords will have ", baldur's gate 3, bg3, wiki" added to the end.) You may instead use fulltitle
and fullkeywords
to control the fully generated title/keywords without anything added automatically.