Template:Category: Difference between revisions
Template page
More actions
SemanticSchemas: Auto-generated template |
SemanticSchemas: Auto-generated template |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
<!-- AUTO-GENERATED by SemanticSchemas - DO NOT EDIT MANUALLY --> | <!-- AUTO-GENERATED by SemanticSchemas - DO NOT EDIT MANUALLY --> | ||
Dispatcher template for Category:Category | Dispatcher template for Category:Category | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#default_form:Category}} | ||
{{#default_form:Category}} | |||
{{Category/semantic | {{Category/semantic | ||
| display_label = {{{display_label|}}} | | display_label = {{{display_label|}}} | ||
| | | has_description = {{{has_description|}}} | ||
| | | has_display_format = {{{has_display_format|}}} | ||
| | | has_display_template = {{{has_display_template|}}} | ||
| | | has_subobject_display_template = {{{has_subobject_display_template|}}} | ||
| | | has_target_namespace = {{{has_target_namespace|}}} | ||
| | | show_backlinks_for = {{{show_backlinks_for|}}} | ||
}} | }} | ||
{{Category/table-header | |||
{{Category/ | | category=Category | ||
| | | label=Category | ||
}} | |||
{{Category/property-row | label=Display name | value={{{display_label|}}}}} | |||
{{Category/property-row | label=Description | value={{{has_description|}}}}} | |||
{{Category/property-row | label=Display format | value={{{has_display_format|}}}}} | |||
{{Category/property-row | label=Category display template | value={{Property/Page | value={{#if:{{{has_display_template|}}}|{{#ifeq:{{FULLPAGENAME:{{{has_display_template|}}}}}|{{PAGENAME:{{{has_display_template|}}}}}|Template:}}{{{has_display_template|}}}|}} }}}} | |||
{{Category/property-row | label=Subobject display template | value={{Property/Page | value={{#if:{{{has_subobject_display_template|}}}|{{#ifeq:{{FULLPAGENAME:{{{has_subobject_display_template|}}}}}|{{PAGENAME:{{{has_subobject_display_template|}}}}}|Template:}}{{{has_subobject_display_template|}}}|}} }}}} | |||
{{Category/property-row | label=Target namespace | value={{{has_target_namespace|}}}}} | |||
{{Category/property-row | label=Show backlinks for | value={{Property/Page | value={{#arraymap:{{{show_backlinks_for|}}}|,|@@item@@|{{#ifeq:{{FULLPAGENAME:@@item@@}}|{{PAGENAME:@@item@@}}|Property:}}@@item@@|, }} }}}} | |||
| | {{Category/table-footer | ||
| category=Category | |||
| subobjects=no | |||
| backlinks=no | |||
}} | |||
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Property field]] | |||
| ?For property=for_property | |||
| ?Has render template=has_render_template | |||
| ?Is required=is_required | |||
| format=template | |||
| template=Property field/subobject-row | |||
| named args=yes | |||
| link=none | |||
| mainlabel=- | |||
| intro=<h3>Property field</h3> | |||
}} | }} | ||
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Subobject field]] | |||
| ?For category=for_category | |||
| ?Has subobject display template=has_subobject_display_template | |||
| ?Is required=is_required | |||
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[ | |||
| ?Has display | |||
| ? | |||
| format=template | | format=template | ||
| template=Subobject/ | | template=Subobject field/subobject-row | ||
| | | named args=yes | ||
| link=none | |||
| mainlabel=- | |||
| intro=<h3>Subobject field</h3> | |||
}} | }} | ||
[[Category:SemanticSchemas-managed]] | |||
</includeonly> | </includeonly> | ||
Latest revision as of 07:24, 27 April 2026
Dispatcher template for Category:Category