Difference between revisions of "Template:Keywords"
From The Lion King Wiki
(Created page with "<includeonly><keywords content="{{#vardefine:i|0}}{{#while: | {{{{{#var:i}}|}}} |<nowiki/> {{{{{#var:i}}}}}, }}" /></includeonly><noinclude> {{/doc}} [[Category:Special template...") |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#vardefine:str|{{#vardefine:i|1}}{{#while: |
− | | {{{{{#var:i}}|}}} | + | |{{{{{#var:i}}|}}} |
− | |<nowiki/> | + | |<nowiki/>{{#ifexpr:{{#var:i}} > 1|, }}{{{ {{#var: i }} }}}{{#vardefine: i| {{ #expr: {{ #var: i }} + 1 }} }} |
− | {{{{{#var:i}}}}} | + | }}}}<keywords content="{{#var:str}}" /></includeonly><noinclude> |
− | }}" /></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)