Difference between revisions of "Template:Keywords"
From The Lion King Wiki
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly>{{ | + | <includeonly>{{#vardefine:str|{{#vardefine:i|1}}{{#while: |
| − | + | |{{{{{#var:i}}|}}} | |
| − | }}</includeonly><noinclude> | + | |<nowiki/>{{#ifexpr:{{#var:i}} > 1|, }}{{{ {{#var: i }} }}}{{#vardefine: i| {{ #expr: {{ #var: i }} + 1 }} }} |
| + | }}}}<keywords content="{{#var:str}}" /></includeonly><noinclude> | ||
{{/doc}} | {{/doc}} | ||
[[Category:Special templates]] | [[Category:Special templates]] | ||
Latest revision as of 23:53, 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)