Difference between revisions of "Template:Keywords"
From The Lion King Wiki
								
												
				| Line 1: | Line 1: | ||
| − | <includeonly>{{#vardefine:i|1}}{{#while:  | + | <includeonly><keywords content="{{#vardefine:i|1}}{{#while:  | 
|{{{{{#var:i}}|}}}  | |{{{{{#var:i}}|}}}  | ||
|<nowiki/>{{#ifexpr:{{#var:i}} > 1|, }}{{{ {{#var: i }} }}}{{#vardefine: i| {{ #expr: {{ #var: i }} + 1 }}   }}    | |<nowiki/>{{#ifexpr:{{#var:i}} > 1|, }}{{{ {{#var: i }} }}}{{#vardefine: i| {{ #expr: {{ #var: i }} + 1 }}   }}    | ||
| − | }}</includeonly><noinclude>  | + | }}" /></includeonly><noinclude>  | 
{{/doc}}  | {{/doc}}  | ||
[[Category:Special templates]]  | [[Category:Special templates]]  | ||
Revision as of 23:48, 6 April 2011
|  Sorry! This template doesn't work right now. 
 | 
This is a special template that takes any number of parameters without keys and adds it to the <meta keywords="" /> tag in the document header. This helps to improve search results.
Usage
{{keywords|template|keywords|test}}
Produces a string: template,keywords,test and adds it to the meta keywords of this document. View the source of this page to see the <meta keywords="" /> tag.
The above documentation is transcluded from Template:Keywords/doc. (edit | history)