Difference between revisions of "Template:Search"

From YTMND
Jump to: navigation, search
m (how bout now)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[http://www.ytmnd.com/list/?search={{urlencode:{{{1|{{PAGENAMEE}}}}}}}&user={{{3|}}} {{{2|{{PAGENAME}}}}} YTMNDs]<noinclude>
+
<includeonly>[http://www.ytmnd.com/search?q={{urlencode:{{{1|{{PAGENAME}}}}}}}&o=|7|all|SC|D|0|{{{3|}}} {{{2|{{{1|{{PAGENAME}}}}}}}} YTMNDs]</includeonly><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". It now works with spaces, just write {{tlp|search|future Conan}}, and you'll get {{search|future Conan}}.
----
+
[[Category:Link templates|Search]]</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.
+
 
+
[[Ridin' Spinnaz|Also cocks]]
+
[[Category:Link templates|Search]]
+
</noinclude>
+

Latest revision as of 15:49, November 6, 2010

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 {{search|future Conan}}, and you'll get future Conan YTMNDs.