Saltar al contenido principal

User Editability after inserting Templates

Respondida

Comentarios

2 comentarios

  • Comentario oficial
    Héctor Donís López

    Templates in MediaWiki are designed primarily as reusable content: their structure is maintained centrally on the template page, while individual articles can provide different values through the parameters supported by that template. This makes it possible to update and maintain the structure consistently across all of the pages where a template is used.

    Allowing individual articles to make their own structural additions to a transcluded template would work somewhat differently from that model and could make templates considerably more difficult to maintain, as different instances of the same template could develop their own structures.

    For infoboxes, one option is to design the template with additional optional parameters. Those fields can then be used only on the articles that need them without appearing on articles where they aren't applicable.

    If what you're looking for instead is a reusable starting structure that becomes independently editable after being inserted into a page, the preload solution mentioned above is much closer to that use case, as it allows the starting content to be inserted without requiring it to remain a regular template transclusion.

  • Trainerkn2009

    Regardless of whether or not FANDOM supports this feature request, you might be able to benefit from the PreloadTemplates plugin if you speak to your wiki administrators about importing it to Special:ImportJS.

    Preload templates allow for you to create pages that can be loaded into a page in source editing mode. If you put your template source code into a preload page, the plugin will allow you to paste the code (as opposed to just the template purple text) into the page raw, allowing for additional fields to be added without any edits to the original template itself.

    PreloadTemplates | Fandom Developers Wiki | Fandom

    0

Iniciar sesión para dejar un comentario.