Template:Wikipedia/doc
From CruisersWiki
(Difference between revisions)
Line 1: | Line 1: | ||
+ | {{wikipedia}} | ||
+ | |||
__NOTOC__ | __NOTOC__ | ||
A link to a Wikipedia page. | A link to a Wikipedia page. |
Revision as of 09:12, 21 February 2016
Wikipedia/doc at the Wikipedia
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: