Templates overview page

Revision as of 10:37, 13 May 2022 by Margit Link-Rodrigue (talk | contribs) (Created page with "To get a better overview of all templates in the wiki, you can catalog the templates using semantic attributes. ==Steps== #'''Activate''' the feature ''Semantic MediaWiki''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To get a better overview of all templates in the wiki, you can catalog the templates using semantic attributes.

Steps

  1. Activate the feature Semantic MediaWiki for the namespace "Template" in the namespace manager. alternativtext=Namensraumverwaltung|zentriert|mini|450x450px|Namensraumverwaltung
  2. Create the page Property:Is_templateType. Add the following content and save the page:
    This is a property of type [[Has type::Text]].
    
  3. Add the attribute with a value in source editing mode to your templates, wrapped in a <noinclude></noinclude> tag . The <noinclude>...</noinclude> tag is required so that pages that include this template, are not catalogued as well:
    <noinclude>[[is_templateType::General]]</noinclude>
    
    alternativtext=Katalogisierungs-Attribut in einer Vorlage einfügen|zentriert|mini|750x750px|Katalogisierungs-Attribut in einer Vorlage einfügen
  4. Erstellen Sie eine Übersicht, um die katalogisierten Vorlagen anzuzeigen. Fügen Sie hierzu auf irgendeiner Wikiseite folgende Abfrage im Quelltext ein:
    {{#ask: [[is_templateType::+]]
    |?ist_Templatetype=Template type
    |mainlabel=Template
    |format=table
    |class=datatable
    }}
    
    alternativtext=Tabellarische Ausgabe der Vorlagen|zentriert|mini|750x750px|Tabellarische Ausgabe der Vorlagen




To submit feedback about this documentation, visit our community forum.