Jump to content

Template:Shared Template Warning/doc

From wikiNonStop
Revision as of 13:02, 22 December 2024 by Majestix (talk | contribs) (1 revision imported: Initial setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Shared Template Warning

This warning should be placed at the top of all templates and modules that are shared between wikis.

Template parameters

ParameterDescriptionTypeStatus
page name1

The full name of the shared template or module, as stored at mediawiki.org, including the namespace.

Example
Template:My_shared_template
Auto value
{{subst:NAMESPACE}}:{{subst:BASEPAGENAME}}
Page namerequired
translation table2

Optional title of the Commons data table with translations for this template or module, without the Data: prefix, and without the ".tab" suffix.

Example
My_shared_template
Auto value
{{subst:BASEPAGENAME}}
Stringsuggested
Originorigin

Custom origin. Supported values: “mw”/“MediaWiki” for MediaWiki (default), “c”/“Commons” for Wikimedia Commons, “m”/“Meta” for Wikimedia Meta-Wiki.

Default
MediaWiki
Stringoptional

Edit parameter translations