Template:Showsearchnews: Difference between revisions
Jump to navigation
Jump to search
Jacki Buros (talk | contribs) No edit summary |
Jacki Buros (talk | contribs) No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing="5" cellpadding="0" style="margin:0em 0em 1em 0em; border:1px solid #1DA0E7; background:#B3DDF4;width:100%"| ''''' Related Topics from WikiDoc News'''''| | <includeonly>{| cellspacing="5" cellpadding="0" style="margin:0em 0em 1em 0em; border:1px solid #1DA0E7; background:#B3DDF4;width:100%" | ||
| ''''' Related Topics from WikiDoc News''''' | |||
|- | |||
|{{searchnews|find={{PAGENAME}}{{#if:{{#var:searchnews|}}|{{!}}find1={{#var:searchnews}}}}}} | |||
|}</includeonly><noinclude> | |||
== 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: | |||
: <pre><nowiki>{{keywords|term1|term2|....}}</nowiki></pre> | |||
: using [[:Template:Keywords]] in a page accomplishes two things -- | |||
:# Adds keywords to <nowiki><meta></nowiki> tags for SEO | |||
:# Includes keywords as search terms for related news articles (case-insensitive). | |||
* See [[:Template:Searchnews]] for more info about keyword formatting & specification | |||
</noinclude> |
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 --
- Adds keywords to <meta> tags for SEO
- Includes keywords as search terms for related news articles (case-insensitive).
- See Template:Searchnews for more info about keyword formatting & specification