FlightGear wiki:Village pump: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 42: Line 42:


—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 11:41, 10 February 2021 (UTC)
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 11:41, 10 February 2021 (UTC)
: Hi Johan,
: I'm not sure if you know this, but you can now add templates through the VisualEditor. If you press "Insert > Template" from the toolbar, you get a nice popup to help you fill in the template and it can also pre-fill stuff for you (e.g., the date in [[:Template:Delete]]). The templatedata stuff on the template page is used to expand this popup form and drive the auto-fill, so most templates will not yet leverage it to the fullest. You can add/edit templatedata by clicking the "Manage TemplateData" button at the top of the edit page of templates. See the documentation at {{mediawiki|Help:TemplateData}} (that page is unfortunately quite messy, I know) and {{mediawiki|Extension:TemplateData}}.
: I feel like we should encourage people as much as possible to use the VisualEditor, as it can help prevent mistakes or incomplete templates. Would this remove the need to have copy & pastable templates? Maybe we'll just have to try and see. There's lots of new stuff to discover and tweak :-)
: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 10:20, 11 February 2021 (UTC)


== Removing the "Goal" heading from template documentation ==
== Removing the "Goal" heading from template documentation ==
Line 49: Line 54:


—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 11:48, 10 February 2021 (UTC)
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 11:48, 10 February 2021 (UTC)
: Agree!
: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 10:20, 11 February 2021 (UTC)

Navigation menu