AniDB talk:Page layout: Difference between revisions

no edit summary
(tonpon)
No edit summary
Line 67: Line 67:
|g_navlist||li||subpages||||latest files/anime/...
|g_navlist||li||subpages||||latest files/anime/...
|-
|-
|g_numonpage||li||number of rows wanted||sub of g_navlist||
|g_numonpage (g_numofrows)||li||number of rows wanted||sub of g_navlist||
|-
|-
|g_jumplist||table||ext/prev page, filter char||||for all sortable lists
|g_jumplist (g_scrollbar)||table||ext/prev page, filter char||a navigation (prev/next) filter list||for all sortable lists
|-
|-
|g_actionlist||- separated||list of different possible actions (links)||||should be in most pages
|g_actionlist (g_linklist)||- separated, to be ul?||list of different possible actions (links)||||should be in most pages
|-
|-
|g_definitionlist||table||vertical field name -> value list||||div.anime_info div.data
|g_definitionlist||table||vertical field name -> value list||||div.anime_info div.data
Line 93: Line 93:
|}
|}
::These need cleaning up.
::These need cleaning up.
=== File states ===
* fs_ok
* fs_invalid
* fs_deprecated
* fs_generic
* fs_lame
::These don't need to be in the global namespace.


=== Messages ===
=== Messages ===
Line 143: Line 135:
* creq
* creq
* message
* message
==== File states ====
* fs_ok
* fs_invalid
* fs_deprecated
* fs_generic
* fs_lame
::These don't need to be in the global namespace.
=== Section names (pre) ===
=== Section names (pre) ===
follows page names mostly (?show=x)
follows page names mostly (?show=x)
=== Field names ===
=== Field names ===
follows db definition mostly
follows db definition mostly
== Page types==
*[] -> optional
*atm all g_ here are also g_sections @ dev
*g_jumplist is bound to listing type (scroll vs. static)
*g_*box can be on top (errors/messages), after g_jumplist (no results, only one jumplist) and on bottom (note/info/warning)
=== Listing ===
anime/group/producer/user
<pre><nowiki>
[g_filterlist] (simple - separated)
<g_jumplist>
<g_section (name)_list>
<g_jumplist>
<g_actionlist>
</nowiki></pre>
=== Sub listing ===
latest/myvotes/myreviews/mydb (has g_jumplist too)/up2date
<pre><nowiki>
<g_navlist>
[g_numonpage]
[g_section (name)_list]
[g_info]
[g_filterlist] (ul)
[g_actionlist]
</nowiki></pre>
=== Info ===
anime/episode/file/group/producer
*no g_sections here atm
<pre><nowiki>
<"infobox"> (table(image,table) or div(div(div,div),p) atm)
["votebox"]
[g_section list]
[g_info]
<g_actionlist>
</nowiki></pre>
=== Add ===
just a g_definitionlist (+ sub pages)
=== Simple (top-bottom) ===
search/news/my */ed2kdump
=== Special ===
* my list
* my place
* anime calendar
* creq pages
546

edits

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