Template:Prototype TOC/section: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#ask: [[Prototype property pagename::{{{1}}}]] [[Prototype property optional::{{{optional|+}}}]] |?Prototype property name |?Prototype property type |?Prototype propert...") |
(Added doc) |
||
Line 1: | Line 1: | ||
{{#ask: | <includeonly>{{#ask: | ||
[[Prototype property pagename::{{{1}}}]] | [[Prototype property pagename::{{{1}}}]] | ||
[[Prototype property optional::{{{optional|+}}}]] | [[Prototype property optional::{{{optional|+}}}]] | ||
Line 10: | Line 10: | ||
|link=none | |link=none | ||
|intro= {{#if: {{{section-title|}}} | <tr><td colspan="3" class="prototype-toc-section-title">Inherited from [[{{{1}}}]]</td></tr> | }} | |intro= {{#if: {{{section-title|}}} | <tr><td colspan="3" class="prototype-toc-section-title">Inherited from [[{{{1}}}]]</td></tr> | }} | ||
}} | }}</includeonly><noinclude>{{doc}}</noinclude> |
Revision as of 14:16, 26 July 2019
[View] [Edit] [Page history]
DocumentationUsed by Template:Prototype TOC to display one section of the prototype table of contents.
Parameters:
- First parameter: Name of the prototype page
- Named parameter "optional": true or false or not set. When true/false shows only optional/mandatory properties. If not set it shows all properties.
- Named parameter "section-title": If set to true (or at all), show a "Inherited from [[{{{1}}}]]" title above the section.
Source code:
{{#ask: [[Prototype property pagename::{{{1}}}]] [[Prototype property optional::{{{optional|+}}}]] |?Prototype property name |?Prototype property type |?Prototype property optional |format=plainlist |template=Prototype TOC/item |sort=Prototype property optional,Prototype property name |link=none |intro= {{#if: {{{section-title|}}} | <tr><td colspan="3" class="prototype-toc-section-title">Inherited from [[{{{1}}}]]</td></tr> | }} }}List of all templates