Template:IW: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|en = http://en.wikipedia.org/wiki/{{urlencode:{{{2}}}}}
|en = http://en.wikipedia.org/wiki/{{urlencode:{{{2}}}}}
|vw = http://ninetyone.org/verac/wiki/index.php?title={{urlencode:{{{2}}}}}
|vw = http://ninetyone.org/verac/wiki/index.php?title={{urlencode:{{{2}}}}}
|sw = http://shireroth.org/shirewiki/{{urlencode:{{{2}}}}}
|http://micras.org/wiki/index.php?title={{urlencode:{{{2}}}}}
|http://micras.org/wiki/index.php?title={{urlencode:{{{2}}}}}
}} {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]</span><noinclude>
}} {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]</span><noinclude>
Line 22: Line 23:


==Example==
==Example==
*<code><nowiki>{{IW|vw|Royal Marechaussee}}</nowiki></code>
:gives:
*{{IW|vw|Royal Marechaussee}}
<br>
*<code><nowiki>{{IW|vw|Royal Marechaussee|the police force of Verac}}</nowiki></code>
*<code><nowiki>{{IW|vw|Royal Marechaussee|the police force of Verac}}</nowiki></code>
:gives:
:gives:
Line 39: Line 44:
|-
|-
| [http://en.wikipedia.org/wiki/Main_page English-language Wikipedia] || en
| [http://en.wikipedia.org/wiki/Main_page English-language Wikipedia] || en
|-
| "[http://http://shireroth.org/shirewiki/ ShireWiki]" (Shireroth) || sw
|-
|-
| "[http://ninetyone.org/verac/wiki/index.php5?title=Welcome VeracWiki]" (Verac) || vw
| "[http://ninetyone.org/verac/wiki/index.php5?title=Welcome VeracWiki]" (Verac) || vw
|}
|}


[[Category:Templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 14:51, 14 January 2020

[ {{{2}}}]

This template allows you to easily create links to articles on other wikis.

Usage

The template has three parameters.

  • 1

The code from the table below.

  • 2

The article title on the desired wiki.

  • 3

The article title as you would like it to appear on the page (piping) (optional).

Example

  • {{IW|vw|Royal Marechaussee}}
gives:


  • {{IW|vw|Royal Marechaussee|the police force of Verac}}
gives:

Codes

Wiki code
"AlexWiki" (Alexandria) aw
"ALex" (Alexandrian National Archives wiki) al
Ashkenatzi Law Database as
"Micropedia" (Batavia) bw
English-language Wikipedia en
"ShireWiki" (Shireroth) sw
"VeracWiki" (Verac) vw