Template:RunningHeader/testcases
This is the template test cases page for the sandbox of Template:RunningHeader. 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: |
Basic tests
[edit]{{RunningHeader}} |
---|
{{RunningHeader}} {{RunningHeader}} |
{{RunningHeader}} |
---|
{{RunningHeader|2=test|6=test}} {{RunningHeader}} test test test test |
{{RunningHeader}} |
---|
{{RunningHeader|1=test 1|2=test 2}} {{RunningHeader}} test 1 test 2 test 1 test 2 |
{{RunningHeader}} |
---|
{{RunningHeader|2=test 2|1=test 1}} {{RunningHeader}} test 1 test 2 test 1 test 2 |
{{RunningHeader}} |
---|
{{RunningHeader|1=test|left=test2}} {{RunningHeader}} test test |
{{RunningHeader}} |
---|
{{RunningHeader|LEFT|{{Lorem ipsum}}|LONG RIGHT}} {{RunningHeader}} LEFT Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. LONG RIGHT LEFT Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. LONG RIGHT |
{{RunningHeader}} |
---|
{{RunningHeader|LEFT|Lots of text, but not overly much|LONG LONG LONG LONG RIGHT}} {{RunningHeader}} LEFT Lots of text, but not overly much LONG LONG LONG LONG RIGHT LEFT Lots of text, but not overly much LONG LONG LONG LONG RIGHT |
{{RunningHeader}} |
---|
{{RunningHeader|LEFT|Lots of text, but not overly much|A little more text|LONG LONG LONG LONG RIGHT}} {{RunningHeader}} LEFT Lots of text, but not overly much A little more text LONG LONG LONG LONG RIGHT LEFT Lots of text, but not overly much A little more text LONG LONG LONG LONG RIGHT |
{{RunningHeader}} |
---|
{{RunningHeader|LEFT|Lots of text, but not overly much|A little more text|}} {{RunningHeader}} LEFT Lots of text, but not overly much A little more text LEFT Lots of text, but not overly much A little more text |
{{RunningHeader}} |
---|
{{RunningHeader|1|2|3|4|5}} {{RunningHeader}} 1 2 3 4 5 1 2 3 4 5 |
{{RunningHeader}} |
---|
{{RunningHeader|left=LEFT|center={{Lorem ipsum}}|right=LONG RIGHT|class=testcase}} {{RunningHeader}} LEFT Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. LONG RIGHT LEFT Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. LONG RIGHT |
{{RunningHeader}} |
---|
{{RunningHeader|ONE|TWO|THREE|FOUR|FIVE}} {{RunningHeader}} ONE TWO THREE FOUR FIVE ONE TWO THREE FOUR FIVE |
Formatting in parameters
[edit]{{RunningHeader}} |
---|
{{RunningHeader|42|''Chapter 1''||}} {{RunningHeader}} 42 Chapter 1 42 Chapter 1 |
{{RunningHeader}} |
---|
{{RunningHeader|42|''Chapter 1||}} {{RunningHeader}} 42 Chapter 1 42 Chapter 1 |
{{RunningHeader}} |
---|
{{RunningHeader|42|Chapter 1''||}} {{RunningHeader}} 42 Chapter 1 42 Chapter 1 |
{{RunningHeader}} |
---|
{{RunningHeader|42|''Chapter 1|3|}} {{RunningHeader}} 42 Chapter 1 3 42 Chapter 1 3 |
Just one cell populated (three cells)
[edit]{{RunningHeader}} |
---|
{{RunningHeader|ONE||}} {{RunningHeader}} ONE ONE |
{{RunningHeader}} |
---|
{{RunningHeader||TWO|}} {{RunningHeader}} TWO TWO |
{{RunningHeader}} |
---|
{{RunningHeader|||THREE}} {{RunningHeader}} THREE THREE |
Just one cell populated (four cells)
[edit]{{RunningHeader}} |
---|
{{RunningHeader|ONE|||}} {{RunningHeader}} ONE ONE |
{{RunningHeader}} |
---|
{{RunningHeader||TWO||}} {{RunningHeader}} TWO TWO |
{{RunningHeader}} |
---|
{{RunningHeader|||THREE|}} {{RunningHeader}} THREE THREE |
{{RunningHeader}} |
---|
{{RunningHeader||||FOUR}} {{RunningHeader}} FOUR FOUR |
Just one cell populated (five cells)
[edit]{{RunningHeader}} |
---|
{{RunningHeader|ONE||||}} {{RunningHeader}} ONE ONE |
{{RunningHeader}} |
---|
{{RunningHeader||TWO|||}} {{RunningHeader}} TWO TWO |
{{RunningHeader}} |
---|
{{RunningHeader|||THREE||}} {{RunningHeader}} THREE THREE |
{{RunningHeader}} |
---|
{{RunningHeader||||FOUR|}} {{RunningHeader}} FOUR FOUR |
{{RunningHeader}} |
---|
{{RunningHeader|||||FIVE}} {{RunningHeader}} FIVE FIVE |
Just one or two arguments provided
[edit]{{RunningHeader}} |
---|
{{RunningHeader|ONE}} {{RunningHeader}} ONE ONE |
{{RunningHeader}} |
---|
{{RunningHeader|ONE|TWO}} {{RunningHeader}} ONE TWO ONE TWO |
{{RunningHeader}} |
---|
{{RunningHeader||TWO}} {{RunningHeader}} TWO TWO |
{{RunningHeader}} |
---|
{{RunningHeader|ONE|_|_}} {{RunningHeader}} ONE _ _ ONE |
{{RunningHeader}} |
---|
{{RunningHeader|ONE|TWO|_}} {{RunningHeader}} ONE TWO _ ONE TWO |
{{RunningHeader}} |
---|
{{RunningHeader||TWO|_}} {{RunningHeader}} TWO _ TWO |
{{RunningHeader}} |
---|
{{RunningHeader|>>|>>|ONE}} {{RunningHeader}} >> >> ONE ONE |
{{RunningHeader}} |
---|
{{RunningHeader|ONE|<<|<<}} {{RunningHeader}} ONE << << ONE |
{{RunningHeader}} |
---|
{{RunningHeader|>>|ONE|<<}} {{RunningHeader}} >> ONE << ONE |
Real-world examples
[edit]{{RunningHeader}} |
---|
{{RunningHeader|188. |''The Triumph''|}} {{RunningHeader}} 188. The Triumph 188. The Triumph |
{{RunningHeader}} |
---|
{{RunningHeader|'''09'''||'''TA-28'''}} {{RunningHeader}} 09 TA-28 09 TA-28 |
{{RunningHeader}} |
---|
{{block center| [[File:Odyssey (Butler) Map.png|center|480px]] {{RunningHeader|{{smaller|(''Frontispiece'').}}||{{x-smaller|''Walker & Boutall sc''.}}}} }} {{RunningHeader}} (Frontispiece). Walker & Boutall sc. (Frontispiece). Walker & Boutall sc. |
{{RunningHeader}} |
---|
{{FI | file = Odyssey (Butler) Map.png | width = 480px | caption = {{RunningHeader|{{smaller|(''Frontispiece'').}}||{{x-smaller|''Walker & Boutall sc''.}}}} }} {{RunningHeader}} |
{{RunningHeader}} |
---|
{{RunningHeader|{{sc|Vol. XXXI, No. 6}}|WASHINGTON|{{sc|June, 1917}}}} {{RunningHeader}} Vol. XXXI, No. 6 WASHINGTON June, 1917 Vol. XXXI, No. 6 WASHINGTON June, 1917 |