Template:PageSeo: Difference between revisions

    From FeministWiki
    No edit summary
    No edit summary
     
    (3 intermediate revisions by the same user not shown)
    Line 1: Line 1:
    {{#seo:
    <includeonly><div style="display: none;">{{#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}}}
    |image = {{{image|FeministWiki_banner.png}}}
    }}</div></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>

    Latest revision as of 14:04, 18 January 2024

    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.