Jump to content

Template:PageSeo: Difference between revisions

no edit summary
No edit summary
No edit summary
(5 intermediate revisions 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
|keywords = {{{fullkeywords|{{{keywords|{{PAGENAME}}}}}, {{SITENAME}}, feminism, wiki, feminist wiki, radical feminism, radfem, gender critical}}}
|description = {{{description}}}
|description = {{{description}}}
|twitter:card=summary_large_image
|image = {{{image|FeministWiki_banner.png}}}
|twitter:site=@FeministWiki
}}</includeonly><noinclude>
|twitter:image:src=https://feministwiki.org/w/resources/assets/twitter-image.png
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.
|google-site-verification=RZf8hzu0sR32H9OsEXa3-aN3LzE4T2nLPg1s9SrJgJI
 
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>