Gabriel Wicke wrote:
>> I think it would look more like:
>> <div itemscope
>> itemtype='http://en.wikipedia.org/wiki/Template:Sometemplate'>
>> <h1 itemprop="name">John Doe</h1>
>> <p>Name: <span itemprop="name">John Doe</span></p>
>> <p>Age: <span itemprop="age">21</span></p>
>> </div>
> 
> Another possibility would be to use meta tags, or something like this
> example from the microdata spec:
> <data itemprop="product-id" value="9678AOU879">The Instigator 2000</data>
> 
>> And indeed it would look very cool to in-place edit the age, or name.
>> But remember that it should be changing both locations!
> 
> The template arguments are fortunately in the containing page, so we
> don't have to edit the template. But I am not sure if that is what you
> had in mind.

I was noting that the editing would be changing both lines.


> So far we have only considered editing of arguments actually stored in
> the including page, but not templates. Even arguments would initially
> only be inline-editable if they are expanded directly rather than passed
> on to other templates. For now, passed-on arguments would be stored (as
> wikitext or tokens) in meta elements, and would be editable only using a
> widget. It should be possible to improve on that later.

Yes, but a could be present in an editable form and an uneditable one.
If the parser can't show the change in the uneditable one, it shouldn't
allow its edition.

_______________________________________________
Wikitext-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitext-l

Reply via email to