Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Category: Difference between revisions

Template page
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|}}}
  | description = {{{description|}}}
  | has_description = {{{has_description|}}}
  | display_format = {{{display_format|}}}
  | has_display_format = {{{has_display_format|}}}
  | display_header_property = {{{display_header_property|}}}
  | has_display_template = {{{has_display_template|}}}
  | optional_property = {{{optional_property|}}}
  | has_subobject_display_template = {{{has_subobject_display_template|}}}
  | optional_subobject = {{{optional_subobject|}}}
  | has_target_namespace = {{{has_target_namespace|}}}
  | parent_category = {{{parent_category|}}}
  | show_backlinks_for = {{{show_backlinks_for|}}}
| required_property = {{{required_property|}}}
| required_subobject = {{{required_subobject|}}}
| target_namespace = {{{target_namespace|}}}
}}
}}
 
{{Category/table-header
{{Category/display
| category=Category
  | display_label = {{{display_label|}}}
  | label=Category
| description = {{{description|}}}
}}
| display_format = {{{display_format|}}}
{{Category/property-row | label=Display name | value={{{display_label|}}}}}
| display_header_property = {{{display_header_property|}}}
{{Category/property-row | label=Description | value={{{has_description|}}}}}
| optional_property = {{{optional_property|}}}
{{Category/property-row | label=Display format | value={{{has_display_format|}}}}}
| optional_subobject = {{{optional_subobject|}}}
{{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|}}}|}} }}}}
| parent_category = {{{parent_category|}}}
{{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|}}}|}} }}}}
| required_property = {{{required_property|}}}
{{Category/property-row | label=Target namespace | value={{{has_target_namespace|}}}}}
| required_subobject = {{{required_subobject|}}}
{{Category/property-row | label=Show backlinks for | value={{Property/Page | value={{#arraymap:{{{show_backlinks_for|}}}|,|@@item@@|{{#ifeq:{{FULLPAGENAME:@@item@@}}|{{PAGENAME:@@item@@}}|Property:}}@@item@@|,&#32;}} }}}}
  | target_namespace = {{{target_namespace|}}}
{{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]]
=== Display section ===
| ?For category=for_category
 
  | ?Has subobject display template=has_subobject_display_template
{| class="wikitable ss-subobject-table"
  | ?Is required=is_required
|-
! Display Section Name
! Display Section Property
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Has subobject type::Subobject:Display section]]
  | ?Has display section name
  | ?Has display section property
  | format=template
  | format=template
  | template=Subobject/Display section/row
  | template=Subobject field/subobject-row
  | default=<tr><td colspan="2">No entries yet.</td></tr>
  | named args=yes
| link=none
| mainlabel=-
| intro=<h3>Subobject field</h3>
}}
}}
|}
[[Category:SemanticSchemas-managed]]
 
 
{{#semanticschemas_hierarchy:Category}}
</includeonly>
</includeonly>

Latest revision as of 07:24, 27 April 2026

Dispatcher template for Category:Category