This site is supported by donations to The OEIS Foundation.
Template:OEIS Wiki style
[⧼Purge⧽ Template:OEIS Wiki style]
Contents
Usage
{{OEIS Wiki style|begin|style name}} (... page content ...) {{OEIS Wiki style|end|style name}}
You must use the template twice, at beginning of page (with begin as first parameter) and at end of page (with end as first parameter).
The second parameter is style name (if not given, the default style is applied), e.g.
- none: no style is applied;
- default: placeholder for eventual default style (default value for style name);
- textbook: light gray workspace containing a centered white page with margins and having a single fixed-width column of justified text.
- terminal: FOR TESTING ONLY!
Examples
Valid examples
The style is to be applied to a whole page. (In these examples though, the style is applied only to a part of this page.)
Example where no style is applied
{{OEIS Wiki style|begin|none}} For more than three centuries, [[Fermat's last theorem]] fascinated many [[:Category:Mathematicians|mathematicians]], and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. [[Pierre de Fermat]] stated the [[theorem]] in the margin of a page in Bachet's edition of [[Diophantus]]' complete works,<ref>P. Ribenboim, ''13 Lectures on Fermat's Last Theorem''. New York: Springer-Verlag (1979): p. 1.</ref> but the [[proof]] was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a [[conjecture]]. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "'''Fermat's conjecture'''."<ref>Such as: Ethan D. Bolker, ''Elementary Number Theory: An Algebraic Approach'' Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.</ref> And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called '''Wiles' theorem''' instead.<ref>Bolker again, in the preface to the Dover reprint, p. x.</ref> Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated. {{OEIS Wiki style|end|none}}
yields
For more than three centuries, Fermat's last theorem fascinated many mathematicians, and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. Pierre de Fermat stated the theorem in the margin of a page in Bachet's edition of Diophantus' complete works,^{[1]} but the proof was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a conjecture. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "Fermat's conjecture."^{[2]} And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called Wiles' theorem instead.^{[3]} Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated.
Example where default style is applied
{{OEIS Wiki style|begin}} For more than three centuries, [[Fermat's last theorem]] fascinated many [[:Category:Mathematicians|mathematicians]], and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. [[Pierre de Fermat]] stated the [[theorem]] in the margin of a page in Bachet's edition of [[Diophantus]]' complete works,<ref>P. Ribenboim, ''13 Lectures on Fermat's Last Theorem''. New York: Springer-Verlag (1979): p. 1.</ref> but the [[proof]] was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a [[conjecture]]. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "'''Fermat's conjecture'''."<ref>Such as: Ethan D. Bolker, ''Elementary Number Theory: An Algebraic Approach'' Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.</ref> And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called '''Wiles' theorem''' instead.<ref>Bolker again, in the preface to the Dover reprint, p. x.</ref> Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated. {{OEIS Wiki style|end}}
yields
For more than three centuries, Fermat's last theorem fascinated many mathematicians, and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. Pierre de Fermat stated the theorem in the margin of a page in Bachet's edition of Diophantus' complete works,^{[4]} but the proof was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a conjecture. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "Fermat's conjecture."^{[5]} And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called Wiles' theorem instead.^{[6]} Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated.
Examples where a non-default style is applied
Textbook style
See https://oeis.org/w/index.php?title=Fermat%27s_last_theorem&oldid=1576941 for an example of Fermat's last theorem styled with textbook style.
See https://oeis.org/w/index.php?title=Eulerian_polynomials&oldid=1576946 for an example of Eulerian polynomials styled with textbook style.
{{OEIS Wiki style|begin|textbook}} For more than three centuries, [[Fermat's last theorem]] fascinated many [[:Category:Mathematicians|mathematicians]], and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. [[Pierre de Fermat]] stated the [[theorem]] in the margin of a page in Bachet's edition of [[Diophantus]]' complete works,<ref>P. Ribenboim, ''13 Lectures on Fermat's Last Theorem''. New York: Springer-Verlag (1979): p. 1.</ref> but the [[proof]] was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a [[conjecture]]. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "'''Fermat's conjecture'''."<ref>Such as: Ethan D. Bolker, ''Elementary Number Theory: An Algebraic Approach'' Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.</ref> And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called '''Wiles' theorem''' instead.<ref>Bolker again, in the preface to the Dover reprint, p. x.</ref> Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated. {{OEIS Wiki style|end|textbook}}
yields
For more than three centuries, Fermat's last theorem fascinated many mathematicians, and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. Pierre de Fermat stated the theorem in the margin of a page in Bachet's edition of Diophantus' complete works,^{[7]} but the proof was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a conjecture. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "Fermat's conjecture."^{[8]} And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called Wiles' theorem instead.^{[9]} Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated.
Terminal style (ONLY FOR TESTING!)
Retro terminal/console displaying 80 columns (with regular or italic, although 71 columns with bold or bold italic and somewhere in between with both) of monospace font green text on blackish screen.
0123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
0123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
0123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
0123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
0123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 !@#$%^&*()_+-=
abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 !@#$%^&*()_+-=
Note: The LaTeX formulae are rendered black on white background as .png (as per the OEIS Wiki configuration of the MediaWiki server).
See https://oeis.org/w/index.php?title=Fermat%27s_last_theorem&oldid=1576940 for a version of Fermat's last theorem styled with terminal style.
See https://oeis.org/w/index.php?title=Eulerian_polynomials&oldid=1576945 for a version of Eulerian polynomials styled with terminal style.
{{OEIS Wiki style|begin|terminal}} For more than three centuries, [[Fermat's last theorem]] fascinated many [[:Category:Mathematicians|mathematicians]], and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. [[Pierre de Fermat]] stated the [[theorem]] in the margin of a page in Bachet's edition of [[Diophantus]]' complete works,<ref>P. Ribenboim, ''13 Lectures on Fermat's Last Theorem''. New York: Springer-Verlag (1979): p. 1.</ref> but the [[proof]] was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a [[conjecture]]. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "'''Fermat's conjecture'''."<ref>Such as: Ethan D. Bolker, ''Elementary Number Theory: An Algebraic Approach'' Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.</ref> And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called '''Wiles' theorem''' instead.<ref>Bolker again, in the preface to the Dover reprint, p. x.</ref> Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated. {{OEIS Wiki style|end|terminal}}
yields
For more than three centuries, Fermat's last theorem fascinated many mathematicians, and even after it was finally proved by Andrew Wiles in 1994, continues to exert great fascination. Pierre de Fermat stated the theorem in the margin of a page in Bachet's edition of Diophantus' complete works,^{[10]} but the proof was not found in any of Fermat's extant papers. For over 300 years, the theorem was in fact a conjecture. Nevertheless there are quite a few texts written prior to the 1990s which refer to it as "Fermat's conjecture."^{[11]} And because Wiles rather than Fermat gave the first published and verified proof, some have even suggested Fermat's last theorem should be called Wiles' theorem instead.^{[12]} Also, there is reason to believe that it was in fact not the last theorem Fermat ever stated.
Invalid examples
{{OEIS Wiki style}}
yields
OEIS Wiki style error: first parameter must be either begin or end!
{{OEIS Wiki style|start}}
yields
OEIS Wiki style error: first parameter must be either begin or end!
Code
<noinclude>{{Documentation}}</noinclude><includeonly><!-- The template must be used twice: * with "begin" parameter (at the beginning of a page), * with "end" parameter (at the end of a page). This is intentional, since wrapping the whole page in a single template call would raise issues, e.g. we would have to * replace all = with the {{=}} template call, * replace all | with the {{!}} template call, * ... and it would likely be very inefficient to pass a huge page as a parameter! -->{{#switch: {{{1|}}} | begin = <!-- Used at beginning of a page (to insert opening tags). --><!-- -->{{#switch: {{{2|default}}} | none = <!-- No style is applied. -->| default = <!-- ***** Placeholder for eventual default style. ***** -->[[Category:Styled items]] <div> <div> | textbook = <!-- ***** Light gray workspace containing a centered white page with margins and having a single fixed-width column of justified text. ***** http://www.w3schools.com/cssref/css3_pr_box-shadow.asp (box-shadow supported in IE9+, Firefox 4, Chrome, Opera, and Safari 5.1.1) -->[[Category:Styled items]] <div align="center" style="background: #f9f9f9; padding: 25px;"><!-- This is the desk surface. --> <div style="width: 580px; text-align: justify; padding-left: 75px; padding-right: 75px; padding-top: 50px; padding-bottom: 50px; border: 1px solid lightgray; background: white; box-shadow: 2px 2px 3px #aaaaaa;"><!-- This is the textbook page. --> | terminal = <!-- For testing only! (The LaTeX formulae are rendered on white background.) --><!-- ***** Black workspace containing a centered black page having a single fixed-width (80 characters) column of left justified light green text in fixed-width font. ***** -->[[Category:Styled items]] <div align="center" style="background: black; padding: 25px;"><!-- This is the pitch black room. --> <div style="width: 640px; text-align: left; padding-left: 1px; padding-right: 1px; padding-top: 1px; padding-bottom: 1px; border: 1px solid black; background: #1f1f1f; color: #00ff00; font-family: 'Lucida Console', Consolas, monospace; font-size: 100%;"><!-- This is the retro terminal screen. --> }} | end = <!-- Used at end of a page (to insert closing tags). --><!-- -->{{#switch: {{{2|default}}} | none = <!-- No style was applied. -->| <!-- Some style was applied. --> </div> </div> [[Category:Styled items]] <!-- In case someone forgot the previous call with "begin" parameter! (Easier to keep track of...) --> }} | {{error| OEIS Wiki style error: first parameter must be either <tt>begin</tt> or <tt>end</tt>! }} }}</includeonly>
See also
Notes
The following notes appear here because of the examples given above!
- ↑ P. Ribenboim, 13 Lectures on Fermat's Last Theorem. New York: Springer-Verlag (1979): p. 1.
- ↑ Such as: Ethan D. Bolker, Elementary Number Theory: An Algebraic Approach Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.
- ↑ Bolker again, in the preface to the Dover reprint, p. x.
- ↑ P. Ribenboim, 13 Lectures on Fermat's Last Theorem. New York: Springer-Verlag (1979): p. 1.
- ↑ Such as: Ethan D. Bolker, Elementary Number Theory: An Algebraic Approach Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.
- ↑ Bolker again, in the preface to the Dover reprint, p. x.
- ↑ P. Ribenboim, 13 Lectures on Fermat's Last Theorem. New York: Springer-Verlag (1979): p. 1.
- ↑ Such as: Ethan D. Bolker, Elementary Number Theory: An Algebraic Approach Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.
- ↑ Bolker again, in the preface to the Dover reprint, p. x.
- ↑ P. Ribenboim, 13 Lectures on Fermat's Last Theorem. New York: Springer-Verlag (1979): p. 1.
- ↑ Such as: Ethan D. Bolker, Elementary Number Theory: An Algebraic Approach Mineola, New York: Dover Publications (1969, reprinted 2007): p. 139.
- ↑ Bolker again, in the preface to the Dover reprint, p. x.