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/doc: Difference between revisions

Template page
use live template in examples
m duplicated parameter corr.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{tsh|short}}
{{TemplateBox
{{TemplateBox
   |1        = 1
   |1        = 1
  |1label  = shortcut 1
   |1label-en= shortcut 1
   |1label-en= shortcut 1
  |1label-de= shortcut 1
   |1d-en    = Name of the first shortcut
   |1d-en    = Name of the first shortcut
  |1d-de    = Name des ersten Shortcuts
   |1type    = wiki-page-name
   |1type    = wiki-page-name
   |1def    = <!-- default value for the parameter -->
   |1def    = <!-- default value for the parameter -->
Line 8: Line 12:


   |2        = 2
   |2        = 2
  |2label  = shortcut 2
   |2label-en= shortcut 2
   |2label-en= shortcut 2
  |2d      = Name of the second shortcut
   |2d-en    = Name of the second shortcut
   |2d-en    = Name of the second shortcut
  |2d-de    = Name des zweiten Shortcuts
   |2type    = wiki-page-name
   |2type    = wiki-page-name
   |2def    =  
   |2def    =  
Line 15: Line 22:


   |3        = 3
   |3        = 3
  |3label  = shortcut 3
   |3label-en= shortcut 3
   |3label-en= shortcut 3
  |3label-de= shortcut 3
  |3d      = Name of the third shortcut
   |3d-en    = Name of the third shortcut
   |3d-en    = Name of the third shortcut
  |3d-de    = Name des dritten Shortcuts
   |3type    = wiki-page-name
   |3type    = wiki-page-name
   |3def    =  
   |3def    =  
Line 22: Line 33:


   |4        = 4
   |4        = 4
  |4label  = shortcut 4
   |4label-en= shortcut 4
   |4label-en= shortcut 4
  |4label-de= shortcut 4
  |4d      = Name of the fourth shortcut
   |4d-en    = Name of the fourth shortcut
   |4d-en    = Name of the fourth shortcut
  |4d-de    = Name des vierten Shortcuts
   |4type    = wiki-page-name
   |4type    = wiki-page-name
   |4def    =  
   |4def    =  
Line 29: Line 44:


   |5        = lang
   |5        = lang
  |5label  = language
   |5label-en= language
   |5label-en= language
  |5label-de= language
  |5d    = Language of the language-dependent output of the template (e.g. “de”). Useful in other templates and translated Commons pages to provide consistent language throughout the template/page
   |5d-en    = Language of the language-dependent output of the template (e.g. “de”). Useful in other templates and translated Commons pages to provide consistent language throughout the template/page
   |5d-en    = Language of the language-dependent output of the template (e.g. “de”). Useful in other templates and translated Commons pages to provide consistent language throughout the template/page
  |5d-de    = Sprache der sprachabhängigen Ausgabe der Vorlage (z. B. „de“). Nützlich in anderen Vorlagen und übersetzten Commons-Seiten, um eine einheitliche Sprache in der Vorlage/Seite zu gewährleisten.
   |5type    = line
   |5type    = line
   |5def    =  
   |5def    =  
Line 36: Line 55:


   |name              = shortcut
   |name              = shortcut
  |desc              = This template shows the shortcuts of the current page.
   |desc-en            = This template shows the shortcuts of the current page.
   |desc-en            = This template shows the shortcuts of the current page.
  |desc-de            = Diese Vorlage zeigt die Shortcuts der aktuellen Seite an.
   |namespace          =  
   |namespace          =  
   |usergroup          =  
   |usergroup          =  
Line 44: Line 65:
   |relieson          =  
   |relieson          =  
   |usage-notes        =  
   |usage-notes        =  
  |shorthand         =  
| shorthand = short
   |setscats          =  
   |setscats          =  
   |seealso            =  
   |seealso            =  
Line 51: Line 72:
   |type              =  
   |type              =  
   |i18n-method        = switch
   |i18n-method        = switch
   |i18n-desc          = Localization by {{tl|Shortcut text}}.
   |i18n-desc          = {{LangSwitch|default=Localization by {{tl|Shortcut text}}.|en=Localization by {{tl|Shortcut text}}.|de=Lokalisierung durch {{tl|Shortcut text}}.}}
   |i18n-subpage      =  
   |i18n-subpage      =  
   |i18n-mediawiki-msg =  
   |i18n-mediawiki-msg =  
Line 59: Line 80:
}}
}}
{| class="wikitable"
{| class="wikitable"
|+ Usage
|+ {{LangSwitch|default=Usage|de=Verwendung}}
|-
|-
!input
!{{LangSwitch|default=input|de=Eingabe}}
!result
!{{LangSwitch|default=result|de=Ergebnis}}
|-
|-
|<code style="font-size:smaller">{{tlx|shortcut|COM:COM}}</code>
|<code style="font-size:smaller">{{tlx|shortcut|COM:COM}}</code>
Line 71: Line 92:
|}
|}


The output is shown with <code>class="coordinates"</code>, see [[mediawikiwiki:Help:Page status indicators]] for details.<includeonly>
{{LangSwitch|default=The output is shown with <code>class="coordinates"</code>, see [[mediawikiwiki:Help:Page status indicators]] for details.|de=Die Ausgabe wird mit <code>class="coordinates"</code> angezeigt, siehe [[mediawikiwiki:Help:Page status indicators]] für Details.}}<includeonly>
[[Category:Header templates]]
[[Category:Header templates]]
[[Category:Internationalised header templates]]
[[Category:Internationalised header templates]]
</includeonly>
</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.