Difference between revisions of "Template:Search"

From YTMND
Jump to: navigation, search
Line 1: Line 1:
 
[http://www.ytmnd.com/list/?search={{urlencode:{{{1|{{PAGENAMEE}}}}}}}&user={{{3|}}} {{{2|{{{1|{{PAGENAME}}}}}}}} YTMNDs]<noinclude>
 
[http://www.ytmnd.com/list/?search={{urlencode:{{{1|{{PAGENAMEE}}}}}}}&user={{{3|}}} {{{2|{{{1|{{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". It now works with spaces, just write {{tlp|keyword|future Conan}}, and you'll get {{keyword|future Conan}}.
 
[[Category:Link templates|Search]]
 
[[Category:Link templates|Search]]
 
</noinclude>
 
</noinclude>

Revision as of 16:55, December 15, 2006

Search YTMNDs


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". It now works with spaces, just write {{keyword|future Conan}}, and you'll get Conan?start=0 future Conan YTMNDs (by keyword).