Jump to content

Template:PageSeo: Difference between revisions

no edit summary
mNo edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#seo:
<includeonly>{{#seo:
|title = {{{title|{{PAGENAME}}}}} - {{SITENAME}}
|title = {{{fulltitle|{{{title|{{PAGENAME}}}}} - {{SITENAME}}}}}
|keywords = {{{keywords|{{PAGENAME}}}}}, {{SITENAME}}, feminism, wiki, feminist wiki, radical feminism, radfem, gender critical
|keywords = {{{fullkeywords|{{{keywords|{{PAGENAME}}}}}, {{SITENAME}}, feminism, wiki, feminist wiki, radical feminism, radfem, gender critical}}}
|description = {{{description}}}
|description = {{{description}}}
|image = {{{image|FeministWiki_banner.png}}}
|image = {{{image|FeministWiki_banner.png}}}
}}</includeonly><noinclude>
Use this template to optimize a page for SEO.  It uses the <code><nowiki>{{#seo:}}</nowiki></code> tag underneath, which is added by the WikiSEO plugin.
Example usage:
<pre>
{{PageSeo
|title = An alternative title
|keywords = blah, blub, blip
|description = A summary of what this wiki page is about
|image = Some_image.jpg
}}
}}
</pre>
Default values:
* {{c|title}}: <nowiki>{{PAGENAME}}</nowiki> - {{SITENAME}}
* {{c|keywords}}: <nowiki>{{PAGENAME}}</nowiki>, {{SITENAME}}, feminism, wiki, feminist wiki, radical feminism, radfem, gender critical
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}}, feminism, wiki, feminist wiki, radical feminism, radfem, gender critical}} 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>