Difference between revisions of "Old Homepage"

From FollowTheScore
Jump to: navigation, search
Line 15: Line 15:
 
<dpl>
 
<dpl>
 
   category=African Union member states
 
   category=African Union member states
   includepage={Infobox Country or territory} dpl
+
   includepage={Infobox Country or territory} dpl,%0[100]
 
   mode=userformat
 
   mode=userformat
 
   addpagecounter=true
 
   addpagecounter=true
   listseparators=\n{|class=sortable \n!Country \n!Area \n!Population \n|#hits\n|-,\n|-\n|[[#%PAGE%|%PAGE%]]\n,\n|align=right|%COUNT%\n,\n|}
+
   listseparators=\n{|class=sortable \n!Country \n!Area \n!Population \n!Text \n!#hits\n|-,\n|-\n|[[#%PAGE%|%PAGE%]]\n,\n|align=right|%COUNT%\n,\n|}
 
   secseparators=\n|
 
   secseparators=\n|
 
</dpl>
 
</dpl>

Revision as of 08:43, 20 July 2007



This wiki is the homeplace of two powerful MediaWiki extensions.

Dynamic Page List

Wgraph

DPL is a report generator for MediaWikis.
It creates lists of articles that match certain criteria. Meta data like author, popularity or date of last update can be added. Contents from articles can be included in the result, based on chapters, templates or special markers in the text.

Country Area Population Text #hits
Cameroon 475,442 16,323,000
     ..→
%COUNT%
Nigeria 923,768 133,530,0001 Template:Let me test this

<table class="infobox geography vcard" style="width:46ex; ..→

%COUNT%
Somalia 637,657 8,228,000
     ..→
%COUNT%
Sudan 2,505,813 36,992,490
     ..→
%COUNT%

Wgraph is a graph generator for MediaWikis.
It allows you to define the semantics of a graph in an abstract textual notation called WGL (Wiki Graph Language). You may add hints for layout, but the graph itself is being produced automatically. Wgraph is a powerful visualisation instrument for objects and their relations.

{{#wgraph: svg | thumb = 40 |

 node wgl         { type data     label "text notation\n-- WGL --" }
 edge wgl wgraph  { kind rightnear color red }
 node wgraph      { type process  label "Wgraph\nmediawiki extension" }
 edge wgraph gdl  { }
 node gdl         { type data     label "graph definition\n-- GDL --" }
 edge gdl aisee   { }
 node aisee       { type process  label "aiSee\nlayout generator" }
 edge aisee img   { kind leftnear }
 node img         { type data     label "image\n-- png, svg --" 
                    shape hexagon }
 nodetype data    { shape ellipse, color lightyellow,
                    bordercolor khaki, height 60 }
 nodetype process { shape box color lightmagenta 
                    bordercolor magenta height 60 }
 xspace=70, yspace=100

}}

  • The extensions are installed in this wiki. Test them live!
  • There is extensive documentation, see the online manuals.
  • You can download the sources.
  • There are plenty of examples, which can serve as a starting point for your own ideas.
  • There is a small calendar application (built with DPL) which you can use and enhance.
  • There is a place where you can report bugs and request new features.
  • If you use the extensions, please leave a reference to your wiki!

Note: This wiki also has other extensions installed, which can be tested here: StackFunctions