Difference between revisions of "Template:Search"
From YTMND
Line 1: | Line 1: | ||
− | [http://www.ytmnd.com/list/?search={{{1|{{PAGENAMEE}}}}}&user={{{3|}}} {{{2|{{PAGENAME}}}}} YTMNDs]<noinclude> | + | [http://www.ytmnd.com/list/?search={{urlencode:{{{1|{{PAGENAMEE}}}}}}}&user={{{3|}}} {{{2|{{PAGENAME}}}}} YTMNDs]<noinclude> |
---- | ---- | ||
Link to a YTMND search, writing '''<nowiki>{{search}}</nowiki>''' would link to a YTMND search with the name of the article, with the caption being "(name of article) YTMNDs". '''<nowiki>{{search|YTMND}}</nowiki>''' makes a search of YTMND, with a caption of "YTMND YTMNDs". ''But,'' if you, for example, want to link to a Future Conan search, you need to use plusses instead pf spaces, and use '''<nowiki>{{search|Future+Conan}}</nowiki>''', which looks like "Future+Conan YTMNDs", and that doesn't look very good. Therefore, you can use a third parameter, '''<nowiki>{{search|future+conan|Future Conan}}</nowiki>''', which generates "Future Conan YTMNDs" and links to a correct YTMND search after Conan YTMNDs. | Link to a YTMND search, writing '''<nowiki>{{search}}</nowiki>''' would link to a YTMND search with the name of the article, with the caption being "(name of article) YTMNDs". '''<nowiki>{{search|YTMND}}</nowiki>''' makes a search of YTMND, with a caption of "YTMND YTMNDs". ''But,'' if you, for example, want to link to a Future Conan search, you need to use plusses instead pf spaces, and use '''<nowiki>{{search|Future+Conan}}</nowiki>''', which looks like "Future+Conan YTMNDs", and that doesn't look very good. Therefore, you can use a third parameter, '''<nowiki>{{search|future+conan|Future Conan}}</nowiki>''', which generates "Future Conan YTMNDs" and links to a correct YTMND search after Conan YTMNDs. |
Revision as of 10:37, December 15, 2006
Link to a YTMND search, writing {{search}} would link to a YTMND search with the name of the article, with the caption being "(name of article) YTMNDs". {{search|YTMND}} makes a search of YTMND, with a caption of "YTMND YTMNDs". But, if you, for example, want to link to a Future Conan search, you need to use plusses instead pf spaces, and use {{search|Future+Conan}}, which looks like "Future+Conan YTMNDs", and that doesn't look very good. Therefore, you can use a third parameter, {{search|future+conan|Future Conan}}, which generates "Future Conan YTMNDs" and links to a correct YTMND search after Conan YTMNDs.