Template:Shortcut text: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
m (No English system message exists, so better to hardcode English text for the moment (it's unlikely to change anyway) - Undo revision 67121 by Pyrrhus (talk))
(Undo revision 67127 by Notjusttired (talk) This can only be fixed when MediaWiki:Shortcut/en is renamed to MediaWiki:Shortcut!!!)
Line 7: Line 7:
     |de = {{int:shortcut}}{{#if:{{{1|}}}|en}}
     |de = {{int:shortcut}}{{#if:{{{1|}}}|en}}
     |diq = Rayakılm{{#if:{{{1|}}}|s}}
     |diq = Rayakılm{{#if:{{{1|}}}|s}}
     |en = Shortcut{{#if:{{{1|}}}|s}}
     |en = {{int:shortcut}}{{#if:{{{1|}}}|s}}
     |eo = Mallongigo{{#if:{{{1|}}}|j}}
     |eo = Mallongigo{{#if:{{{1|}}}|j}}
     |es = {{int:shortcut}}{{#if:{{{1|}}}|s}}
     |es = {{int:shortcut}}{{#if:{{{1|}}}|s}}

Revision as of 00:18, August 24, 2019

Shortcut

template icon Template documentation[create]

This is the text displayed by Template:Shortcut, and is called by Module:Shortcut/config

Usage

This template translates Template:Shortcut and is used by Module:Shortcut. Parameters:

  • lang - Language code, defaults user language - int:lang
  • 1 - if Plural or not

Examples

{{Shortcut text}}
{{Shortcut text|1=plural|lang=fr}}
{{Shortcut text|yes|lang=fr}}