Difference between revisions of "Template:Wikipedia"

From ICANNWiki
Jump to navigation Jump to search
(from AboutUs.org)
 
Line 26: Line 26:
  
 
<!--DO NOT ADD ANY LINE BREAKS HERE!-->
 
<!--DO NOT ADD ANY LINE BREAKS HERE!-->
</noinclude><includeonly><span class="plainlinks">[http://en.wikipedia.org/wiki/{{{1}}} http://www.aboutus.org/Special/image/full/WikipediaIcon.png]</span> {{#ifeq:"{{{3}}}"|"true"|[[{{{1}}}|{{{2|{{{1}}}}}}]]|[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}} ]]}}</includeonly><noinclude>[[Category:AboutUs:Templates]]</noinclude>
+
</noinclude><span class="plainlinks">[http://en.wikipedia.org/wiki/{{{1}}} http://www.aboutus.org/Special/image/full/WikipediaIcon.png]</span> {{#ifeq:"{{{3}}}"|"true"|[[{{{1}}}|{{{2|{{{1}}}}}}]]|[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}} ]]}}

Revision as of 23:02, 24 September 2010

Usage

If your website or topic is on Wikipedia, you can link it on your wiki page.

{{Wikipedia|Page Name|Caption (optional)|Text link links to AboutUs page (true/false, optional, by default false)}}

Notes

If the page name at Wikipedia has spaces in it, you must replace the spaces with underscores ( _ ). If you don't want a different caption, use for the caption the page name without underscores.

Examples

With Caption

{{Wikipedia|AboutUs.org|All about AboutUs at Wikipedia.}} produces:

http://www.aboutus.org/Special/image/full/WikipediaIcon.png All about AboutUs at Wikipedia.

Without Caption

{{Wikipedia|AboutUs.org}} produces:

http://www.aboutus.org/Special/image/full/WikipediaIcon.png AboutUs.org

Only Icon Links to Wikipedia

{{Wikipedia|AboutUs.org|All about AboutUs at Wikipedia.|true}} produces:

http://www.aboutus.org/Special/image/full/WikipediaIcon.png All about AboutUs at Wikipedia.

http://www.aboutus.org/Special/image/full/WikipediaIcon.png [[Wikipedia:{{{1}}}|{{{1}}} ]]