Comparison table
3D Game Comparison - Game vs. game. No hype; just facts.™
Revision as of 11:13, 30 July 2007 (edit) Eep² (t|c) m →Dynamic Page List - notitlematch ← Previous diff |
Revision as of 13:52, 9 August 2007 (edit) (undo) Eep² (t|c) →Dynamic Page List Next diff → |
||
Line 10: | Line 10: | ||
==[[mw:Extension:DynamicPageList|Dynamic Page List]]== | ==[[mw:Extension:DynamicPageList|Dynamic Page List]]== | ||
- | Lists all articles in category even if they don't use [[template:game]] and doesn't include field links either: | + | Lists all articles in category even if they don't use [[template:game]] and doesn't include template's field links: |
<dpl> | <dpl> | ||
category=Games | category=Games | ||
Line 37: | Line 37: | ||
category=Games | category=Games | ||
|includepage={game}.dpl | |includepage={game}.dpl | ||
+ | |nottitlematch=(test game) | ||
+ | |ordermethod=title | ||
+ | |listseparators=\n{¦cellpadding=0 cellspacing=0 border class=sortable style="border: 1px black; font-family: Tahoma; font-size: 8pt"\n!{{cat|Games|Game}}\n !{{cat|Years|Year}} !!{{cat|Genres|Genre}} !!{{cat|Companies|Publisher}} !!{{cat|Companies|Developer}} !!{{cat|Engines|Engine}} !!{{cat|Player characters|Character}}\n¦-,\n¦[[%PAGE%]],\n¦-\n,\n¦} | ||
+ | |secseparators= ¦¦ | ||
+ | |uses=Template:game | ||
+ | |resultsfooter='''Total games: %PAGES%''' | ||
+ | }} | ||
+ | |||
+ | |||
+ | With Semantic MediaWiki game template: | ||
+ | {{#dpl: | ||
+ | category=Games | ||
+ | |includepage={game}.smwdpl | ||
|nottitlematch=(test game) | |nottitlematch=(test game) | ||
|ordermethod=title | |ordermethod=title |
Revision as of 13:52, 9 August 2007
These are tests to see if I can get a MediaWiki table to look like my game comparison table. Unfortuately, it's not going very well...too many extensions are required to even get basic functionality, let alone the full design!
TemplateTable
no headers specified--only "website" appears but with cropped template syntax except if the "website" field is defined with a
Dynamic Page List
Lists all articles in category even if they don't use template:game and doesn't include template's field links:
%DPL-1.4.2-WARNING: No results!
With specific template declaration and manually entered field header category links (should take template table field data directly, preferably...):
%DPL-1.4.2-WARNING: No results!
With (redundant) DPL template and unspecified fields (empty fields show template code if template does not use a parser function to hide non-existent parameters, however; "(test game)" hidden):
%DPL-1.4.2-WARNING: No results!
With Semantic MediaWiki game template:
%DPL-1.4.2-WARNING: No results!
Semantic MediaWiki
Possible but requires lots of complex relations/attributes/types in order to function. Last-ditch resort...getting closer to using it...but I don't think it can use rows and columns as headers (multi-dimensional tables) either...<sigh>