Sandbox User:Mirokado/Merge/sandbox · purge · Released version Template:Merge (sandbox · testcases)
- generic tests
{{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |Mirokado/Test page 1 |thread={{{thread|}}} |section=y |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |Mirokado/Test page 1 |discuss=User:Mirokado/Test page |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |Mirokado/Test page 1 |Mirokado/Test page 2 |discuss=User talk:Mirokado#Merging |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |Mirokado/Test page 1 |Mirokado/Test page 2 |target=Mirokado/Test target |discuss=Mirokado/Test page |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |Mirokado/Test page 1 |Mirokado/Test page 2 |target=Mirokado/Test target |thread={{{thread|}}} |date={{{date|}}}}} :;dir=from {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |dir=from |Mirokado/Test page 1 |Mirokado/Test page 2 |Mirokado/Test page 3 |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |dir=from |Mirokado/Test page 1 |discuss=Mirokado/Test page |section=y |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |dir=from |Mirokado/Test page 1 |target=Mirokado/Test target |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |dir=from |Mirokado/Test page 1 |target=Mirokado/Test target |discuss=Mirokado/Test page |thread={{{thread|}}} |date={{{date|}}}}} :;dir=to-s {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |dir=to |Mirokado/Test page 1 |Mirokado/Test page 2 |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |dir=to |Mirokado/Test page 1 |discuss=Mirokado/Test page |section=y |thread={{{thread|}}} |date={{{date|}}}}} {{ {{NAMESPACE}}:{{BASEPAGENAME}}{{{s|}}} |dir=to |Mirokado/Test page 1 |target=Mirokado/Test target |thread={{{thread|}}} |date={{{date|}}}}}
Testing sandbox version
editThis is the template test cases page for the sandbox of User:Mirokado/Merge. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
- thread=
It has been suggested that this page be merged . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to User:Mirokado/Test target. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to User:Mirokado/Test target. (Discuss) |
- dir=from
It has been suggested that Mirokado/Test page 1, Mirokado/Test page 2 and Mirokado/Test page 3 be merged to this page. (Discuss) |
It has been suggested that Mirokado/Test page 1 be merged to this section. (Discuss) |
It has been suggested that Mirokado/Test page 1 be merged to User:Mirokado/Test target. (Discuss) |
It has been suggested that Mirokado/Test page 1 be merged to User:Mirokado/Test target. (Discuss) |
- dir=to-s
It has been suggested that this page be merged to Mirokado/Test page 1 and Mirokado/Test page 2. (Discuss) |
It has been suggested that this section be merged to Mirokado/Test page 1. (Discuss) |
It has been suggested that this page be merged to Mirokado/Test page 1. (Discuss) |
- thread=Alt
It has been suggested that this page be merged . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to User:Mirokado/Test target. (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to User:Mirokado/Test target. (Discuss) |
- dir=from
It has been suggested that Mirokado/Test page 1, Mirokado/Test page 2 and Mirokado/Test page 3 be merged to this page. (Discuss) |
It has been suggested that Mirokado/Test page 1 be merged to this section. (Discuss) |
It has been suggested that Mirokado/Test page 1 be merged to User:Mirokado/Test target. (Discuss) |
It has been suggested that Mirokado/Test page 1 be merged to User:Mirokado/Test target. (Discuss) |
- dir=to-s
It has been suggested that this page be merged to Mirokado/Test page 1 and Mirokado/Test page 2. (Discuss) |
It has been suggested that this section be merged to Mirokado/Test page 1. (Discuss) |
It has been suggested that this page be merged to Mirokado/Test page 1. (Discuss) |
- general
- one stray blank line above
Testing main version
edit- thread=
It has been suggested that this page be merged with . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to Mirokado/Test target . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to Mirokado/Test target . (Discuss) |
- dir=from
It has been suggested that this page be merged with Mirokado/Test page 1, Mirokado/Test page 2 and Mirokado/Test page 3 . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 to Mirokado/Test target . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 to Mirokado/Test target . (Discuss) |
- dir=to-s
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 to Mirokado/Test target . (Discuss) |
- thread=Alt
It has been suggested that this page be merged with . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to Mirokado/Test target . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 to Mirokado/Test target . (Discuss) |
- dir=from
It has been suggested that this page be merged with Mirokado/Test page 1, Mirokado/Test page 2 and Mirokado/Test page 3 . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 to Mirokado/Test target . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 to Mirokado/Test target . (Discuss) |
- dir=to-s
It has been suggested that this page be merged with Mirokado/Test page 1 and Mirokado/Test page 2 . (Discuss) |
It has been suggested that this section be merged with Mirokado/Test page 1 . (Discuss) |
It has been suggested that this page be merged with Mirokado/Test page 1 to Mirokado/Test target . (Discuss) |
- general
- full stop before (Discuss) (incorrect punctuation)
- no second page
- discussion on current talk page (not correctly documented)
- section=y
section parameter not implemented("correct" sincenot documented)- target=xxx
discussion on current talk page (incorrect)- thread=xxx
thread parameter not implemented("correct" sincenot documented)- {{Merge to}}
- {{Merge from}}
* mw:Help:Magic_words * mw:Help:Extension:ParserFunctionsHelp
edit
Magic words for beginners
| |||
---|---|---|---|
Typesedit__NOTOC__
* Variables: uppercase words surrounded by double braces, like {{PAGENAME}} and function somewhat similarly to templates.
* Parser functions: These include expressions and consist of keywords (some beginning #) in double braces with parameters following a colon, ex. {{#expr:2+2}}
Things to rememberedit"{{SITENAME}}" produces "Wikipedia", while "{{sitename}}" produces mw:Help:Magic words#Technical metadataThis page is a soft redirect. * Whitespace is not counted in from the front and back of keywords and parameters and the same also applies to template code. :*"{{ Nofeed |Art=Wikipedia }}" and {{Nofeed|Art=Wikipedia}} will both succeed in producing the "Nofeed" template. * Page-dependent magic words will change or show information about the current page, even if the word is from a template, though in most cases, this is the desired effect. :*If I insert {{exampletemplate}} and it says {{PAGENAME}}, I will see "Magic words for beginners" even though it is from "Template:example template". * If you want a magic word to paste in its value at the time of saving, you can substitute it in the same way that templates are substituted (using the subst: keyword).
:*{{CURRENTTIME}} will always display the current time and remain as is, while {{subst:CURRENTTIME}} will result in, for example, 9:45 being inserted and always remaining as regular text.
Behavior switcheseditTable of contentsedit__NOTOC__ (can be placed anywhere in the wikitext; prevents a table of contents)
* __FORCETOC__ (can be placed anywhere in the wikitext; makes a table of contents appear in its normal position)
* __TOC__ (places a table of contents at its position)
Edit/section linksedit__NOEDITSECTION__ (hides section edit links beside headings)
* __NEWSECTIONLINK__ (adds a "+" or "new section" link for adding a new section on a non-talk page)
* __NONEWSECTIONLINK__ (removes the "+" or "new section" link on "Talk" pages)
Categories and indexingedit__NOGALLERY__ (on category pages, replaces thumbnails with normal links)
* __HIDDENCAT__ (on category pages, makes it a hidden category)
* __INDEX__ (tells search engines to index the page (show in results))
* __NOINDEX__ (tells search engines not to index the page (not show in results))
Titles and sortingedit{{DISPLAYTITLE:title}} (changes the displayed form of the page title)
* {{DEFAULTSORT:sortkey}} (sets a default category sorting key)
Variablesedit{{FULLPAGENAME}} (The page title, including namespace.)
:*Shown here: User:Mirokado/Merge/testcases (Ex. User:QwerpQwertus/Adoption)
* {{PAGENAME}} (page title without namespace)
:*Shown here: Mirokado/Merge/testcases (Ex. User:QwerpQwertus/Adoption)
* {{BASEPAGENAME}} (the page title without the current subpage or namespace — the parent page without the namespace.)
:*Shown here: Mirokado/Merge (Ex. User:QwerpQwertus/Adoption)
* {{SUBPAGENAME}} (subpage part of title)
:*Shown here: testcases (Ex. User:QwerpQwertus/Adoption)
* {{SUBJECTPAGENAME}} (associated non-talk page)
:*Shown here: User:Mirokado/Merge/testcases (Ex. "Talk:Wikipedia" makes "Wikipedia")
* {{TALKPAGENAME}} (associated talk page)
:*Shown here: User talk:Mirokado/Merge/testcases (Ex. "Wikipedia" makes "Talk:Wikipedia")
* {{NAMESPACE}} (namespace of current page)
:*Shown here: User (Ex. User:QwerpQwertus/Adoption makes "User")
* {{SUBJECTSPACE}}, {{ARTICLESPACE}} (associated non-talk namespace)
:*Shown here: User, User (Ex. User talk:QwerpQwertus/Adoption makes "User")
* {{TALKSPACE}} (associated talk namespace)
:*Shown here: User talk (Ex. "Wikipedia" makes "Talk:Wikipedia")
* {{FULLPAGENAMEE}}, {{NAMESPACEE}} etc. (URL-encoded equivalents)
:*Shown here: User:Mirokado/Merge/testcases (Ex. "Wikipedia" makes "http://en.wikipedia.org/w/index.php?title=Wikipedia")
See alsoedit |