Template:SEO: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) m (Undo revision 16837 by CptTwinkie (talk)) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|description={{{description|}}} | |description={{{description|}}} | ||
|og:type=article | |og:type=article | ||
|og:image={{{image_url}}} | |og:image={{#if:{{{image_url|}}}|{{{image_url}}}|http://www.medievalengineerswiki.com/resources/assets/ME_LOGO_WIKI.png}} | ||
}} | }}</includeonly><!-- | ||
</includeonly> | |||
<noinclude> | |||
<pre>{{SEO |image_url= |description= }}</pre> | --><noinclude>==Usage== | ||
</noinclude> | The SEO template is meant to be used in every page. It provides metadata for search engines and link embedding in social media and chat apps. The image should be > 400px ideally, however smaller images can be used if nothing larger is available or appropriate. The description should be short (1 long or 2 short sentences) since it will be truncated in most uses. | ||
<pre>{{SEO|image_url=<fullURL>|description=<short>}}</pre> | |||
*The code above can and should be pasted into all pages. | |||
*If the image_url is excluded the wiki logo will be used instead. | |||
{{:Template Ordering}} | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 16:20, 21 September 2018
Usage
The SEO template is meant to be used in every page. It provides metadata for search engines and link embedding in social media and chat apps. The image should be > 400px ideally, however smaller images can be used if nothing larger is available or appropriate. The description should be short (1 long or 2 short sentences) since it will be truncated in most uses.
{{SEO|image_url=<fullURL>|description=<short>}}
- The code above can and should be pasted into all pages.
- If the image_url is excluded the wiki logo will be used instead.
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.