Jump to content

Template:Msg-wikimedia/doc

From translatewiki.net
This is the documentation subpage for the parent Template:Msg-wikimedia page.

This documentation is transcluded from Template:Msg-meta/doc.

Syntax

Parameters

  • |1= message name : message ID.
  • |2= optional comment : comment text will be shown between parentheses just after the link to the message ID.
  • |notext= : set to a non-empty value to indicate that the localised message text should not be shown.

Note: If the message ID or the comment uses an equal sign = (which should be avoided by developers submitting messages bundled to import in translatewiki.net as message groups), you need to explicitly name this parameter by prefixing its parameter number followed by an equal sign, before the value.

Examples

  • {{Msg-wikimedia|Uls-uls-region-SP}} gives:
    Uls-uls-region-SP ("Special")
  • {{Msg-wikimedia|Uls-uls-region-SP|with colon}} gives:
    Uls-uls-region-SP [with colon] ("Special")
  • {{Msg-wikimedia|Uls-uls-region-SP|notext=1}} gives:
    Uls-uls-region-SP
  • {{Msg-wikimedia|Uls-uls-region-SP|with colon|notext=1}} gives:
    Uls-uls-region-SP [with colon]

Maintenance:

See also