Difference between revisions of "DPL:Gallery"
(5 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
A more elaborated (german) version is available at: http://de.wiki-products.org/Treibstoffverbrauch_pro_Sitzplatz | A more elaborated (german) version is available at: http://de.wiki-products.org/Treibstoffverbrauch_pro_Sitzplatz | ||
+ | <br><br><br><br><br><br><br> | ||
+ | |||
+ | === Creating graphic representations of numeric properties from articles === | ||
+ | [[Image:handy size.png|thumb|400px]] | ||
+ | |||
+ | You can use DPL for creating visual representations of numeric values from different articles. I used this for visualizing the sizes of cell-phones. You can sort the tables according to different parameters. | ||
+ | |||
+ | Have a closer look at: http://de.wiki-products.org/Dicke_von_Handys_im_Vergleich | ||
+ | |||
+ | <br><br><br><br><br><br><br><br><br><br><br><br> | ||
+ | |||
+ | === Creating a video submission system that is 100% user-contributed === | ||
+ | [[Image:emuwikivideos.jpg|thumb|400px]] | ||
+ | |||
+ | You can use DPL for creating a [http://www.emuwiki.com/index.php5?title=Emulation_Videos video], [http://www.emuwiki.com news], [http://emuwiki.com/index.php5?title=Emulation_Websites website list], [http://www.emuwiki.com/index.php5?title=Document_Archive document archive], [http://www.emuwiki.com/index.php5?title=Emulebrities biographies lists] that are completely user-contributed. For this you need to combine the use of DPL with Semantic Forms and embed videos extension. In the case of the videos, it's even possible to listen to the video playing from Youtube directly in the table created by DPL. Users can add elements to the list simply by filling a very simple form. | ||
[[Category:DPL Example]] | [[Category:DPL Example]] |
Latest revision as of 13:40, 31 July 2008
Contents
Using DPL: Examples for best practice
There are a lot of good ideas on how to use DPL, often in combination with other MediaWiki extensions.
If you have an example on your wiki which you want to share with us, please put a link below and give a short description what it is about.
Creating vertical bar charts with numeric properties from articles
You can use DPL for creating sortable bar charts. In this example I used two templates, which are placed in the two columns of the sortable DPL-table. The template for "fuel economy" (Template:Car dpl2) contains two (borderless) tables with one row in each. To determine the width of each table I made use of one of the numerical parameters from the articles. This way the table turns into a nice bar chart representing a specific value. (There are some more features included, e.g. calculating the CO2-Emissions automatically if there is no value given, thus the template looks a bit complicated.)
Have a closer look at: http://en.wiki-products.org/Fuel_economy
A more elaborated (german) version is available at: http://de.wiki-products.org/Treibstoffverbrauch_pro_Sitzplatz
Creating graphic representations of numeric properties from articles
You can use DPL for creating visual representations of numeric values from different articles. I used this for visualizing the sizes of cell-phones. You can sort the tables according to different parameters.
Have a closer look at: http://de.wiki-products.org/Dicke_von_Handys_im_Vergleich
Creating a video submission system that is 100% user-contributed
You can use DPL for creating a video, news, website list, document archive, biographies lists that are completely user-contributed. For this you need to combine the use of DPL with Semantic Forms and embed videos extension. In the case of the videos, it's even possible to listen to the video playing from Youtube directly in the table created by DPL. Users can add elements to the list simply by filling a very simple form.