1,756
edits
Leucosticte (talk | contribs) (→Canonical interwiki prefixes, II: new section) |
Leucosticte (talk | contribs) |
||
Line 544: | Line 544: | ||
<nowiki><interwiki_prefix prefix="nathaniawiki" url="http://nathania.org/wiki/$1" apiurl="http://nathania.org/w/api.php"/></nowiki> | <nowiki><interwiki_prefix prefix="nathaniawiki" url="http://nathania.org/wiki/$1" apiurl="http://nathania.org/w/api.php"/></nowiki> | ||
or: | or: | ||
<nowiki>{{#interwiki_prefix: | <nowiki>{{#interwiki_prefix:nathaniawiki|http://nathania.org/wiki/$1|http://nathania.org/w/api.php}}</nowiki> | ||
That will allow there to be a parameter to [[Template:Wiki]], [[Template:MultilingualMain]] and similar templates for interwiki prefixes. So, someone will edit, e.g., the [[Nathania]] page to add, modify or remove the interwiki prefix line pertaining to that wiki. E.g.: | That will allow there to be a parameter to [[Template:Wiki]], [[Template:MultilingualMain]] and similar templates for interwiki prefixes. So, someone will edit, e.g., the [[Nathania]] page to add, modify or remove the interwiki prefix line pertaining to that wiki. E.g.: | ||
{{Wiki | {{Wiki |
edits