1,633
edits
m (→Text: tag overlap) |
mNo edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{todo}} | {{todo}} | ||
{{TOCright}} | |||
This page is going to be a guide to how pages on | This page is going to be a guide to how pages on AniDB are layed out and marked up, to aid the creation of new stylesheets. | ||
== Structure == | == Structure == | ||
Line 46: | Line 47: | ||
=== Content === | === Content === | ||
<nowiki> <div id="layout-content"> | <nowiki> <div id="layout-content"( class="nonav")> | ||
<h1>[pagetitle]</h1> | |||
<div class="g_content [pagename]_all"> | |||
<div class="g_section [pagename]_[sectionnamea]"> | |||
[content] | |||
</div> | |||
<div class="g_section [pagename]_[sectionnameb]"> | |||
[content] | |||
</div> | |||
</div> | |||
</div></nowiki> | </div></nowiki> | ||
Line 62: | Line 65: | ||
Tables of information, displayed in a columny way. | Tables of information, displayed in a columny way. | ||
<nowiki> <table> | <nowiki> <table( class="[tablename] (g_incomplete)")> | ||
<tr> | <tr> | ||
<th class="[ | <th class="[colnamea]( c_[sortclass])">[title]</th> | ||
<th class="[ | <th class="[colnameb]( c_[sortclass])">[title]</th> | ||
<th class="[ | <th class="[colnamec]( c_[sortclass])">[title]</th> | ||
<th class="[ | <th class="[colnamed]( c_[sortclass])">[title]</th> | ||
<th class="[ | <th class="[colnamee]( c_[sortclass])">[title]</th> | ||
<th class="[ | <th class="[colnamef]( c_[sortclass])">[title]</th> | ||
</tr> | </tr> | ||
<tr( class="g_odd")> | <tr( class="g_odd")> | ||
<td class="[ | <td class="[colnamea]( [contentmarker])">[content]</td> | ||
<td class="[ | <td class="[colnameb]( [contentmarker])">[content]</td> | ||
<td class="[ | <td class="[colnamec]( [contentmarker])">[content]</td> | ||
<td class="[ | <td class="[colnamed]( [contentmarker])">[content]</td> | ||
<td class="[ | <td class="[colnamee]( [contentmarker])">[content]</td> | ||
<td class="[ | <td class="[colnamef]( [contentmarker])">[content]</td> | ||
</tr> | </tr> | ||
<tr>...etc | <tr>...etc | ||
Line 94: | Line 97: | ||
</ol></nowiki> | </ol></nowiki> | ||
When the sequence counts up from 1, it's | When the sequence counts up from 1, it's simple. | ||
<nowiki> <ol> | <nowiki> <ol> | ||
<li class="g_odd">[value]</li> | <li class="g_odd">[value]</li> | ||
<li>[value]</li> | <li>[value]</li> | ||
<li>...etc | <li class="g_odd">...etc | ||
</ol></nowiki> | </ol></nowiki> | ||
Line 146: | Line 149: | ||
=== Text === | === Text === | ||
Text data should convert <code>\n</code> into <code><nowiki><br /></nowiki></code> before output. | Text data should convert <code>\n</code> into <code><nowiki><br /></nowiki></code> before output. Text derived from user input should also {{t|498|convert from simple formating to html}}. | ||
<nowiki> <p class="[name]">[text]<br /> | <nowiki> <p class="[name]">[text]<br /> | ||
[text]<br /> | [text]<br /> | ||
[text]</p></nowiki> | [text]</p></nowiki> | ||
[[Category:Development]] | |||
[[Category:CSS]] |
edits