Template:PageSeo: Difference between revisions

    From FeministWiki
    (Created page with "{{#seo: |title = {{PAGENAME}} - {{SITENAME}} |keywords = {{{PAGENAME}}}, {{SITENAME}}, feminism, wiki, feminist wiki |description = {{{description}}} |twitter:card=summary |tw...")
     
    (Add documentation.)
    (8 intermediate revisions by the same user not shown)
    Line 1: Line 1:
    {{#seo:
    <includeonly>{{#seo:
    |title = {{PAGENAME}} - {{SITENAME}}
    |title = {{{title|{{PAGENAME}}}}} - {{SITENAME}}
    |keywords = {{{PAGENAME}}}, {{SITENAME}}, feminism, wiki, feminist wiki
    |keywords = {{{keywords|{{PAGENAME}}}}}, {{SITENAME}}, feminism, wiki, feminist wiki, radical feminism, radfem, gender critical
    |description = {{{description}}}
    |description = {{{description}}}
    |twitter:card=summary
    |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>
    See the source of the template to see the default values for the settings, and text that is automatically appended to some of the settings.
    </noinclude>

    Revision as of 20:05, 6 May 2020

    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
    }}
    

    See the source of the template to see the default values for the settings, and text that is automatically appended to some of the settings.