Difference between revisions of "Template:Jfa-meta"
From JFA Wiki
Greg.Fuller (talk | contribs) (→Usage and Parameters) |
Greg.Fuller (talk | contribs) |
||
Line 9: | Line 9: | ||
| twitter:image:src = https://{{SERVERNAME}}/images/jfa-round-logo-jfa-wiki-facebook-share-200-200.png | | twitter:image:src = https://{{SERVERNAME}}/images/jfa-round-logo-jfa-wiki-facebook-share-200-200.png | ||
}} | }} | ||
+ | |||
+ | <div style="display:none" class="jfa-hidden-meta" title="{{{title}}}"> | ||
+ | </div> | ||
<noinclude> | <noinclude> |
Revision as of 05:02, 2 March 2019
Purpose
This template controls the meta tags used for search engine optimization (SEO). Perhaps, more importantly, it provides descriptive information for Facebook and Twitter when you share a page on one of those platforms.
Dependencies
This template depends on the WikiSeo extension being installed and loaded.
Usage and Parameters
Place the template toward the bottom of the page after the Meta heading, and after any text under the Meta, heading but before any category tags. This template should be on every page in the Main namespace.
{{jfa meta | title = This is the title of the page | keywords = keyword1, keyword2, keyword3 | description = A description of the page goes here, and can be wrapped to multiple lines. Take care to leave a space at the end of each line. And also be sure and leave off the vertical bars on second and subsequent lines. }}