summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/docs/14
-rw-r--r--data/docs/1045
-rw-r--r--data/docs/213
-rw-r--r--data/docs/42
-rw-r--r--data/docs/917
-rw-r--r--data/docs/index1
-rw-r--r--data/global.pl14
-rw-r--r--data/style.css102
8 files changed, 155 insertions, 43 deletions
diff --git a/data/docs/1 b/data/docs/1
index 835d2070..c6d7914c 100644
--- a/data/docs/1
+++ b/data/docs/1
@@ -1,4 +1,8 @@
:TITLE:Categories
+<div class="warning">
+ The category system has been replaced with a new tagging system. This page
+ is still available for reference, but will be removed in a later site update.
+</div>
:INC:index
diff --git a/data/docs/10 b/data/docs/10
new file mode 100644
index 00000000..30baafae
--- /dev/null
+++ b/data/docs/10
@@ -0,0 +1,45 @@
+:TITLE:Tagging system
+:INC:notfinished
+:INC:index
+
+
+:SUB:Introduction
+<i>TODO</i>
+
+
+:SUB:Tag voting
+<p>
+ While everyone is pretty much free to link any tag to any visual novel, please keep the following
+ in mind while voting:
+</p>
+<ul>
+ <li>Read the description of each tag before you link it to a VN, some tags may not always mean what
+ you think they do.</li>
+ <li>Try to be as specific as you can. For example, if a game has drama elements, rather than voting
+ on the "Drama" tag, try to look for a more specific child tag that describes what kind of drama a
+ player can expect.</li>
+ <li>A rating between -3 and 3 can be given to a tag. A negative rating indicates that you disagree
+ with a tag, with -1 being "I wouldn't say this tag really applies" and -3 meaning you fully disagree
+ and the tag really doesn't apply at all. A positive rating works the opposite way, and indicates
+ that you do agree with it.</li>
+ <li>Some tags can act as spoilers for the plot of a VN, this can be indicated by voting on the spoiler
+ status. It is highly recommended to not leave this as "Neutral", and really try to give an indication
+ of whether the tag is not a spoiler at all or does spoil a bit.</li>
+</ul>
+
+
+:SUB:Tag guidelines
+<p>
+ New tags can be requested by everyone, but they'll have to be accepted by a moderator before
+ the tags will be browsable. The following rules apply:
+</p>
+<ul>
+ <li>Tag names should be self-describing. While the meaning of a tag can be obvious if you look
+ at its place within the tag tree, when displayed on a VN page only their name is visible and
+ not the parent tags. The name should thus fully describe what the tag means and should be used
+ for. For example: a tag to describe a male protagonist should be fully named "Male protagonist",
+ even if its parent tag is "Characters &gt; Protagonist".</li>
+ <li>Tags should be used to describe objective information about a VN. Subjective tags like
+ "Awesome protagonist", which would have a different meaning for each individual, are not allowed.</li>
+</ul>
+
diff --git a/data/docs/2 b/data/docs/2
index c6428c55..2f7095df 100644
--- a/data/docs/2
+++ b/data/docs/2
@@ -63,15 +63,10 @@
:SUB:Categories
-<p>
- It is possible to select relevant categories for visual novels, where the relevance
- can be ranked using a number from 0 to 3, where 0 indicates the category does not
- apply at all, and 3 means that the category is very dominant in the game.<br />
- See <a href="/d1">Categories</a> for descriptions about each category.<br />
- Just as with the <i>Length</i> field, this information is very subjective. Just
- use the category descriptions and common sense to determine which categories to
- select and what relevance to apply.
-</p>
+<i>
+ The category system has been replaced with tags. This section is a placeholder to preserve
+ numbering.
+</i>
:SUB:Image
diff --git a/data/docs/4 b/data/docs/4
index 2282bb0d..927b7d2d 100644
--- a/data/docs/4
+++ b/data/docs/4
@@ -24,6 +24,8 @@
</dd><dt>Original name</dt><dd>
If the Name (above) has been romanised, make sure to mention the original (most likely
the Japanese) name here.
+ </dd><dt>Aliases</dt><dd>
+ Other names the producer is known as. Multiple aliases should be separated by a comma.
</dd><dt>Primary language</dt><dd>
The language the the producer works in most of the time. By default, it is Japanese.
</dd><dt>Website</dt><dd>
diff --git a/data/docs/9 b/data/docs/9
index fd6da75e..f5ee46ab 100644
--- a/data/docs/9
+++ b/data/docs/9
@@ -5,29 +5,30 @@
:SUB:Introduction
<p>
VNDB has a nicely integrated discussion board which can be used for, well,
- discussions. As we're not using any popular and freely available forum software
+ discussions. As we're not using any popular or freely available forum software
and have instead written something by ourselves, this discussion board has a
few slight differences with the popular boards you're used to.
</p>
-:SUB:Tags
+:SUB:Boards
<p>
- To make sure interested people can find your post, all threads have 'tags'
- that define what the discussion is about. It's possible to add more than
- one tag to a thread. The following tags can be used:
+ To make sure interested people can find your post, all threads have relations
+ to one or more 'boards' that define what the discussion is about. This is similar
+ to boards on other forums, but here every item in the DB has its own board, and
+ it's possible to link a thread to more than one board. The following boards can be used:
</p>
<dl>
<dt>db</dt><dd>
- VNDB Discussions. This is a general tag for threads not about any specific
+ VNDB Discussions. This is a general board for threads not about any specific
entry in the database.
</dd><dt>v#</dt><dd>
- For discussions about a particular visual novel. The tag <i>v17</i>, for example,
+ For discussions about a particular visual novel. The board <i>v17</i>, for example,
is used for all threads related to <a href="/v17">v17</a>.
</dd><dt>p#</dt><dd>
Same as <i>v#</i>, but for producers.
</dd><dt>u#</dt><dd>
- The <i>u#</i> tag can be used to notify a user on this site about something
+ The <i>u#</i> board can be used to notify a user on this site about something
he/she must see or to discuss about an edit he/she has made. This is similar
to the 'private message' feature of most sites, except it's not 'private'...
</dd><dt>an</dt><dd>
diff --git a/data/docs/index b/data/docs/index
index e121ebfb..79d751af 100644
--- a/data/docs/index
+++ b/data/docs/index
@@ -5,6 +5,7 @@
<li><a href="/d2">Visual Novels</a></li>
<li><a href="/d3">Releases</a></li>
<li><a href="/d4">Producers</a></li>
+ <li><a href="/d10">Tags</a></li>
<li><b>About VNDB</b></li>
<li><a href="/d9">Discussion board</a></li>
<li><a href="/d6">FAQ</a></li>
diff --git a/data/global.pl b/data/global.pl
index 2bb84e08..739578bf 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -26,12 +26,12 @@ our %S = (%S,
sharedmem_key => 'VNDB',
user_ranks => [
# rankname allowed actions # DB number
- [qw| visitor hist |], # 0
- [qw| banned hist |], # 1
- [qw| loser hist board |], # 2
- [qw| user hist board edit |], # 3
- [qw| mod hist board boardmod edit mod lock del |], # 4
- [qw| admin hist board boardmod edit mod lock del usermod |], # 5
+ [qw| visitor hist |], # 0
+ [qw| banned hist |], # 1
+ [qw| loser hist board |], # 2
+ [qw| user hist board edit tag |], # 3
+ [qw| mod hist board boardmod edit tag mod lock del tagmod |], # 4
+ [qw| admin hist board boardmod edit tag mod lock del tagmod usermod |], # 5
],
languages => {
cs => q|Czech|,
@@ -58,7 +58,7 @@ our %S = (%S,
in => 'Individual',
ng => 'Amateur group',
},
- discussion_tags => {
+ discussion_boards => {
an => 'Announcements', # 0 - usage restricted to boardmods
db => 'VNDB Discussions', # 0
v => 'Visual novels', # vid
diff --git a/data/style.css b/data/style.css
index 6ac89743..042beb33 100644
--- a/data/style.css
+++ b/data/style.css
@@ -86,6 +86,7 @@ p.locked {
font-style: italic;
margin: 0!important;
}
+b.grayedout { font-weight: normal; color: $grayedout$ }
#maincontent h2 b {
font: 8pt "Tahoma";
font-weight: normal;
@@ -107,11 +108,13 @@ b.spoiler, b.spoiler a {
font-weight: normal;
}
b.spoiler_shown { font-weight: normal }
-div.quote {
+#maincontent div.quote {
padding: 1px 5px;
margin: 0px 10px;
color: $grayedout$;
+ border: none;
border-left: 1px dotted $border$;
+ text-align: left;
}
@@ -358,7 +361,7 @@ b.future {
#maincontent .mainbox.threelayout {
float: left;
width: 31%;
- height: 170px;
+ height: 200px;
margin: 21px 10px -10px 0;
padding: 2px;
overflow: hidden;
@@ -508,11 +511,11 @@ div.mainbox.discussions td.tc4 {
div.mainbox.discussions a.locked {
text-decoration: line-through;
}
-div.mainbox.discussions td.tags {
+div.mainbox.discussions td.boards {
padding-top: 0;
padding-left: 60px;
}
-div.mainbox.discussions td.tags a {
+div.mainbox.discussions td.boards a {
color: $grayedout$!important
}
div.discussions td.tc2 { width: 50px; }
@@ -535,7 +538,7 @@ div.discussions td.tc4 { width: 170px; }
div.vndetails {
margin: 0 auto;
- width: 700px;
+ width: 800px;
}
div.vnimg {
float: left;
@@ -553,13 +556,19 @@ div.vnimg p {
padding: 0px;
margin: 0;
}
+.vndesc h2 {
+ margin: 5px 0 0 0!important;
+}
+.vndesc p {
+ padding: 0 0 0 5px;
+}
img#nsfw_hid {
display: none;
cursor: pointer;
}
div.vndetails table {
float: left;
- width: 430px;
+ width: 530px;
}
div.vndetails table td.key {
width: 80px;
@@ -571,6 +580,7 @@ div.vndetails table dt {
div.vndetails table dd {
margin-left: 90px;
}
+
.catlvl_0, .catlvl_1, .catlvl_2, .catlvl_3 { font-style: normal; }
.catlvl_1 { color: $catlevel1$!important }
.catlvl_2 { color: $catlevel2$!important }
@@ -588,21 +598,25 @@ div.vndetails td.anime b {
font-weight: normal;
padding-right: 4px;
}
-div.vndescription {
- clear: left;
- padding: 5px 0 0 0;
-}
-div.vndescription h2 {
- margin: 0 30px!important;
+div#vntags {
+ margin: 15px 30px 0 30px;
border-top: 1px solid $border$;
- padding: 3px 70px;
- font-weight: bold!important;
+ padding: 1px 5% 0 5%;
+ text-align: center;
}
-div.vndescription p {
- margin: 0 100px!important;
+#vntags span { white-space: nowrap; margin-left: 15px; }
+#vntags span.hidden { display: none }
+#vntags b { color: $grayedout$; font-weight: normal; font-size: 8px }
+#tagops {
+ float: right;
+ text-align: right;
+ width: auto;
+ margin: 0 30px;
}
+#tagops a { margin: 0 0 0 10px; border: 0; outline: none }
+#tagops a.sec { border-left: 1px solid $border$; padding-left: 10px }
+#maincontent #tagops a.tsel { color: $maintext$; }
-b.patch { font-weight: normal; color: $grayedout$ }
.releases table, #screenshots table {
width: 100%;
}
@@ -935,8 +949,8 @@ ul#catselect li li.exc { background-position: 0px -33px; color: $statnok$; }
/***** User VN list browser ******/
-.rlist .relhid { }
-.rlist .relhid_but, #relhidall { cursor: pointer }
+.relhid_but, #relhidall { cursor: pointer }
+.relhid_but i, #relhidall i { font-style: normal }
.browse.rlist .tc2 { width: 100px; }
.browse.rlist .tc3 { width: 70px; }
.browse.rlist .relhid .tc1 { padding-left: 40px; width: 70px; }
@@ -963,6 +977,56 @@ ul#catselect li li.exc { background-position: 0px -33px; color: $statnok$; }
+/***** Tag page *****/
+
+.tagtree { margin-left: 20px; margin-top: -20px; list-style-type: none; }
+.tagtree li { float: left; width: 200px; margin-top: 10px; }
+.tagtree li li { float: none; width: auto; margin-top: 0; }
+.tagtree ul { margin-left: 10px; list-style-type: none; }
+.tagvnlist .tc1 { width: 105px; }
+.tagvnlist .tc1 i { font-style: normal; font-size: 8px }
+.tagvnlist .tc3 { text-align: right; padding: 0; }
+.tagvnlist .tc4 { padding: 0; }
+.tagvnlist .tc6 { text-align: right; padding-right: 10px; }
+
+/***** Tag list *****/
+
+.browse.taglist .tc1 { width: 80px }
+
+/***** User tag list *****/
+.browse.tagstats .tc1 { width: 80px }
+.browse.tagstats .tc1_2 { padding-left: 15px }
+
+/***** VN tagmod *****/
+
+#jt_box_tags .formtable table td { padding: 1px 5px }
+#tagtable tfoot td { padding-top: 20px!important; }
+#tagtable .tc2_1 { border-right: 1px solid $border$; border-left: 1px solid $border$; width: 150px; text-align: center }
+#tagtable .tc3_1 { border-left: 1px solid $border$; width: 150px; text-align: center }
+#tagtable .tc1 { min-width: 200px; border-right: 1px solid $border$ }
+#tagtable .tc2 { padding-left: 30px!important }
+#tagtable .tc3 { border-right: 1px solid $border$; padding-right: 30px!important; text-align: right; padding-left: 10px!important }
+#tagtable .tc4 { padding-left: 30px!important; }
+#tagtable .tc4 i { font-style: normal; font-size: 8px }
+#tagtable .tc5 { text-align: right; padding-right: 30px!important; }
+.taglvl { display: block; float: left; width: 8px; height: 12px; border: 1px solid $border$; font-size: 1px; color: $maintext$!important }
+.taglvl0 { width: 15px; border: none!important; font-size: 10px; text-align: center; }
+div.taglvl0 { font-size: 8px; width: 20px!important }
+div.taglvl { border: none!important; width: 10px; height: 14px }
+a.taglvl:hover { border-bottom: 1px solid transparent!important }
+.taglvlsel.taglvl-3 { background-color: #f00; border-color: #f00 }
+.taglvlsel.taglvl-2 { background-color: #f40; border-color: #f40 }
+.taglvlsel.taglvl-1 { background-color: #f80; border-color: #f80 }
+.taglvlsel.taglvl1 { background-color: #cf0; border-color: #cf0 }
+.taglvlsel.taglvl2 { background-color: #8f0; border-color: #8f0 }
+.taglvlsel.taglvl3 { background-color: #0f0; border-color: #0f0 }
+#jt_box_tags #tagtable .tc3 { padding: 0 }
+#tagtable .tc3 select { width: 90px; height: 15px; border: 0; margin: 0; font-size: 11px; background-color: $_blendbg$; text-align: right }
+#tagtable .odd .tc3 select { background-color: $secbg$ }
+
+
+
+
/***** Warning/Notice Box *****/
div.warning, div.notice {