Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Shortcut text/doc: Difference between revisions

Template page
No edit summary
improve documentation, move category from main template page
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
|name=Shortcut text
  |1        = 1
|desc="Shortcut" caption of shortcut templates
  |1label  = plural
|namespace=all
  |1d-en    = If it has any value, the text is “Shortcuts” instead of “Shortcut”
|usergroup=all
  |1aliases = <!-- List of aliases, separated by / (a slash) -->
|usage-notes=<code><short><paragraph><nowiki>{{Shortcut text|{{{2}}} }}</nowiki></code>
  |1type    = <!-- number, string, string/wiki-user-name, string/wiki-page-name, string/line; unknown -->
<code>2345</code><open>2.5pensoniquiwes</code></endtext>
  |1def    = <!-- default value for the parameter -->
If '''1''' is filled, template writes the text in plural
  |1stat    = optional
|type=
 
|example=
  |2        = lang
|i18n-method=switch
  |2label  = language
|i18n-desc=
  |2d-en    = Fix language code. Useful on translated Commons namespace pages, or in other translated templates.
|seealso=
  |2aliases =
|setscats=
  |2type    = string/line
|lines=one
  |2def    = <nowiki>{{int:lang}}</nowiki>
|shorthand=
  |2stat    = optional-
}}
 
</html>....
  |name              = Shortcut text
  |desc              = “Shortcut” caption of shortcut templates
  |usage-notes        =
  |namespace          = all
  |usergroup          = all
  |placement          =
  |example            =  
  |example-value      =  
  |relieson          =
  |shorthand          =
  |setscats          =
  |seealso            =
  |type              =
  |i18n-method       = switch
  |i18n-desc         =  
  |i18n-subpage      =  
  |i18n-mediawiki-msg =  
  |print              =  
  |mustbesubst        =  
}}<includeonly>
[[Category:Internationalization templates using LangSwitch]]</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.