Page MenuHomePhabricator

Allow wikitext e.g. links to documentation in templatedata
Closed, DuplicatePublic

Description

When trying to describe complex template parameters there is a need to be able to link to a specific documentation page. For instance in in the Taxobox there is a need to link to the main doc page
http://en.wikipedia.org/wiki/Template:Taxobox/doc
as there are lots of subtitles in using the template.

Further there is also a need for links in some of the individual parameter.
For the "name" parameter the description currently reads

For plants, see [[Wikipedia:Naming conventions (flora)]]. For all other living things, the name should be the most common vernacular name, when one is in widespread use, and a scientific name otherwise.

as the precise policy on whether plants should be given common or latin names is quite involved. There other places where there is a need to provide links to further information: [[Wikipedia:Conservation status]], [[APG III system]] of classification of flowering plants, [[virus classification]], [[Template:Species list]] and [[Template:Taxon list]] for some sub templates used.

Good documentation requires sufficient detail, more than can be provided in one line.

I've a few thoughts on how this could be implements, the whole template could have a "documentation": "Template:Taxobox/doc". You could allow wikilinks inside the "description" or provide an optional "link" parameter.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=49772

Details

Reference
bz51311

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:53 AM
bzimport added a project: TemplateData.
bzimport set Reference to bz51311.
bzimport added a subscriber: Unknown Object (MLST).

At [https://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/Feedback&oldid=564196505#Quotes_in_template_data] there is a related request to allow wikitext generally in Template Data documentation.

The specific request for the example given there is the <code> tag to all better distinguishing of '' (two apostrophes for italic markup) and " (double quote) by rendering them in a monospace font.

  • Bug 50656 has been marked as a duplicate of this bug. ***
  • This bug has been marked as a duplicate of bug 50656 ***