Template:PageSeo: Difference between revisions

    From FeministWiki
    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>

    Revision as of 00:26, 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}} - FeministWiki
    • keywords: {{PAGENAME}}, FeministWiki, feminism, wiki, feminist wiki, radical feminism, radfem, gender critical

    If you provide the title parameter, it will automatically have - FeministWiki appended to it.

    If you provide the keywords parameter, it will automatically have , FeministWiki, 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 fulltitle and fullkeywords instead.