Jump to content

Template:Shared Template Warning/doc

From Wikivoyage

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