Data:TemplateData/TemplateData.tab
Global template documentation for a [[Template:TemplateData]] as linked in [[wikidata:Q14538592]], wrappping the [[Module:TemplateData]] in [[wikidata:Q46997995]]
| name | label | description | type | required | suggested | default | example |
|---|---|---|---|---|---|---|---|
| string | localized | localized | string | boolean | boolean | localized | localized |
| name | label | description | type | required | suggested | default | example |
| | | Format and render '''TemplateData''' with markup and links on documentation pages and generate suitable plain text elements to be used on external applications.(4) | block | ☐ | ☐ | |||
| JSON | JSON code(3) | The code that would normally be wrapped in <templatedata> tags (best not including the <templatedata> tags themselves). Links and basic text formatting should just work in the displayed table. See this template’s page for full details.(4) | string | ☐ | ☑ | Try to retrieve from adjacent page(2) | { "description": "Purpose of this template", "params": { "1": { "description": "First parameter", "type": "line" } } }(2) |
| Global | global repository(2) | Identifier to retrieve a global TemplateData definition(2) | line | ☐ | ☐ | Soft redirect(1) | |
| Local | override globals(2) | [[#templatedata:Global|Global]] specification shall be predominated by components of a similar JSON object(2) | string | ☐ | ☐ | { "description": "Alternative template purpose explanation" }(2) | |
| TOC | Inhalts­verzeichnis(1) | Insert table of contents after general purpose description, especially before parameter list(2) | boolean | ☐ | ☑ | (1) | 1(1) |
| TOCsibling | block near TOC(2) | Insert block juxtaposed to TOC(2) | content | ☐ | ☐ | <div>...</div>(1) | |
| vertical | height limitation(2) | Limit height of parameter table and encourage vertical scroll bar. Targeting to a lot of repeated inherited sibling parameters.(2) | line | ☐ | ☐ | 50em(1) | |
| lang | language code(2) | Force particular language version and ensure cached variant(2) | line | ☐ | ☐ | project language code(2) | it(2) |
| source | Display JSON(2) | Display transcluded JSON code (not <code>[[#templatedata:Global|Global]]</code>) for demonstration, development and debugging after resolving templates(2) | boolean | ☐ | ☐ | (1) | 1(1) |
| debug | show hidden information for demonstration, development and debugging(2) | boolean | ☐ | ☐ | (1) | 1(1) | |
| lazy | prevents any real TemplateData being produced, for demonstration, development and documentation purposes(2) | boolean | ☐ | ☐ | (1) | 1(1) | |
| sort | sort key(3) | deviating sort key, if automatic categorization is desired within conventional template programming(4) | line | ☐ | ☐ | Titel pśedłogi(2) | Not in the usual place(1) |
Templates linked from d:Q14538592
Data available under Creative Commons Zero.