Dải Thông Tin


Đây là trang component được sử dụng nội bộ bởi Wiki SCP-VN. Trang này được tạo để sử dụng và thêm vào các trang khác.

Tác giả:

Với sự trợ giúp từ:

With input from:
RounderhouseRounderhouse, djkaktusdjkaktusUncle NicoliniUncle Nicolini

Cách dùng:

Ví dụ

What Is This For?

This is a tool for showing meta information about an article at the top of that very same article. Usually, this would be impossible without breaking the flow of the article, but this acts as a way to show out-of-universe information (e.g. crit credits, author commentary, etc.) without disrupting the user experience or requiring the author to make an author post.

Some authors may choose to place content warnings within this area, but be warned that this is not a common practice, and will not always be the case — seeing an article without content warnings just means there are no content warnings.

Is This Part of the Black Highlighter (nuSCP) Theme?

No. While the two look absolutely amazing together, these are separate modules that can be used independently. The two are usually seen together because they look so dang good.

How Does It Work, and How Do I Use It?

It's a collapsible. That's the long and short of it. A very stylish collapsible.

Here's the code to add to the very top of your article:

[[include :scp-wiki:component:info-ayers
|lang=en[!-- EN/RU/KO/CN/FR/PL/ES/TH/JP/DE/IT/UA/PTBR --]
|page=scp-XXXX[!-- url of your page on the scp wiki --]
|authorPage=http://www.scp-wiki.net/yourAuthorPage[!-- link to your author page --]
|comments=Any additional comments (image sources, crit credits, whatever)

IMPORTANT: If your comments section spans multiple paragraphs, you must have a space at the end of each paragraph or the text will not display! Also, if the final line of your comment section ends in "]]" (e.g. ending a div block) then you must add "@@ @@" after the end of it.

The template has multiple divs that can be configured in your CSS modules. You may hide the divs to remove that section of the module:

  • #u-author_block — for the big "More by this Author" button
  • .translation_block — for the translation block

You can also change the colour of the bar by editing the two local variables in :root

  • --barColour: #633; — this is the colour of the bar and the author button
  • --linkColour: #FFF; — this is the colour of the "i" and the text within the author button
Nếu không có ngoại lệ được nêu, nội dung của trang này được xuất bản dưới giấy phép Creative Commons Attribution-ShareAlike 3.0 License