On 12-02-02 12:16 PM, Gabriel Wicke wrote:
On 02/02/2012 08:36 PM, Daniel Friesen wrote:
I'm tempted to say that rather than the
template being the itemtype we
should have a proper itemtype.
<div itemscope itemtype='
http://www.mediawiki.org/microdata/wikitext/Transclusion">
<meta itemprop="PageTitle" content="Template:Sometemplate">
[...]
</div>
Hmm- from the data modeling aspect, the template really determines
the
vocabulary used in the content. It would be hard to specify a common
schema for
http://www.mediawiki.org/microdata/wikitext/Transclusion,
unless the vocabulary is reduced to a purely syntactical level.
Gabriel
Got a more verbose example of what could go wrong with an example so I
can follow up with an example of how it could be done?
Or more to the point. Got something I could look over on how you
intended to model this in a way that wasn't based on syntax, so I can
make a better example in context?
itemtype is really a meant for a real type, I'd really hate to see
Microdata abused to the point where we abuse itemtype as a reference url
and pretend that half of everything using itemtype comes from wiki
syntax rather than a user entering microdata into WikiText.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]