Jump to content

Template:Example

From translatewiki.net

Note: This template does not work properly for languages except English. See bug 21592.

Gives an example of a system message with up to 9 given parameters inserted, which can be shown inline. It can be used to show how parameterized messages look, for example so as to verify that possible PLURAL variations work as intened:

 Example: "The following page is in this category, out of 70 total."
 Example: "The following 7 pages are in this category, out of 7 total."

Parameters:

{{example|message-key|language-code|$1|$2|$3|$4|$5|$6|$7|$8|$9|$10}}
  • Default message-key is the name of the current page,
  • Default language-code is "en".
  • Default for all other parameters is the empty string.

This template is not suited for messages having to be in display:block mode.

Example: "⧼Example/en⧽"