![]() | This is the template test cases page for the sandbox of Template: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
Proposal edit
{{Header}} |
---|
{{Header | title = The Federalist | author = |override_author=[[Author:Alexander Hamilton|Alexander Hamilton]], [[Author:John Jay (1745-1829)|John Jay]], and [[Author:James Madison|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}} }} {{Header}}
{{Header/sandbox}} |
{{Header}} |
---|
{{Header | 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]] }} {{Header}}
{{Header/sandbox}} |
Normal edit
{{Header}} |
---|
{{Header | 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 = }} {{Header}}
{{Header/sandbox}} |
Normal plus notes edit
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
No author link edit
{{Header}} |
---|
{{Header | title = Peerage Act 1963 | author = |override_author= the United Kingdom Parliament | section = | previous = | next = | year = 1963 | portal = United States | wikipedia = | notes = }} {{Header}}
{{Header/sandbox}} |
Translation edit
{{Header}} |
---|
{{Header | title = Fables | author = Jean de La Fontaine | translator= Elizur Wright | section = | previous = | next = | year = | portal = United States | wikipedia = | notes = }} {{Header}}
{{Header/sandbox}} |
{{Header}} |
---|
{{Header | 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 = }} {{Header}}
{{Header/sandbox}} |
Translation plus notes edit
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
Sister Wiki links edit
{{Header}} |
---|
{{Header | title = Kinematics of Machinery | author = Franz Reuleaux | section = | previous = | next = | wikipedia = Kinematics of Machinery | commonscat = Kinematics of Machinery | year = | portal = United States | notes = }} {{Header}}
{{Header/sandbox}} |
Sister Wiki links plus Notes edit
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
Disambig edit
{{Header}} |
---|
{{Header | title = 1911 Encyclopædia Britannica | author = | section = | previous = | next = | shortcut = | year = | portal = | wikipedia = | disambiguation = yes | notes = }} {{Header}}
{{Header/sandbox}} |
Shortcuts edit
{{Header}} |
---|
{{Header | title = 1911 Encyclopædia Britannica | author = | section = | previous = | next = | shortcut = [[EB1911]] | year = | portal = United States | wikipedia = | notes = }} {{Header}}
{{Header/sandbox}} |
Shortcuts plus Notes edit
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
Sister with Shortcut plus Notes edit
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
All Sisters with Shortcut plus Notes edit
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
Override author/translator edit
{{Header}} |
---|
{{Header | 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. }} {{Header}}
{{Header/sandbox}} |
Wikisource translator edit
{{Header}} |
---|
{{Header | title = Einstein | author = | override_author = Einstein's Father | translator = Wikisource | section = | previous = | next = | year = 1901 | notes = }} {{Header}}
{{Header/sandbox}} |
Editor edit
{{Header}} |
---|
{{Header | title = Einstein | author = Albert Einstein | editor = Lord Kelvin | section = | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
Unknown edit
{{Header}} |
---|
{{Header | title = Einstein | author = Albert Einstein | editor = Unknown | section = | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
No author, unknown editor edit
{{Header}} |
---|
{{Header | title = Einstein | author = | editor = Unknown | section = | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
Editor, no author edit
{{Header}} |
---|
{{Header | title = Einstein | author = | editor = Lord Kelvin | section = | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
Override editor edit
{{Header}} |
---|
{{Header | title = Einstein | author = Albert Einstein | editor = | override_editor = Dirac and Heisenberg | section = | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
Two or more authors edit
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = Albert Einstein | author2 = John Smith | section = | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
A single category edit
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = John Smith | section = | previous = | next = | year = | notes = | categories = A single nonexistent category }} {{Header}}
{{Header/sandbox}} |
Multiple categories edit
This testcases page should be in at least these three categories (none of which exist).
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = John Smith | section = | previous = | next = | year = | notes = | categories = Nonexistent category / Another test category / Test category with special & characters. }} {{Header}}
{{Header/sandbox}} |
Newlines in sections edit
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = John Smith | section = First line<br/>Second line | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
"contributing_translator" edit
"contributor" and "contributing_translator" edit
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = | contributor = John Smith | contributing_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
only "contributing_translator" edit
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = | contributing_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
"override_contributor" and "section_translator" edit
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = | override_contributor = John Smith | section_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
"override_contributor" and "override_section_translator" edit
{{Header}} |
---|
{{Header | title = A Nonexistent Work | author = | override_contributor = John Smith | override_section_translator = Charles Dickens | section = First line | previous = | next = | year = | notes = }} {{Header}}
{{Header/sandbox}} |
With next/prev links edit
{{Header}} |
---|
{{Header | title = The Federalist | author = |override_author=[[Author:Alexander Hamilton|Alexander Hamilton]], [[Author:John Jay (1745-1829)|John Jay]], and [[Author:James Madison|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}} }} {{Header}}
{{Header/sandbox}} |