Difference between revisions of "Template: Wp"

From 3DGE Wiki
Jump to: navigation, search
(Created page with "<onlyinclude><includeonly>[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly></onlyinclude><noinclude> This is just a shorthand template for Interwiki links to Wikipedia. Inst...")
 
m
 
Line 1: Line 1:
<onlyinclude><includeonly>[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly></onlyinclude><noinclude>
+
<onlyinclude><includeonly>[[File:MiniWikipediaLogoIcon.png|link=]][[wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly></onlyinclude><noinclude>
This is just a shorthand template for Interwiki links to Wikipedia. Instead of having to type <nowiki>[[Wikipedia:Foobar|Foobar]], {{wp|Foobar}} is enough.</nowiki>
+
This template is a wrapper around <nowiki>[[wikipedia:blah]]</nowiki> interwiki links. It's shorter to type.<br>
 
Use:  
 
Use:  
 
*<nowiki>{{wp|Blah}}</nowiki> makes a Blah link to the Wikipedia page for Blah, as such: {{wp|Blah}}
 
*<nowiki>{{wp|Blah}}</nowiki> makes a Blah link to the Wikipedia page for Blah, as such: {{wp|Blah}}
 
*<nowiki>{{wp|Foo|Bar}}</nowiki> makes a Bar link to the Wikipedia page for Foo, as such: {{wp|Foo|Bar}}
 
*<nowiki>{{wp|Foo|Bar}}</nowiki> makes a Bar link to the Wikipedia page for Foo, as such: {{wp|Foo|Bar}}
[[Category:External link templates]]</noinclude>
+
</noinclude><noinclude>[[Category:External link templates]]</noinclude>

Latest revision as of 23:05, 9 October 2014

This template is a wrapper around [[wikipedia:blah]] interwiki links. It's shorter to type.
Use:

  • {{wp|Blah}} makes a Blah link to the Wikipedia page for Blah, as such: MiniWikipediaLogoIcon.pngBlah
  • {{wp|Foo|Bar}} makes a Bar link to the Wikipedia page for Foo, as such: MiniWikipediaLogoIcon.pngBar