IT4ALL A community.png

Help:Contents

From IT4ALL Wiki

Jump to: navigation, search
IT4ALL HELP
Resources to help you getting started on IT4ALL Wiki.


Personal customization


Communicating with others


Reading


Searching

  • Using the Search feature
  • Using Google
  • Using Special pages



Editing

Advanced editing

Wiki administration


Adding Features

Templates

Use of templates across wikis

A template only works on a page in the same wiki. To use it in another wiki, one has to copy it to there. Bugzilla:1126 requests to lift that restriction, and allow interwiki use of templates.

The adjustments needed in the copy, to work on the other wiki, can be reduced by using {{SERVER}}, localurl, and generic namespace names, and writing links in a way that works on multiple wikis, e.g. m:Help:Table. For copying multiple templates, export and import can be helpful. It is also convenient if the template names can be the same on the other wiki. Therefore, when choosing template names, check which names are in use on other wikis to which people might want to copy the templates. Note that if a template is referred to by something like abc{{NAMESPACE}}, a wiki with different namespace names requires a different template name, or a redirect.

Transclusion across wikis, hence changing contents from a central place, is only possible:

  • for content in the form of an image on Commons, to any page,
  • for editable content on an image page on Commons, including content transcluded from other pages on Commons, to the corresponding local image pages, if there is no local image with the same name

Sometimes multiple wikis require pages which are partly the same and partly different. For example, on some wikis "m:" is used as interwiki link to Meta, and on some wikis "MetaWikipedia:". In this case a common wikitext can be used, calling wiki-specific templates. In the example the wikitext of the page could contain {{meta}}, and we would have on each wiki a Template:Meta containing the required prefix.

Knock on the door... :-)

Personal tools