Template:Showsearchnews: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:
| ''''' Related Topics from WikiDoc News'''''
| ''''' Related Topics from WikiDoc News'''''
|-
|-
|{{searchnews|articlecount=3|find={{PAGENAME}}{{#if:{{#var:searchnews|}}|{{!}}find1={{#var:searchnews}}}}}}
|{{searchnews|find={{PAGENAME}}{{#if:{{#var:searchnews|}}|{{!}}find1={{#var:searchnews}}}}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
== Template usage ==
== Template usage ==

Latest revision as of 23:50, 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|....}}
using Template:Keywords in a page accomplishes two things --
  1. Adds keywords to <meta> tags for SEO
  2. Includes keywords as search terms for related news articles (case-insensitive).