Template:Default interwiki/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Default interwiki. It may contain usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
This template is SUBSTITUTED to change the default destination of wikilinks within the text. Interwikilinks already specified in the text are unmodified. Substituting the template causes it to edit all links then disappear.
{{subst:Default_interwiki |text = text containing some [[link]] |prefix = wiki prefix to be added (default = w) }}
- Example 1:
[[link]]
→[[w:link|link]]
, displayed as link (changed to interwikilink) - Example 2:
[[link|othertext]]
→[[w:link|othertext]]
, displayed as othertext (changed to interwikilink) - Example 3:
[[d:main|main]]
→[[d:main|main]]
, displayed as main (existing interwiki link not modified)