Template:Showsearchnews: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
== Template usage ==
== Template usage ==
* Meant to be included in the footer of each page according to [[:Mediawiki:bottom-notice-ns-0]]
* Meant to be included in the footer of each page according to [[:Mediawiki:bottom-notice-ns-0]]
* Search terms determined on each page, by using [[:Template:Keywords]], as follows:
* Search terms include the page title, and other terms defined in [[:Template:Keywords]], which is meant to be included somewhere in the wikitext of an article as follows:
: <pre><nowiki>{{keywords|term1|term2|....}}</nowiki></pre>
: <pre><nowiki>{{keywords|term1|term2|....}}</nowiki></pre>
: This template does two things --  
: [[:Template:Keywords]] does two things --  
:# Adds keywords to <nowiki><meta></nowiki> tags for SEO
:# Adds keywords to <nowiki><meta></nowiki> tags for SEO
:# Includes keywords as search terms for related news articles
:# Includes keywords as search terms for related news articles


</noinclude>
</noinclude>

Revision as of 07:15, 17 February 2009

Template usage

  • Meant to be included in the footer of each page according to Mediawiki:bottom-notice-ns-0
  • Search terms include the page title, and other terms defined in Template:Keywords, which is meant to be included somewhere in the wikitext of an article as follows:
{{keywords|term1|term2|....}}
Template:Keywords does two things --
  1. Adds keywords to <meta> tags for SEO
  2. Includes keywords as search terms for related news articles