mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
156 lines
5.2 KiB
156 lines
5.2 KiB
extends ../layout.pug
|
|
include ../mixins/post.pug
|
|
|
|
block head
|
|
title Frequently Asked Questions
|
|
|
|
block content
|
|
h1.board-title FAQ
|
|
.table-container.flex-center
|
|
table.table-body
|
|
tr.table-head
|
|
th Frequently Asked Questions
|
|
tr.table-row
|
|
td.post-message
|
|
b General (under construction)
|
|
ul.mv-0
|
|
li What is an imageboard?
|
|
li What are the rules?
|
|
b Making posts (under construction)
|
|
ul.mv-0
|
|
li: a(href='#name-formatting') How do I use the name field when making a post?
|
|
li: a(href='#post-styling') What kind of styling options are available when making a post?
|
|
b Board ownership (under construction)
|
|
ul.mv-0
|
|
li How do I make my own board?
|
|
li How do I assign moderators?
|
|
|
|
.anchor#name-formatting
|
|
.table-container.flex-center
|
|
table.table-body
|
|
tr.table-head
|
|
th: a(href='#name-formatting') Name formatting
|
|
tr.table-row
|
|
td.post-message
|
|
p When posting, you can format the name field to include a name, tripcode , capcode, any combination of the three including leaving the field completely blank. Instead of a blank name, "Anonymous" is used, however this depends on board-specific configuration. The optional components are explained below.
|
|
|
|
b Format
|
|
p
|
|
| Names should be formatted as
|
|
span.mono [Name][##Tripcode][## Capcode]
|
|
| where [ ] indicate optional components. Tripcodes and capcodes may not contain "##" and the whitespace before capcodes is significant.
|
|
p Valid examples:
|
|
ol.mv-0
|
|
li Name
|
|
li Name##tripcode
|
|
li Name## Board Owner
|
|
li Name##tripcode## Board Owner
|
|
p For example, number 5 would look like so in a post:
|
|
-
|
|
const examplePost = {
|
|
"date" : new Date("2019-08-02T09:48:44.180Z"),
|
|
"name" : "Name",
|
|
"board" : "example",
|
|
"tripcode" : "!!X8NXmAS44=",
|
|
"capcode" : "##Board Owner",
|
|
"message" : "Hello, world!",
|
|
"nomarkup" : "Hello, world!",
|
|
"thread" : 1,
|
|
"password" : null,
|
|
"email" : "",
|
|
"spoiler" : false,
|
|
"banmessage" : null,
|
|
"files" : [ ],
|
|
"reports" : [ ],
|
|
"globalreports" : [ ],
|
|
"quotes" : [ ],
|
|
"backlinks" : [ ],
|
|
"postId" : 123
|
|
}
|
|
+post(examplePost)
|
|
p The name appears in the top left, followed by the tripcode with a !! prefix, then the capcode with a ## prefix. The colours may vary between themes but are generally distinct from eachother
|
|
|
|
b Name
|
|
p The name is simply what name you want to be shown alongside your post. Other users can post with the same name so there is nothing preventing impersonation. This is not related to your username (for registered users).
|
|
|
|
b Tripcode
|
|
p A tripcode is a password of sorts, which users can provide in the tripcode component of their name. This tripcode is used in conjunction with a server-known secret to generate the unique* tripcode portion of the name. Users can use the same tripcode, however with a long, secure, unique tripcode, it can be used as a form of identity between posts as it is unlikely that another user will find a different tripcode that generates the same output. It is important that you keep tripcodes secret if you use them for some form of identity. A compromised tripcode can be used for impersonation and cannot be revoked in any way.
|
|
|
|
b Capcode
|
|
p A capcode is a component of the name field only available to authenticated users. This includes admins, global staff, board owners and board moderators. The capcoded string will be prefixed with the users role so board staff can make an authoritative post.
|
|
|
|
.anchor#post-styling
|
|
.table-container.flex-center
|
|
table.table-body
|
|
tr.table-head
|
|
th: a(href='#post-styling') Post styling
|
|
tr.table-row
|
|
td.post-message
|
|
p When posting, you can use certain characters to style your post with bold, italics, code blocks, quotes, etc. The formatting is as follows:
|
|
|
|
b Greentext
|
|
div >greentext →
|
|
span.greentext >greentext
|
|
br
|
|
|
|
b Pinktext
|
|
div <pinktext →
|
|
span.pinktext <pinktext
|
|
br
|
|
|
|
b Title
|
|
div ==title== →
|
|
span.title title
|
|
br
|
|
|
|
|
|
b Bold
|
|
div ""bold"" →
|
|
strong bold
|
|
br
|
|
|
|
b Underline
|
|
div __underline__ →
|
|
span.underline underline
|
|
br
|
|
|
|
b Strikethrough
|
|
div ~~strikethrough~~ →
|
|
span.strikethrough strikethrough
|
|
br
|
|
|
|
b Italic
|
|
div **italic** →
|
|
em italic
|
|
br
|
|
|
|
b Detected
|
|
div (((detected))) →
|
|
span.detected (((detected)))
|
|
br
|
|
|
|
b Code Block
|
|
pre.no-m-p
|
|
| ```
|
|
| var foo = 'bar';
|
|
| ```
|
|
span.code var foo = 'bar';
|
|
br
|
|
|
|
b Inline monospace
|
|
div `monospace` →
|
|
span.mono monospace
|
|
br
|
|
|
|
b Hyperlinking
|
|
div https://example.com → #[a(href='https://example.com') https://example.com]
|
|
br
|
|
|
|
b Quotes
|
|
div >>123 → #[a(class="quote" href="#!") >>123]
|
|
br
|
|
|
|
b Cross Board Quotes
|
|
div >>>/b/ → #[a(class="quote" href="#!") >>>/b/]
|
|
div >>>/b/123 → #[a(class="quote" href="#!") >>>/b/123]
|
|
br
|
|
|