Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K 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:Wm/doc: Difference between revisions

Template page
Translate Deutsch
m catcorr
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
   |1label-de  = Artikel
   |1label-de  = Artikel
   |1label-mk  = Статија
   |1label-mk  = Статија
|1aliases = <!-- List of aliases, separated by / (a slash) -->
  |1type    = string/wiki-page-name
  |1type    = string/wiki-page-name
  |1def    = <!-- default value for the parameter -->
  |1def    = <!-- default value for the parameter -->
Line 17: Line 16:
   |2d-mk      = Текстот за приказ (само ако се разликува од насловот на статијата).
   |2d-mk      = Текстот за приказ (само ако се разликува од насловот на статијата).
  |2label-en= Displayed text
  |2label-en= Displayed text
   |2label-en = Angezeigter Text
   |2label-de = Angezeigter Text
   |2label-mk  = Текст за приказ
   |2label-mk  = Текст за приказ
|2aliases = <!-- List of aliases, separated by / (a slash) -->
  |2type    = string
  |2type    = string
  |2def    = <nowiki>{{{1}}}</nowiki>
  |2def    = <nowiki>{{{1}}}</nowiki>
  |2stat    = optional
  |2stat    = optional-
 
|3=3
|3d-en=optional: language code of other Wikipedia
|3label-en=ISO639 code
|3def=mk
|3type=code
|3stat=optional-
 
|4=link
|4d-en=optional suppression of link with <code>link=no</code>
|4label-en=link option
|4type=option
|4stat=optional-


  |name = Wm
  |name = Wm
Line 47: Line 58:
  |useTemplateData = 1
  |useTemplateData = 1
}}<includeonly>
}}<includeonly>
[[Category:Interwiki link templates|Wm]]
[[Category:Interwiki link W-templates|Wm]]
[[Category:Commons-mk]]
[[Category:Commons-mk]]
</includeonly>
</includeonly>
== Examples ==
== Examples ==
{{tle|T=Wm}} {{0|0000}} → {{0|00}} {{Wm}}
{{tle|T=Wm}} {{0|0000000}} → {{0}} {{Wm}}


{{Tle|T=Wm|p1=3|mk}} → {{Wm|3=mk}}
{{Tle|T=Wm|p1=3|mk}} → {{Wm|3=mk}}

Latest revision as of 16:24, 15 September 2020

This template is for linking Macedonian Wikipedia pages easily.

Usage

{{Wm |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1ArticleThe title of the article at the Macedonian Wikipedia.emptyrequired
2Displayed textThe displayed text (only if differs from the title of the article).{{{1}}}optional
3ISO639 codeoptional: language code of other Wikipediamkoptional
linklink optionoptional suppression of link with link=noemptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

This template is for linking Macedonian Wikipedia pages easily.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Article1

The title of the article at the Macedonian Wikipedia.

Page namerequired
Displayed text2

The displayed text (only if differs from the title of the article).

Default
{{{1}}}
Stringoptional
ISO639 code3

optional: language code of other Wikipedia

Default
mk
Unknownoptional
link optionlink

optional suppression of link with <code>link=no</code>

Unknownoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Localization

This template is not intended to be localized.

Examples

{{ Wm }} 00000000 mk:Wp

{{ Wm3 = mk }} → mk:Wp

Cookies help us deliver our services. By using our services, you agree to our use of cookies.