A template for infoboxes that could be produced by [[wikidata]] is discussed. As a preliminary, I'd propose that a new SRF be established, ie {{#ask: ...|format=infobox |language=en}} which creates/formats the "plain vanilla" infobox that's been discussed. An Infobox SRF looks up language-specified labels if not provided on the #ask call. Under [[wikitopics]] the triples accessed could be
Property:Length#Self [[property:type]] [[Type:Property]]
Property:Length#Title [[property:type]] [[Type:iso-name]]
Property:Length#Title [[property:of]] [[Property:Length#Self]]
Property:Length#Title [[property:^en]] "english title"
Property:Length#Title [[property:^de]] "german title"
Property:Length#Abbrev [[property:type]] [[Type:iso-variant]]
Property:Length#Abbrev [[property:of]] [[Property:Length#Title]]
Property:Length#Abbrev [[property:^en]] "english variant"
Property:Length#Abbrev [[property:^de]] "german variant"
Property:Length#Informal [[property:type]] [[Type:iso-scope]]
Property:Length#Informal [[property:for]] [[Property:Length#Abbrev]]
Property:Length#Informal [[property:^en]] "english scope-name"
Property:Length#Informal [[property:^de]] "german scope-name"
An Infobox is composed of Tiers, any tier can have an image, link, text, transclusion, template, SRF or topic output; plus a caption & style information. Following is a template call that is the content of [[Infobox:Some topic]] on a wikidata host. This page can then be cached/transcluded.
{{Wikidata Infobox
|style = css
|class = class-name
|tier00 = content above the infobox, uses template:Tier.
|tier01 = {{Tier|type=text |caption=a caption |text=some text |style=css|capstyle=css}}
|tier02 = {{Tier|type=text |caption=a caption |page=pgnm |style=css|capstyle=css}}
|tier03 = {{Tier|type=text |caption=a caption |text={{template-name}} |style=css|capstyle=css}}
|tier04 = {{Tier|type=text |caption=a caption |text={{#ask:...}} |style=css|capstyle=css}}
|tier05 = {{Tier|type=link |caption=a caption |iri=some iri |text=link text |style=css|capstyle=css}}
|tier06 = {{Tier|type=link |caption=a caption |page=pgnm |text=link text |style=css|capstyle=css}}
|tier07 = {{Tier|type=image |caption=a caption |image=pagename |style=css|capstyle=css}}
|tier08 = {{Tier|type=topic |caption=a caption |topic=...tbd... |style=css|capstyle=css}}
|tier99 = content below the infobox, using template:Tier
}}
The template above doesnt (yet) address (topic) labels or values - see tier08.
Thanks - john