Difference between revisions of "Template:u"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Created Urbandisctionary template (I hope))
 
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Urbandict:{{#if:{{{1|}}}|{{{1}}}{{!}}{{{2|{{{1|}}}}}}]]|{{PAGENAME}}{{!}}{{PAGENAME}}]] at [[Urbandict:|Urbandict]]}}</includeonly><noinclude>
+
<includeonly><span class="plainlinks">[https://www.urbandictionary.com/define.php?term={{#if:{{{1|}}}|{{{1}}} {{{2|{{{1|}}}}}}]|{{PAGENAME}} {{PAGENAME}}] at [https://www.urbandictionary.com Urban Dictionary]}}</span></includeonly><noinclude>
 
A template to make a link to Urbandictionary.<!-- For a tag to have "at [[Urbandict:|Urbandict]]" without being a link to the page name, use {{Tl|wat}} - this is useful for see-also lists.-->
 
A template to make a link to Urbandictionary.<!-- For a tag to have "at [[Urbandict:|Urbandict]]" without being a link to the page name, use {{Tl|wat}} - this is useful for see-also lists.-->
  
 
==Usage==
 
==Usage==
*<nowiki>{{u}}</nowiki> by itself links to the Urbandictionary page for the page you use the template on
+
<nowiki>{{u}}</nowiki> by itself links to the Urbandictionary page for the page you use the template on
**{{u}}
+
*{{u}}
*<nowiki>{{u|Page}}</nowiki> links to the Urbandictionary article on "Page"
+
<nowiki>{{u|Page}}</nowiki> links to the Urbandictionary article on "Page"
**{{u|Page}}
+
*{{u|Page}}
*<nowiki>{{u|Page|Display}}</nowiki> prints "Display" which links to the Urbandictionary article on "Page"
+
<nowiki>{{u|Page|Display}}</nowiki> prints "Display" which links to the Urbandictionary article on "Page"
**{{u|Page|Display}}
+
*{{u|Page|Display}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
[[Category:Pages to delete]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:15, 27 March 2025

A template to make a link to Urbandictionary.

Usage[edit]

{{u}} by itself links to the Urbandictionary page for the page you use the template on

{{u|Page}} links to the Urbandictionary article on "Page"

{{u|Page|Display}} prints "Display" which links to the Urbandictionary article on "Page"