Template:Test3/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Usage[edit]

{{subst:test}}

{{subst:test|Fullpagename}}

{{subst:test|diff=url}}

{{subst:test|Fullpagename|diff=url}}
  • Always substitute
  • First parameter (optional) is the full pagename of the vandalised page
  • Diff-paramter (optional) is a link to the edit in diff-view

To create a new language version of this template, create a new subpage and use this code:

{{test3/layout
|lang={{subst:SUBPAGENAME}}
|text=Please stop. If you continue to [[Commons:Vandalism|vandalize]] pages, {{#if:{{{1|}}}|as you did {{#if:{{{diff|}}}|with [{{{diff}}} this edit]}} to [[:{{{1}}}]],|{{#if:{{{diff|}}}|as you did with [{{{diff}}} this edit],}}}} you will be [[Commons:Blocking policy|blocked]] from editing Wikimedia Commons.
}}<noinclude>
{{translated tag|user}}
</noinclude>

For the heading to be translated too, please also add a /heading/<langcode> subpoage with the translation for:

Warning for repeated vandalism<noinclude>
{{Translated tag|user}}
</noinclude>