Template:Wikipedia

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<includeonly>[http://en.{{{wiki|wikipedia}}}.org/wiki/{{PAGENAMEE:{{{1|}}}}} {{?|test={{{2|}}}|{{{2}}}|{{PAGENAME}}}}]{{?|test={{{3|}}}|{{{3}}}| at the {{?|test={{{wiki|}}}|{{ucfirst:{{{wiki}}}}}|Wikipedia}}}}}}}</includeonly><noinclude>
+
<includeonly>[http://en.{{{wiki|wikipedia}}}.org/wiki/{{PAGENAMEE:{{{1|}}}}} {{?|test={{{2|}}}|{{{2}}}|{{PAGENAME}}}}]{{?|test={{{3|}}}|{{{3}}}| at the {{?|test={{{wiki|}}}|{{ucfirst:{{{wiki}}}}}|Wikipedia}}}}</includeonly><noinclude>
{{doc}}
{{doc}}
[[Category:Templates|Wikipedia]]
[[Category:Templates|Wikipedia]]
</noinclude>
</noinclude>

Revision as of 16:02, 20 February 2016


A link to a Wikipedia page.

 {{wikipedia|wikipedia page name|link text|suppress " at the Wikipedia"}}</nowiki>
Parameters
  • 1 - wikipedia page name
  • 2 - text of the link
  • 3 - notail - suppress " at the Wikipedia" at the end
all parameters are optional.

The most common use:

{{wikipedia}}

will produce:

PAGENAME at the Wikipedia

where PAGENAME is the name of the page and the link points to: http://en.wikipedia.org/wiki/PAGENAME

With 1 parameter:

{{wikipedia|Vathy, Samos}}

will produce:

PAGENAME at the Wikipedia

where the link points to: http://en.wikipedia.org/wiki/Vathy,_Samos

With 2 parameters:

{{wikipedia|Vathy, Samos|Vathy}}

will produce:

Vathy at the Wikipedia

(the link points to: http://en.wikipedia.org/wiki/Vathy,_Samos)

With 3 parameters:

{{wikipedia|Vathy, Samos|Vathy|notail}}

will produce:

Vathy

Personal tools
advertisement
Friends of Cruisers Wiki