This is the template test cases page for the sandbox of Template:Translation header. 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 with these links: |
Test cases edit
{{Translation header}} |
---|
{{Translation header}} |
Proposal edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = The Federalist | author1 = Alexander Hamilton | author2 = John Jay (1745-1829) | author2_display = John Jay | author3 = James Madison | section = | previous = [[Constitution of the United States of America|United States Constitution]] | next = | year = 1788 | wikipedia=Federalist Papers | portal = United States | notes = ''The Federalist'' is a collection of 85 articles arguing for the ratification of the [[Constitution of the United States of America|United States Constitution]]. They were first published serially in New York City newspapers in 1787 and 1788.<br />Many different editions of ''The Federalist'' exist, and among those editions there is some discrepancy in essay number and order. The numbering below reflects the commonly accepted modern numbering.<br />{{media|key = y |type = spoken}} }}
|
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = The Federalist | author1 = Alexander Hamilton | author2 = John Jay (1745-1829) | author2_display = John Jay | author3 = James Madison | section = | previous = | next = | year = 1788 | wikipedia=Federalist Papers | portal = United States | notes = ''The Federalist'' is a collection of 85 articles arguing for the ratification of the [[Constitution of the United States of America|United States Constitution]]. They were first published serially in New York City newspapers in 1787 and 1788.<br />Many different editions of ''The Federalist'' exist, and among those editions there is some discrepancy in essay number and order. The numbering below reflects the commonly accepted modern numbering.<br />{{media|key = y |type = spoken}} }}
|
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Constitution of the Confederate States of America | author = | override_author = Confederate states | section = | previous = | next = | year = 1861 | wikipedia= Confederate States Constitution | portal = United States | notes = Adopted March 11, 1861. This edition published by Shorter and Reid, of Alabama.<br />'''Navigation:''' [[#a1|Article I]] (Sections [[#a1-s1|1]], [[#a1-s2|2]], [[#a1-s3|3]], [[#a1-s4|4]], [[#a1-s5|5]], [[#a1-s6|6]], [[#a1-s7|7]], [[#a1-s8|8]], [[#a1-s9|9]], [[#a1-s10|10]]) – [[#a2|Article II]] (Sections [[#a2-s1|1]], [[#a2-s2|2]], [[#a2-s3|3]], [[#a2-s4|4]]) – [[#a3|Article III]] (Sections [[#a3-s1|1]], [[#a3-s2|2]], [[#a2-s3|3]]) – [[#a4|Article IV]] (Sections [[#a4-s1|1]], [[#a4-s2|2]], [[#a4-s3|3]]) – [[#a5|Article V]] – [[#a6|Article VI]] – [[#a7|Article VII]] – [[#22|Extract from the Journal of Congress]] }}
|
Normal edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = [[How the Other Half Lives]] | author = Jacob Riis | section = Chapter XI: The Sweaters of Jewtown | previous = [[How the Other Half Lives/Chapter X|Chapter X]] | next = [[How the Other Half Lives/Chapter XII|Chapter XII]] | year = 1890 | portal = United States | wikipedia = | notes = }}
|
Normal plus notes edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = [[Alice's Adventures in Wonderland]] | author = Lewis Carroll | section = Chapter 3: A Caucus-Race and a Long Tale | previous = [[Alice's Adventures in Wonderland/Chapter 2|Chapter 2]] | next = [[Alice's Adventures in Wonderland/Chapter 4|Chapter 4]] | year = 1865 | portal = United States | wikipedia = | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. }}
|
Unrecognized language edit
{{Translation header}} |
---|
{{Translation header | language = demo | original = | title = [[How the Other Half Lives]] | author = Jacob Riis | section = Chapter XI: The Sweaters of Jewtown | previous = [[How the Other Half Lives/Chapter X|Chapter X]] | next = [[How the Other Half Lives/Chapter XII|Chapter XII]] | year = 1890 | portal = United States | wikipedia = | notes = }}
|
No author link edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Peerage Act 1963 | author = |override_author= the United Kingdom Parliament | section = | previous = | next = | year = 1963 | noyear = true | portal = United States | wikipedia = | notes = }}
|
Translation edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Fables | author = Jean de La Fontaine | translator= Elizur Wright | section = | previous = | next = | year = | portal = United States | wikipedia = | notes = }}
|
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Pantagruel | author = François Rabelais | override_translator= [[Author:Thomas Urquhart|Thomas Urquhart]] and [[Author:Peter Antony Motteux|Peter Antony Motteux]] | section = | previous = | next = | year = | portal = United States | wikipedia = | notes = }}
|
Translation plus notes edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Fables | author = Jean de La Fontaine | translator= Elizur Wright | section = | previous = | next = | year = | portal = United States | wikipedia = | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. }}
|
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Pantagruel | author = François Rabelais | override_translator= [[Author:Thomas Urquhart|Thomas Urquhart]] and [[Author:Peter Antony Motteux|Peter Antony Motteux]] | section = | previous = | next = | year = | portal = United States | wikipedia = | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. }}
|
Sister Wiki links edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Kinematics of Machinery | author = Franz Reuleaux | section = | previous = | next = | wikipedia = Kinematics of Machinery | commonscat = Kinematics of Machinery | year = | portal = United States | notes = }}
|
Sister Wiki links plus Notes edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Kinematics of Machinery | author = Franz Reuleaux | section = | previous = | next = | wikipedia = Kinematics of Machinery | commonscat = Kinematics of Machinery | year = | portal = United States | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean massa. }}
|
Disambig edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = 1911 Encyclopædia Britannica | author = | section = | previous = | next = | shortcut = | year = | portal = | wikipedia = | disambiguation = yes | notes = }}
|
Shortcuts edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = 1911 Encyclopædia Britannica | author = | section = | previous = | next = | shortcut = [[EB1911]] | year = | portal = United States | wikipedia = | notes = }}
|
Shortcuts plus Notes edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = 1911 Encyclopædia Britannica | author = | section = | previous = | next = | shortcut = [[EB1911]] | year = | portal = United States | related_author = Albert Einstein | wikipedia = | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. }}
|
Sister with Shortcut plus Notes edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Kinematics of Machinery | author = Franz Reuleaux | section = | previous = | next = | shortcut = [[EB1911]] | wikipedia = Kinematics of Machinery | commonscat = Kinematics of Machinery | year = | portal = United States/Science | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut. }}
|
All Sisters with Shortcut plus Notes edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Kinematics of Machinery | author = Franz Reuleaux | year = | section = | previous = | next = | shortcut = [[EB1911]] | edition = yes | portal = Portals/General Works/World History | related_author = William Shakespeare/Francis Bacon | wikipedia = Test | commons = Test | commonscat = Test | wikiquote = Test | wikinews = Test | wiktionary = Test | wikibooks = Test | wikiversity = Test | wikispecies = Test | meta = Test | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut. }}
|
Override author/translator edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Einstein | author = | override_author = Einstein's Father | translator = | override_translator = [[Author:Robert Louis Stevenson|Robert Louis Stevenson]] | section = | previous = | next = | shortcut = [[EB1911]] | wikipedia = Kinematics of Machinery | commonscat = Kinematics of Machinery | year = | portal = United States/Science | notes = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut. }}
|
Wikisource translator edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Einstein | author = | override_author = Einstein's Father | translator = Wikisource | section = | previous = | next = | year = 1901 | notes = }}
|
Editor edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Einstein | author = Albert Einstein | editor = Lord Kelvin | section = | previous = | next = | year = | notes = }}
|
Unknown edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Einstein | author = Albert Einstein | editor = Unknown | section = | previous = | next = | year = | notes = }}
|
No author, unknown editor edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Einstein | author = | editor = Unknown | section = | previous = | next = | year = | notes = }}
|
Editor, no author edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Einstein | author = | editor = Lord Kelvin | section = | previous = | next = | year = | notes = }}
|
Override editor edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = Einstein | author = Albert Einstein | editor = | override_editor = Dirac and Heisenberg | section = | previous = | next = | year = | notes = }}
|
Two or more authors edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = Albert Einstein | author2 = John Smith | section = | previous = | next = | year = | notes = }}
|
A single category edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = John Smith | section = | previous = | next = | year = | notes = | categories = A single nonexistent category }}
|
Multiple categories edit
This testcases page should be in at least these three categories (none of which exist).
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = John Smith | section = | previous = | next = | year = | notes = | categories = Nonexistent category / Another test category / Test category with special & characters. }}
|
Newlines in sections edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = John Smith | section = First line<br/>Second line | previous = | next = | year = | notes = }}
|
"contributing_translator" edit
"contributor" and "contributing_translator" edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = | contributor = John Smith | contributing_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }}
|
only "contributing_translator" edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = | contributing_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }}
|
"override_contributor" and "section_translator" edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = | override_contributor = John Smith | section_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }}
|
"override_contributor" and "override_section_translator" edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Nonexistent Work | author = | override_contributor = John Smith | override_section_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }}
|
With next/prev links edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = The Federalist | author1 = Alexander Hamilton | author2 = John Jay (1745-1829) | author2_display = John Jay | author3 = James Madison | section = | previous = [[War and Peace]] | next = [[The Raven]] | year = 1788 | wikipedia=Federalist Papers | portal = United States | notes = ''The Federalist'' is a collection of 85 articles arguing for the ratification of the [[Constitution of the United States of America|United States Constitution]]. They were first published serially in New York City newspapers in 1787 and 1788.<br />Many different editions of ''The Federalist'' exist, and among those editions there is some discrepancy in essay number and order. The numbering below reflects the commonly accepted modern numbering.<br />{{media|key = y |type = spoken}} }}
|
Approximate year range edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = | title = A Pickle for the Knowing Ones | author = Timothy Dexter | section = | previous = | next = [[/Preface/]] | year = c. 1802-1806 | notes = This is based on a scan of the Fourth Edition. Dexter's writings herein are infamous for being wrought with spelling mistakes and barren of punctuation. They have been transcribed as written. }}
|
Original edit
{{Translation header}} |
---|
{{Translation header | language = ja | original = A Pickle for the Knowing Ones | title = A Pickle for the Knowing Ones | author = Timothy Dexter | section = | previous = | next = [[/Preface/]] | year = c. 1802-1806 | notes = This is based on a scan of the Fourth Edition. Dexter's writings herein are infamous for being wrought with spelling mistakes and barren of punctuation. They have been transcribed as written. }}
|