Template:IW: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<span class="plainlinks">[{{#switch:{{{1}}}
<span class="plainlinks">[{{#switch:{{{1}}}
|aw = http://www.empireofthealexandrians.org/wiki/index.php?title={{urlencode:{{{2}}}}}
|al = http://ninetyone.org/alexandria/archiveswiki/index.php?title={{urlencode:{{{2}}}}}
|bw = http://wiki.batavie.nl/index.php/{{urlencode:{{{2}}}}}
|bw = http://wiki.batavie.nl/index.php/{{urlencode:{{{2}}}}}
|en = http://en.wikipedia.org/wiki/{{urlencode:{{{2}}}}}
|en = http://en.wikipedia.org/wiki/{{urlencode:{{{2}}}}}
Line 17: Line 19:
*'''3'''
*'''3'''
The article title as you would like it to appear on the page ({{IW|en|Help:Piped links|piping}}) (optional).
The article title as you would like it to appear on the page ({{IW|en|Help:Piped links|piping}}) (optional).
==Example==
*<code><nowiki>{{IW|vw|Royal Marechaussee|the police force of Verac}}</nowiki></code>
:gives:
*{{IW|vw|Royal Marechaussee|the police force of Verac}}


==Codes==
==Codes==
Line 22: Line 29:
!Wiki!!code
!Wiki!!code
|-
|-
|"Micropedia" (Batavia)||bw
|"AlexWiki" (Alexandria)|| aw
|-
|"ALex" (Alexandrian National Archives wiki)|| al
|-
|"Micropedia" (Batavia)|| bw
|-
|-
|English-language Wikipedia||en
|English-language Wikipedia|| en
|-
|-
|"VeracWiki" (Verac)||vw
|"VeracWiki" (Verac)|| vw
|}
|}


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

Revision as of 15:11, 30 December 2010

[ {{{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|the police force of Verac}}
gives:

Codes

Wiki code
"AlexWiki" (Alexandria) aw
"ALex" (Alexandrian National Archives wiki) al
"Micropedia" (Batavia) bw
English-language Wikipedia en
"VeracWiki" (Verac) vw