Jump to content

Talk:VisualEditor/Portal/TemplateData

Add topic
From mediawiki.org
Latest comment: 10 years ago by Usp in topic Appearance of page

The pages about TemplateData were merged and translated in Italian and are available at it:Wikipedia:VisualEditor/TemplateData. --Elitre (WMF) (talk) 11:33, 10 July 2013 (UTC)Reply

Yay! Thanks, Erica :D. Okeyes (WMF) (talk) 13:01, 10 July 2013 (UTC)Reply

Delay?

[edit]

After adding TemplateData to the templates /documentation page, is there a delay before it is used by VisualEditor? (Experiencing this with en:template:RailGauge). -DePiep (talk) 20:59, 14 July 2013 (UTC)Reply

@DePiep: Yes; the addition goes into the JobQueue system, which right now is over a week long on the English Wikipedia. :-( If you do a null edit on the template it will pull through immediately, however. Sorry for the inconvenience. Jdforrester (WMF) (talk) 22:44, 14 July 2013 (UTC)Reply
Note: A null edit is one where no changes are made. Just click edit, and click save. This means it won't be a problem if you do it to a highly used template. (See w:WP:NULL for details). Not to be confused with a "dummy edit" (eg adding a random space) which editors sometimes use to add an edit-summary message related to their prior edit. :) Quiddity (talk) 02:47, 15 July 2013 (UTC)Reply

TemplateData and Commons TemplateBox

[edit]

Commons has a standard documentation format, commons:Template:TemplateBox. I'd like to ask whether it is possible that TemplateData be integrated into the templateBox. Maybe the syntax would go as:

<templatedata>
{
        "description": "{{{desc}}}",
        "params": {
                "{{{1}}}": {
                        "label": "{{{1}}}",
                        "description": "{{{1d}}}",
                        "type": "string",
                        "required": {{#switch:{{{1stat}}}|required=true|optional|optional-|deprecated=false}}
                }
        }
}
</templatedata>

Kwj2772 (talk) 16:54, 15 July 2013 (UTC)Reply

List of used templates

[edit]

Hi! I need (for plwiki) a list of templates used in specific space, for example in main. The "Special:MostLinkedTemplates" gives a list for all spaces. Enwiki has lists separated by space - how obtain such result? Cheers, Ency (talk) 21:05, 16 July 2013 (UTC)Reply

Appearance of page

[edit]

Any reason for the weird layout and subtitle boxes? Because current one is quite non-standard. Also image explanations as caption might be better. --Usp (talk) 08:14, 10 February 2014 (UTC)Reply

It's consistent with Help:VisualEditor/User guide; maybe it should be in the Help: namespace? Jdforrester (WMF) (talk) 19:58, 11 February 2014 (UTC)Reply
There is already Help:TemplateData. Seems they duplicate each other. I guess Help:TemplateData is the more persistant place when this is more like temporary project page. --Usp (talk) 05:22, 10 March 2014 (UTC)Reply