Difference between revisions of "Template:Wikipedia"

From Glottopedia
Jump to navigation Jump to search
(icon and linkfix)
 
Line 31: Line 31:
 
desc none</imagemap>&nbsp;[...]</div>
 
desc none</imagemap>&nbsp;[...]</div>
 
</nowiki></pre>
 
</nowiki></pre>
 
+
[[Category:Template|Wikipedia]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:49, 2 March 2018

Wikipedia Wikipedia: Wikipedia (English)

Usage

This template can be used to link to an article in Wikipedia.

You can provide two template parameters: article and language code:

{{Wikipedia|article|language code}}

For instance this links to the article Yiddish language in the English Wikipedia (en).

{{Wikipedia|Yiddish_language|en}}

The language code is optional, by default the language code en is used:

{{Wikipedia|Yiddish_language}}

If you also omit the article, the name of the current Glottopedia article is used:

{{Wikipedia}} or {{Wikipedia||en}}

Note

At the moment the imagemap tag is not enabled in this Wiki. You could then improve the icon view with:

<div class="imagemap-inline" style="margin:0.1em 0 0 0;"><imagemap>
Image:120px-Wikipedia-logo.png|16px|Wikipedia
default [[Wikipedia]]
desc none</imagemap> [...]</div>