Difference between revisions of "Template:SimpleGraphModuleMarkup"

From BITPlan Wiki
Jump to navigation Jump to search
(Created page with "</noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable" {{!}}- ! Icon ! Name | System wrapped | API exposed {{!}}- |outro={{!}}} |row={{!}}...")
 
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
</noinclude><includeonly>{{#switch:{{{userparam|}}}|intro={{{!}} class="wikitable sortable"
+
<noinclude>
 +
__TOC__
 +
This template is used in six modes:
 +
# intro
 +
# outro
 +
# row
 +
# mintro
 +
# moutro
 +
# mrow
 +
 
 +
the mode is given as the userparam parameter for this template
 +
 
 +
See {{Link|target=Concept:SimpleGraphModule}}
 +
== Usage ==
 +
<pre>
 +
{{SimpleGraphModuleMarkup|#userparam=intro}}
 +
{{#ask: [[Concept:SimpleGraphModule]]
 +
| mainlabel=SimpleGraphModule
 +
| ?SimpleGraphModule name = name
 +
| ?SimpleGraphModule modulename = modulename
 +
| ?SimpleGraphModule systemname = systemname
 +
| ?SimpleGraphModule logo = logo
 +
| ?SimpleGraphModule apiname = apiname
 +
| ?SimpleGraphModule apiurl = apiurl
 +
| ?SimpleGraphModule url = url
 +
| ?SimpleGraphModule documentation = documentation
 +
|sort=SimpleGraphModule name
 +
|format=template
 +
|link=none
 +
|userparam=row
 +
|named args=yes
 +
|template=SimpleGraphModuleMarkup
 +
}}
 +
{{SimpleGraphModuleMarkup|#userparam=outro}}
 +
</pre>
 +
 
 +
== Example ==
 +
=== Wiki Markup ===
 +
{{SimpleGraphModuleMarkup|#userparam=intro}}
 +
{{#ask: [[Concept:SimpleGraphModule]]
 +
|mainlabel=SimpleGraphModule
 +
|?SimpleGraphModule name = name
 +
|?SimpleGraphModule modulename = modulename
 +
|?SimpleGraphModule systemname = systemname
 +
|?SimpleGraphModule logo = logo
 +
|?SimpleGraphModule apiname = apiname
 +
|?SimpleGraphModule apiurl = apiurl
 +
|?SimpleGraphModule url = url
 +
|?SimpleGraphModule documentation = documentation
 +
|sort=SimpleGraphModule name
 +
|format=template
 +
|link=none
 +
|userparam=row
 +
|named args=yes
 +
|template=SimpleGraphModuleMarkup
 +
|limit=3
 +
}}
 +
{{SimpleGraphModuleMarkup|#userparam=outro}}
 +
 
 +
=== Github Markup ===
 +
{{SimpleGraphModuleMarkup|#userparam=mintro}}
 +
{{#ask: [[Concept:SimpleGraphModule]]
 +
|mainlabel=SimpleGraphModule
 +
|?SimpleGraphModule name = name
 +
|?SimpleGraphModule modulename = modulename
 +
|?SimpleGraphModule systemname = systemname
 +
|?SimpleGraphModule logo = logo
 +
|?SimpleGraphModule apiname = apiname
 +
|?SimpleGraphModule apiurl = apiurl
 +
|?SimpleGraphModule url = url
 +
|?SimpleGraphModule documentation = documentation
 +
|sort=SimpleGraphModule name
 +
|format=template
 +
|link=none
 +
|userparam=mrow
 +
|named args=yes
 +
|template=SimpleGraphModuleMarkup
 +
|limit=3
 +
}}
 +
{{SimpleGraphModuleMarkup|#userparam=moutro}}
 +
= Test =
 +
{{#ask: [[Concept:SimpleGraphModule]]
 +
| mainlabel=SimpleGraphModule
 +
| ?SimpleGraphModule name = name
 +
| ?SimpleGraphModule modulename = modulename
 +
| ?SimpleGraphModule systemname = systemname
 +
| ?SimpleGraphModule logo = logo
 +
| ?SimpleGraphModule apiname = apiname
 +
| ?SimpleGraphModule apiurl = apiurl
 +
| ?SimpleGraphModule url = url
 +
| ?SimpleGraphModule documentation = documentation
 +
| sort=SimpleGraphModule name
 +
}}
 +
</noinclude><includeonly>{{#switch:{{{#userparam|}}}|intro={{{!}} class="wikitable sortable"
 
{{!}}-
 
{{!}}-
! Icon
+
! Module
! Name
+
! System wrapped
| System wrapped
+
! API exposed
| API exposed
+
! Description
 
{{!}}-
 
{{!}}-
 
|outro={{!}}}
 
|outro={{!}}}
 
|row={{!}}-
 
|row={{!}}-
{{!}}style="text-align: center; width: 150px" {{!}} [[{{{?logo|}}}|center|150px]]
+
{{!}}style="text-align: center; width: 120px" {{!}} [[{{{logo|}}}|link={{{SimpleGraphModule|}}}|100px]]  [[{{{SimpleGraphModule|}}}|{{{name|}}}]]
{{!}}style="text-align: left" {{!}} [[{{{?name|}}}]]  
+
{{!}}style="text-align: left" {{!}} [{{{url|}}} {{{name|}}}]  
{{!}}style="text-align: left" {{!}} [[{{{?url|}}}]]
+
{{!}}style="text-align: left" {{!}} [{{{apiurl|}}} {{{apiname|}}}]  
 +
{{!}}style="text-align: left" {{!}} {{{documentation|}}}
 
{{!}}-
 
{{!}}-
 +
|mintro=
 +
<div style="font-family: monospace">
 +
<nowiki>| Module                                                                | System wrapped  | API exposed |</nowiki><br>
 +
<nowiki>|---------------------------------------------------------------------- | ---------------- | ----------- |</nowiki><br>
 +
|mrow=
 +
<nowiki>|</nowiki><nowiki>![</nowiki>{{{name|}}}<nowiki>]</nowiki>([[{{{logo|}}}|100px]])<nowiki>[</nowiki>{{{name|}}}<nowiki>]</nowiki>(<nowiki>http://www.bitplan.com/index.php/SimpleGraph-</nowiki>{{{name|}}})
 +
<nowiki>|</nowiki><nowiki>[</nowiki>{{{name|}}}<nowiki>]</nowiki>({{{url|}}})
 +
<nowiki>|</nowiki><nowiki>[</nowiki>{{{apiname|}}}<nowiki>]</nowiki>({{{apiurl|}}})
 +
<br>
 +
|moutro=
 +
</div>
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 11:59, 7 March 2021

This template is used in six modes:

  1. intro
  2. outro
  3. row
  4. mintro
  5. moutro
  6. mrow

the mode is given as the userparam parameter for this template

See Concept:SimpleGraphModule

Usage

{{SimpleGraphModuleMarkup|#userparam=intro}}
{{#ask: [[Concept:SimpleGraphModule]]
| mainlabel=SimpleGraphModule
| ?SimpleGraphModule name = name
| ?SimpleGraphModule modulename = modulename
| ?SimpleGraphModule systemname = systemname
| ?SimpleGraphModule logo = logo
| ?SimpleGraphModule apiname = apiname
| ?SimpleGraphModule apiurl = apiurl
| ?SimpleGraphModule url = url
| ?SimpleGraphModule documentation = documentation
|sort=SimpleGraphModule name
|format=template
|link=none
|userparam=row
|named args=yes
|template=SimpleGraphModuleMarkup
}}
{{SimpleGraphModuleMarkup|#userparam=outro}}

Example

Wiki Markup

Module System wrapped API exposed Description
Circle-icons-calendar.svg CalDAV CalDAV ical4j library for parsing and building iCalendar data models makes Calendar data available via ical4j
Farm-Fresh vcard.png CardDAV CardDAV [ ] makes VCard data available
Microsoft Excel 2013-2019 logo.svg Excel Excel Apache POI XSSF/HSSF makes Microsoft Excel workbooks accessible via the Apache POI API

Github Markup

| Module | System wrapped | API exposed |
|---------------------------------------------------------------------- | ---------------- | ----------- |
|![CalDAV](Circle-icons-calendar.svg)[CalDAV](http://www.bitplan.com/index.php/SimpleGraph-CalDAV) |[CalDAV](https://en.wikipedia.org/wiki/CalDAV) |[ical4j library for parsing and building iCalendar data models](https://github.com/ical4j/ical4j)
|![CardDAV](Farm-Fresh vcard.png)[CardDAV](http://www.bitplan.com/index.php/SimpleGraph-CardDAV) |[CardDAV](https://en.wikipedia.org/wiki/CardDAV) |[]()
|![Excel](Microsoft Excel 2013-2019 logo.svg)[Excel](http://www.bitplan.com/index.php/SimpleGraph-Excel) |[Excel](https://en.wikipedia.org/wiki/Microsoft_Excel) |[Apache POI XSSF/HSSF](https://poi.apache.org/components/spreadsheet/quick-guide.html)
... further results

Test

SimpleGraphModulenamemodulenamesystemnameapinameapiurlurldocumentation
SimpleGraph-CalDAVCalDAVcaldavCaldavSystemical4j library for parsing and building iCalendar data modelshttps://github.com/ical4j/ical4jhttps://en.wikipedia.org/wiki/CalDAVmakes Calendar data available via ical4j
SimpleGraph-CardDAVCardDAVcarddavCarddavSystemhttps://en.wikipedia.org/wiki/CardDAVmakes VCard data available
SimpleGraph-ExcelExcelexcelExcelSystemApache POI XSSF/HSSFhttps://poi.apache.org/components/spreadsheet/quick-guide.htmlhttps://en.wikipedia.org/wiki/Microsoft Excelmakes Microsoft Excel workbooks accessible via the Apache POI API
SimpleGraph-FileSystemFileSystemfilesystemFileSystemjava.io.Filehttps://docs.oracle.com/javase/8/docs/api/java/io/File.htmlhttps://en.wikipedia.org/wiki/File systemmakes your FileSystem accessible via the Java FileSystem API
SimpleGraph-GeoJSONGeoJSONgeojsonGeoJsonSystemGeoJSON support for Google gson libraryhttps://github.com/filosganga/geogsonhttps://en.wikipedia.org/wiki/GeoJSONmakes GeoJSON data available
SimpleGraph-githubGitHubgithubGitHubSystemGitHub GraphQL Api v4https://developer.github.com/v4/https://github.commakes GitHub content accessible to Graph processing.
SimpleGraph-HTMLHTMLhtmlHtmlSystemHTML Cleanerhttp://htmlcleaner.sourceforge.net/https://en.wikipedia.org/wiki/HTMLmakes HTML files accessible via HTML Cleaner parser
SimpleGraph-JSONJSONjsonJsonSystemJSONhttps://www.json.org/https://en.wikipedia.org/wiki/JavaScript Object Notationmakes JSON parse results accessible to Graph processing.
SimpleGraph-JavaJavajavaJavaSystemjavaparserhttps://github.com/javaparser/javaparserhttps://en.wikipedia.org/wiki/Java (programming language)makes Java code parse results accessible to Graph processing.
SimpleGraph-MailMailmailMailSystemE-Mail access for rfc822 and MIME formatted Mailbox files (e.g. Thunderbird)https://james.apache.org/mime4j/https://en.wikipedia.org/wiki/MIMEmakes Mail data available via Apache Mime4J
SimpleGraph-MapSystemMapSystemmapMapSystemjava.api.Maphttps://docs.oracle.com/javase/8/docs/api/java/util/Map.htmlhttps://en.wikipedia.org/wiki/Hash tablesupplies a simple wrapper for a graph with nodes that have key/value pairs in form of HashMaps. We would not really need this since Apache Tinkerpop/Gremlin already supplies us with properties per node/vertex. Still this system is useful as a helper system and to illustrate the wrapping concepts and possibilities of SimpleGraph
SimpleGraph-MediaWikiMediaWikimediawikiMediaWikiSystemMediaWiki APIhttps://www.mediawiki.org/wiki/API:Main pagehttps://www.mediawiki.org/wiki/API:Main page MediaWikimakes MediaWiki site content accessible to Graph processing. It exposes the MediaWiki API using the mediawiki-japi Library by BITPlan.
SimpleGraph-PDFPDFpdfPdfSystemApache PDFBoxhttps://pdfbox.apache.org/https://de.wikipedia.org/wiki/Portable Document Formatmakes Portable Document Format (PDF) files accessible via the Apache PDFBox® API
SimpleGraph-PowerPointPowerPointpowerpointPowerPointSystemApache POI XSLF/HSLFhttps://poi.apache.org/slideshow/xslf-cookbook.htmlhttps://en.wikipedia.org/wiki/Microsoft PowerPointmakes Microsoft PowerPoint presentations accessible via the Apache POI API
SimpleGraph-SMWSMWsmwSmwSystemSemanticMedia Wiki APIhttps://www.semantic-mediawiki.org/wiki/Help:APIhttps://en.wikipedia.org/wiki/SMWmakes Semantic MediaWiki accessible via the SMW API
SimpleGraph-SNMPSNMPsnmpSNMPSystemSNMP4J Simple Network Monitoring Protocol SNMP Java APIhttp://www.snmp4j.org/https://en.wikipedia.org/wiki/Simple Network Management Protocolmakes Simple Network Monitoring Protocol accessible via SNMP4J
SimpleGraph-SQLSQLsqlSQLSystemJava Database Connectivity (JDBC) APIhttps://docs.oracle.com/javase/8/docs/api/java/sql/package-summary.htmlhttps://en.wikipedia.org/wiki/SQLmakes relational SQL databases accessible via the Java JDBC API.
SimpleGraph-TripleStoreTripleStoretriplestoreTripleStoreSystemSiDIF-TripleStorehttps://github.com/BITPlan/org.sidif.triplestorehttps://en.wikipedia.org/wiki/Triplestoremakes BITPlan's SiDIF educational TripleStore accessible
SimpleGraph-WikiDataWikiDatawikidataWikiDataSystemWikiData Toolkithttps://github.com/Wikidata/Wikidata-Toolkithttps://en.wikipedia.org/wiki/Wikidatamakes WikiData data available via the Wikidata-Toolki API
SimpleGraph-WordWordwordWordSystemApache POI XWPF/HWPFhttps://poi.apache.org/document/quick-guide-xwpf.htmlhttps://en.wikipedia.org/wiki/Wordmakes Microsoft Word Documents accessible via the Apache POI API
SimpleGraph-XMLXMLxmlXmlSystemorg.w3c.domhttps://docs.oracle.com/javase/7/docs/api/org/w3c/dom/package-summary.htmlhttps://en.wikipedia.org/wiki/XMLmakes XML dom parse results accessible to Graph processing.