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 = {{{fulltitle|{{{title|{{PAGENAME}}}}} - {{SITENAME}}}}} | |title = {{{fulltitle|{{{title|{{PAGENAME}}}}} - {{SITENAME}}}}} | ||
|keywords = {{{fullkeywords|{{{keywords|{{PAGENAME}}}}}, {{SITENAME}}, baldur's gate 3, bg3, wiki | |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> | ||
Default values: | |||
* {{c|title}}: <nowiki>{{PAGENAME}}</nowiki> - {{SITENAME}} | |||
* {{c|keywords}}: <nowiki>{{PAGENAME}}</nowiki>, {{SITENAME}}, baldur's gate 3, bg3, wiki | |||
If you provide the {{c|title}} parameter, it will automatically have {{c| - {{SITENAME}}}} appended to it. | |||
If you provide the {{c|keywords}} parameter, it will automatically have {{c|, {{SITENAME}}, baldur's gate 3, bg3, wiki}} appended to it. | |||
If you would like to control the full title or keywords tag contents, you can use {{c|fulltitle}} and {{c|fullkeywords}} instead. | |||
</noinclude> | </noinclude> |
Revision as of 00:23, 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 }}
Default values:
title
: {{PAGENAME}} - bg3.wikikeywords
: {{PAGENAME}}, bg3.wiki, baldur's gate 3, bg3, wiki
If you provide the title
parameter, it will automatically have - bg3.wiki
appended to it.
If you provide the keywords
parameter, it will automatically have , bg3.wiki, baldur's gate 3, bg3, wiki
appended to it.
If you would like to control the full title or keywords tag contents, you can use fulltitle
and fullkeywords
instead.