Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
You are viewing an old version of this page. Return to the latest version.
This is the version of 20 April 2023, 15:29 by Redaktion
PreviousNext
  • Manual
  • Extension
    • Page Forms
      • Snippets
      Last edited one year ago
      by WikiSysop

      Snippets

      Revision as of 15:29, 20 April 2023 by Redaktion (talk | contribs)
      (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

      Contents

      • 1 Providing input values from a (sub-) category
        • 1.1 Using DPL query (dropdown)
        • 1.2 Using input type "tree"
        • 1.3 Using a SMW concept

      Providing input values from a (sub-) category

      Using DPL query (dropdown)

      (Solution found at: https://www.mediawiki.org/wiki/Extension_talk:DynamicPageList3#Return_page_titles_as_plain_text?

      {{{field
       | doctype
       | input type=dropdown
       | values = {{#dpl: namespace = Category
       | category = Dokumententyp
       | mode = inline
       | format = ,¶%TITLE%,,
       | inlinetext = ,
        }}
      }}}
      

      Form field:

      Example template output:

      doctype=Process

      Using input type "tree"

      (see official documentation: mediawiki.org/wiki/Extension:Page_Forms/Input_types#tree )

      {{{field|doctype|input type=tree|top category=Document type|depth=1|hideroot|list}}}
      

      Form field:

      Example template output:

      doctype=Process

      Using a SMW concept




      To submit feedback about this documentation, visit our community forum.

      Retrieved from "https://en.wiki5.bluespice.com/w/index.php?title=Manual:Extension/Page_Forms/Snippets&oldid=5937"
      No categories assignedEdit
      Page actions and tools navigaiton contains tabs, toolbox and actions
      Actions
      • Refresh
      • Copy URL
      • E-Mail
      • QR code
      Details
      • View history
      • Page information
      • Browse properties
      • ... all actions
      • Privacy policy
      • Terms of service
      • Disclaimer
      • Imprint
      • Accessibility
      • About
      • Edit preview settings
      • Powered by MediaWiki
      • Powered by BlueSpice
      • Powered by Semantic MediaWiki
      • Creative Commons License