Jump to content

Template:Msg-nocc/doc

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

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

Syntax

  • {{msg-nocc|message-name|optional comment}}
  • {{msg-nocc|message-name|optional comment|notext=1}}

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-nocc|Html cancel}} gives:
    Html cancel ("Cancel")
  • {{Msg-nocc|Html cancel|with colon}} gives:
    Html cancel [with colon] ("Cancel")
  • {{Msg-nocc|Html cancel|notext=1}} gives:
    Html cancel
  • {{Msg-nocc|Html cancel|with colon|notext=1}} gives:
    Html cancel [with colon]

Maintenance:

See also