디스코드 대화방 소스

잠깐 정지!!

SCP 위키 내부에서 사용되는 템플릿 페이지입니다.

스탭의 허가없이
이 페이지를 만지지 마세요


/*====================================================================
================FOR INSTRUCTIONS ON HOW TO USE GO TO:=================
============http://www.scp-wiki.net/component:discord-chat============
====================================================================*/

[!-- {$inc-source}
[[module CSS]]
@import url("http://www.scp-wiki.net/local--files/component:discord-chat-source/discord.css");
[[/module]]
[!----]

[!-- {$inc-start}
[[div_ class="discord"]]
    [[div_ class="messages-panel"]]
        [[div_ class="messages-group"]]
            [[div_ class="messages"]]
[!----]

[!-- {$inc-end}
            [[/div]]
        [[/div]]
    [[/div]]
[[/div]]
[!----]

[!-- {$inc-user}
[[module css]]
/* User 1 Messages Content */

.{$user-id} > .icon {
    background-image: url('{$usericon}');
}

.{$user-id} > .body > .userblock > .user-name {
    color: {$usercolor} !important;
}
[[/module]]
[!----]

[!-- {$inc-msg-start}
                [[div_ class="message {$user-id}"]]
                    [[div_ class="icon"]]
                    [[/div]]
                    [[div_ class="body"]]
                        [[div_ class="userblock"]]
                            [[div_ class="user-name"]]
                            {$username}
                            [[/div]]
                            [[div_ class="msg-time"]]
                            {$msg-time}
                            [[/div]]
                        [[/div]]
                        [[div_ class="content"]]
[!----]

[!-- {$inc-msg-end}
                        [[/div]]
                    [[/div]]
                [[/div]]
[!----]

[!-- {$inc-attch}
[[module css]]
/* {$attchname} Content */

.{$attch-id} .filenameLinkWrapper > .anchor {
    content: "{$attchname}";
}

.{$attch-id}.filenameLinkWrapper > .metadata {
    content: "{$attchsize}";
}

.{$attch-id} .icon-code {
    background-image: url("http://scptestwiki.wikidot.com/local--files/component%3Adiscord-css-source/file_icon.svg");
}
[[/module]]
                [[div_ class="message {$user-id} {$attch-id}"]]
                    [[div_ class="icon"]]
                    [[/div]]
                    [[div_ class="body"]]
                        [[div_ class="userblock"]]
                            [[div_ class="user-name"]]
                            {$username}
                            [[/div]]
                            [[div_ class="msg-time"]]
                            {$msg-time}
                            [[/div]]
                        [[/div]]
                        [[div_ class="attachment"]]
                            [[div_ class="icon-code"]]
                            [[/div]]
                            [[div_ class="attachmentInner"]]
                                [[div_ class="filenameLinkWrapper"]]
                                    [[a href="{$attchlink}"class="anchor"  rel="noreferrer noopener" target="_blank"]]{$attchname}[[/a]]
                                    [[div_ class="metadata"]]
                                    {$attchsize}
                                    [[/div]]
                                [[/div]]
                            [[/div]]
                            [[a class="anchor" href="{$attchlink}" target="_blank"]][[image http://www.scp-wiki.net/local--files/component:discord-chat-source/download-arrow.svg]][[/a]]
                        [[/div]]
                    [[/div]]
                [[/div]]
[!----]

[!-- {$inc-new-msgs}
[[div_ class="divider"]]
[[span class="dividerContent"]]새로운 메시지[[/span]]
[[/div]]
[!----]
따로 명시하지 않는 한에서 이 사이트의 모든 콘텐츠는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스를 따릅니다.