Page MenuHomePhabricator

Closing template or End-of-template tag with {{TL}} ... {{/TL}}
Closed, DeclinedPublic

Description

Author: Bernhard.Fastenrath

Description:
Closing template or End-of-template tag with {{TL}} ... {{/TL}}

A section could be enclosed with {{special_section}} ... {{/special_section}}.
Both parts could be contained in one template page, the second part would follow
an == End == section header.


Version: unspecified
Severity: enhancement

Details

Reference
bz9109

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:39 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz9109.
bzimport added a subscriber: Unknown Object (MLST).

Bernhard.Fastenrath wrote:

Example:

First Section

...
{{anecdote|bg=beige}}

Second Section

...
{{/anecdote}} <!-- this could be just a </div> tag in this case but the syntax
would be cleaner -->

{{exercise|bg=light grey}}

Third Section

...
{{/exercise}}

Well the obvious problem with the proposal is that {{/name}} conflicts with
subpage templates.

Bernhard.Fastenrath wrote:

How about {{TL}} .. {{\TL}} ?

robchur wrote:

Doesn't seem to have a purpose...?