sl.Wiki:Templates/General

From sl.Wiki

Jump to: navigation, search
Hint
Note: The category list at the bottom might not be correct, because of the template samples.

NOTE: This article is part of our sl.Wiki section.

Code What does it looks like Comment
{{Flag|iso code}}
template
e.g. {{Flag|en}} resolves to Image:Flag_en_xs.png

e.g. {{Flag|xx}} resolves to Image:Flag xx xs.png

Displays a small flag represented by a ISO 3166-1 code.

The second example shows what happens when an (yet) unsupported code is used.

Parameter:

  1. ISO 3166-1 country code. Possible country codes are:
    • en
    • de
    • fi
{{Directory Backlink|language|namespace}}
template
{{Directory Backlink|en|ET}} expands to: NOTE: This article is part of our Enemy Territory section. Creates a link to the directory for a given namespace in the specified language.

Parameters:

  1. Target (i.e. text) language specified by an ISO 3166-1 code:
    • en
    • de
    • fi
  2. Game/target identified by the namespace identifier. The parameter is case insensitive. This template also automatically adds the article to the global and to the language specific categories for the given namespace. Supported atm are:
    • sl
    • sl.Wiki
    • sl.help
    • RtCW
    • ET
    • ETQW
    • FarCry

{{Expansion needed|target language}}
template
{{Expansion needed|en}} resolves to:

Image:Flag_en_xs.png This article needs expansion, you can expand this article by clicking on "edit".


{{Expansion needed|xx}} resolves to:

Unsupported/unknown language code in template "Expansion needed": xx. Supported language codes are "en", "de", "fi".

Template to display a message that a article is incomplete, lacks informations or needs furtherexpansion. The parameters are case-sensitive. Automatically adds the article to the global and the language specific "Expansion needed" categories.

Parameters:

  1. The ISO 3166-1 code of the target language (i.e. the language for the message). Possible language codes are:
    • en
    • de
    • fi
{{Main article|Link to the main article}}
template
Main article: Link to the main article
{{Pääartikkeli|Linkki pääartikkeliin}}
template
Pääartikkeli: Linkki pääartikkeliin
Personal tools