AniDB:Page layout: Difference between revisions

m
no edit summary
(Some small changes)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{todo}}
{{todo}}
{{TOCright}}


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.
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 47: Line 48:


  <nowiki> <div id="layout-content"( class="nonav")>
  <nowiki> <div id="layout-content"( class="nonav")>
  <h1>[pagetitle]</h1>
  <h1>[pagetitle]</h1>
  <div class="section [pagename]_[sectionnamea]">
  <div class="g_content [pagename]_all">
  [content]
    <div class="g_section [pagename]_[sectionnamea]">
  </div>
      [content]
  <div class="section [pagename]_[sectionnameb]">
    </div>
  [content]
    <div class="g_section [pagename]_[sectionnameb]">
  </div>
      [content]
    </div>
  </div>
  </div></nowiki>
  </div></nowiki>


Line 146: Line 149:
=== Text ===
=== Text ===


Text data should convert <code>\n</code> into <code><nowiki><br /></nowiki></code> before output. Text derived from user input should also [http://tracker.anidb.info/view.php?id=498 convert from simple formating to html].
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]]
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.