Template:IW: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[{{urlencode:{{#switch:{{{1}}}
<span class="plainlinks">[{{#switch:{{{1}}}
|bw = http://wiki.batavie.nl/index.php/
|al = http://ninetyone.org/alexandria/archiveswiki/index.php?title={{urlencode:{{{2}}}}}
|en = http://en.wikipedia.org/wiki/
|aw = http://www.empireofthealexandrians.org/wiki/index.php?title={{urlencode:{{{2}}}}}
|vw = http://ninetyone.org/verac/wiki/index.php?title=
|as = http://ninetyone.org/ashkenatza/wiki/index.php?title={{urlencode:{{{2}}}}}
|http://micras.org/wiki/index.php?title=
|bw = http://wiki.batavie.nl/index.php/{{urlencode:{{{2}}}}}
}}{{{2}}} {{{3}}}}}]<noinclude><br><br>
|en = http://en.wikipedia.org/wiki/{{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}}}}}
}} {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]</span><noinclude>
<br><br>
This template allows you to easily create links to articles on other wikis.
This template allows you to easily create links to articles on other wikis.


Line 15: Line 20:
The article title on the desired wiki.
The article title on the desired wiki.
*'''3'''
*'''3'''
The article title as you would like it to appear on the page ({{IW|en|Help:Piping 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}}</nowiki></code>
:gives:
*{{IW|vw|Royal Marechaussee}}
<br>
*<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 21: Line 35:
!Wiki!!code
!Wiki!!code
|-
|-
|"Micropedia" (Batavia)||bw
| "AlexWiki" (Alexandria) || aw
|-
| "[http://ninetyone.org/alexandria/archiveswiki/index.php?title=Main_Page ALex]" (Alexandrian National Archives wiki) || al
|-
| [http://ninetyone.org/ashkenatza/wiki/index.php?title=Main_Page Ashkenatzi Law Database] || as
|-
| "[http://wiki.batavie.nl/index.php/Hoofdpagina Micropedia]" (Batavia) || bw
|-
| [http://en.wikipedia.org/wiki/Main_page English-language Wikipedia] || en
|-
|-
|English-language Wikipedia||en
| "[http://http://shireroth.org/shirewiki/ ShireWiki]" (Shireroth) || sw
|-
|-
|"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