This is a component page used internally by the SCP Wiki. It is intended to be used and included on other pages.

Better is subjective of course, but what you see is what you get.

This is a component that mimics the custom footnotes as seen in SCP-4485.


Text.Text in footnote.
Text.Text in footnote. and more text.
Text.Text in footnote.. More text.
Text not in footnote.

How to use:

Put this in once:

[[include :scp-wiki:component:betterfootnotes]]

Copy the following structure for each footnote:

[[span class="fnnum"]].[[/span]][[span class="fncon"]]Text in footnote.[[/span]]


- The fnnum span class contains a period, as it needs at least one non-space character to properly parse.

- The color of the footnote superscript is customizable with the following:

[[module CSS]]
:root {
--fnColor: COLOR HERE;

Otherwise defaults to #E6283C.

- There is no bottom footnote list.

- Works with Sigma-9, but might not be as seamless.

- Special thanks to WoedenazWoedenaz for their impeccable design sense, and Placeholder McDPlaceholder McD for pestering encouraging me to make this.

Source Code:

:root {
    --posX: calc(50% - 358px - 12rem);
    --fnTransition: 0.3s;
    --fnLinger: 0.15s;
    --fnInteract: calc(var(--fnTransition) + var(--fnLinger));
/*--- Footnote Auto-counter --*/
#main-content {
    counter-reset: megacount;
/*--- Footnote Superscript Number --*/
.fnnum {
    display: inline-block;
    width: max-content;
    text-indent: -0.475ex;
    vertical-align: super;
    line-height: 80%;
    word-break: initial;
    text-decoration: none;
    font-weight: bold;
    font-style: initial;
    color: transparent;
    position: relative;
    font-size: 80%;
    padding: .15em .05em;
    margin-right: -0.25em;
    counter-increment: megacount;
    -webkit-user-select: none;
    user-select: none;
.fnnum::after {
    content: "" counter(megacount);
    color: var(--fnColor, #E6283C);
.fnnum:hover {
    text-decoration: none;
    cursor: pointer;
    background-color: var(--fnColor, #E6283C);
.fnnum:hover::after { color: white; }
/*--- Footnote Content Wrapper --*/
.fncon {
    position: absolute;
    right: calc(var(--posX) + 80px);
    line-height: 1.2;
    padding: 0.82rem;
    width: 10.3rem;
    background: white;
    border: 2px solid black;
    font-weight: initial;
    font-style: normal;
    text-align: initial;
    visibility: hidden;
    opacity: 0;
    z-index: 9;
        opacity 0.15s linear var(--fnLinger),
        right var(--fnTransition) cubic-bezier(.08,.72,.5,.94) var(--fnLinger),
        visibility 0.01s linear var(--fnInteract);
.fnnum:hover + .fncon, .fncon:hover {
    opacity: 1;
    right: var(--posX);
    visibility: visible;
        opacity 0.15s linear,
        right var(--fnTransition) cubic-bezier(.08,.72,.5,.94);
.fncon::before {
    position: absolute;
    top: 0; left: 0;
    transform: translateX(-52%) translateY(-55%) scale(1.15);
    background-color: var(--fnColor, #E6283C);
    color: white;
    content: counter(megacount);
    font-size: initial;
    font-weight: bold;
    font-style: initial;
    padding: 0.18rem 0.32em 0.08rem;
/*--- Mobile Query --*/
@media only screen and (max-width: 1279px) {
    .fncon {
        position: fixed;
        bottom: 1.3rem;
        left: calc(11% - 50px);
        width: 70%;
            opacity 0.15s linear var(--fnLinger),
            left var(--fnTransition) cubic-bezier(.08,.72,.5,.94) var(--fnLinger),
            visibility 0.01s linear var(--fnInteract);
    .fnnum:hover + .fncon, .fncon:hover {
        left: 11%;
            opacity 0.15s linear,
            left var(--fnTransition) cubic-bezier(.08,.72,.5,.94);
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License