|
|
| Line 4: |
Line 4: |
| </noinclude><includeonly>{{#default_form:Doohickey}} | | </noinclude><includeonly>{{#default_form:Doohickey}} |
| {{Doohickey/semantic | | {{Doohickey/semantic |
| | 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/table-header |
| Line 16: |
Line 9: |
| | label=Doohickey | | | label=Doohickey |
| }} | | }} |
| {{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/table-footer |
| | category=Doohickey | | | category=Doohickey |
| | subobjects=no | | | subobjects=no |
| | backlinks=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
| |
| | format=template
| |
| | template=Subobject field/subobject-row
| |
| | named args=yes
| |
| | link=none
| |
| | mainlabel=-
| |
| | intro=<h3>Subobject field</h3>
| |
| }} | | }} |
| [[Category:Doohickey]] | | [[Category:Doohickey]] |
| [[Category:SemanticSchemas-managed]] | | [[Category:SemanticSchemas-managed]] |
| </includeonly> | | </includeonly> |
Dispatcher template for Category:Doohickey